Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.36

18 bytes added, 09:15, 13 November 2019
License plate generation templates format improvement
From unit '''traffic_vehicle''' the attributes '''lp_variant_front''' and '''lp_variant_rear''' has been removed.
Unit '''license_plate_data''' has new attributes: '''background_front''', '''background_rear'''. Both are strings (up to 32 characters), default values are "front" and "rear" respective. Texture with given name is looked for as '''material/ui/lp/<country>/*.mat''' file.Proper usage for variants of texture background for AI vehicles is now per '''license_plate_type''' in '''traffic_vehicle''' class as was text of the plate. If no type is defined the game tries to guess from vehicle '''speed_class''' (like car, truck or bus). All other vehicle classes has to be defined explicitly or they get some default (either car or first defined license plate type).
Due to interaction with player-owned vehicles (apportioned trucks and trailer in US) such textures should still be named "truck_front", "truck_rear" or "trailer" respectively (like they were before). Failing to use these names in license plate definitions will end with improper license plate backgrounds for player vehicles.
499
edits

Navigation menu