Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.35

1,029 bytes added, 12:18, 13 May 2019
Traffic changes
For details see [[Documentation/Engine/Mover_model_group|Mover documentation]].
== AI Traffic changes ==
TBA=== Traffic trailer chains === Supported trailers are now defined at one place: ''per-vehicle by defining the whole trailer chain'' (previously it was combination of per vehicle/trailer type + per vehicle/trailer)Note that the support for wildcards was removed to avoid (now unneeded) complexity.Partial backward compatibility is provided (more complex trailer configurations may not be created correctly using old attributes) Each trailer chain element can be specified either by trailer type name (a random trailer model of that type will be spawned)or directly by traffic trailer unit name. Optionally, for each element, the minimum and maximum count of occurrence can be specified. Elements and counts are separated by '|'. Examples: '''trailer_chain[]: semi_trailer''' - the vehicle will have one trailer of type '''semi_trailer''' '''trailer_chain[]: traffic_trailer.first | traffic_trailer.middle 2-4 | traffic_trailer.last''' - trailer chain with specific elements, 'traffic_trailer.middle' can occur 2-4 times.
== Dynamic lods ==

Navigation menu