515
edits
Changes
Jump to navigation
Jump to search
Units Unit '''license_plate_data''' has new attributes: '''background_front''', '''background_rear'''. Both are strings (up to 32 characters). Default , 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 is now per vehicle '''license_plate_type''' in '''traffic_vehicle''' classas was text of the plate. If no class type is defined first class is used as default the game tries to guess from vehicle '''speed_class''' (typically "like car" class, truck or bus). All other vehicle classes has to be defined explicitlyor they get some default (either car or first defined license plate type).
→License plate generation templates format improvement
From unit '''traffic_vehicle''' the attributes '''lp_variant_front''' and '''lp_variant_rear''' has been removed.
Due to interaction with player-owned vehicles system (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.
== Vehicles data ==