Changes

Jump to navigation Jump to search

Documentation/Engine/Units

No change in size, 17:34, 14 January 2016
no edit summary
Units has:
* Name - units can be nameless or have some specified name names are divided into components which are 12-char tokens separated by dot - for example correct unit name will be <code>vehicle.dummy.truck however</code> however in most cases you should not use them as in case engine detects two units with the same name it will fail so in case some mod is using name <code>vehicle.dummy.truck</code> and you will also use this your mod will fail to load. To create nameless unit simply use dot as the prefix for your unit name for example <code>.my_mod.nameless.units</code>
* Attributes - attributes is a set of the data unit can store, it can be number, text, other unit connection, set of them etc. Some units are failing in case they contain serialized some attribute that is no longer supported however some of them have special flag in the engine to allow loading not allowed attributes.
developer
1,626
edits

Navigation menu