Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.36

763 bytes added, 08:51, 13 November 2019
License plate generation templates format improvement
=== License plate generation templates format improvement ===
LP changes for AI (data-driven types, background texture data)
More data driven license plate system for AI vehicles. From unit '''traffic_vehicle''' the attributes '''lp_variant_front''' and '''lp_variant_rear''' has been removed. Units '''license_plate_data''' has new attributes: '''background_front''', background_rear'''. Both are strings (TODOup to 32 characters). Default values are "front" and "rear" respective.Proper usage for variants of texture background is now per vehicle class. If no class is defined "car" class is used as default. If no texture names are defined "front" and "rear" are used as default.All other vehicle classes has to be defined explicitly. Due to interaction with player owned vehicles truck texture should be named "truck_front", "truck_rear" or "trailer_rear" respectively. Failing to use these names will end with improper backgrounds for player vehicles.
== Vehicles data ==
507
edits

Navigation menu