Hello, I'm very new to Unity 5 and mod making in general.
Anyone that familiar with the game and its config files,
The new mini bike uses an item with a feature to spawn an entity.
Now this links with the entity classes config's
Now, changing "spawnminibike" to any other entity creates a Null reference and CTD.
However, I can change all of the properties for a minibike to match other entities, which allows me to spawn a new entity that the game believes is a minibike.
There is a "cannot cast from source type to destination type" error when the new entity is placed but the game functions normally. The new entity has no AI unless you place the minibike without the edited code, complete the vehicle, exit the game and then change the code.
Anyone know where to go with this?
↧