Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.28

29 bytes added, 14:07, 28 July 2017
Cargo Trailer Data
* '''country''' - array of country tokens representing where cargo with this trailer can be spawned (if empty there is no restrictions),
* '''volume_factor''' - price factor for cargo volume of given trailer or trailer chain,
* '''length''' - integer in range [0, 255] specifying length of trailer or trailer chain. It's used in combination with [[#Prefab Data|'''allowed_trailer_length''']] from prefab model definition to prevent this trailer to be spawned and delivered to prefabs where it would be to long. If length is set to zero then no restrictions will be applied.
=== Chassis Data ===
Accessory chassis data unit (for trailers found in '''"/def/vehicle/trailer/<trailer_name>/<chassis_trailer>.sii"''') got new attributes:
* '''weight_distribution''' - enumeration defining connection type and weight distribution for the chassis of the trailer. Possible values are: '''truck''', '''semitrailer''', '''trailer''', '''spreader'''.

Navigation menu