510
edits
Changes
Jump to navigation
Jump to search
=== Chassis accessory data ===
=== Truck data ===
no edit summary
Structure '''trailer_def''' was greatly improved and redesigned as its core of the economy. Old system with list of trailers for given cargo is used for rest of old trailers only (using cargo folder placement with filled '''trailer''' link and fake underscored trailer '''body_type'''s).
New fields support system that matches cargoes to trailer only through trailer body types with additional information. Most important are :* '''gross_trailer_weight_limit''' (float, technical or logical limit of trailer+cargo mass), * '''body_type''' (token) and * '''country_validity''' (token array). Then there are cached/precomputed values for fast access without necessity of loading all accessories (instead of summing all chassis and body weights in chain) as well as data for trailers that do not have all accessories defined (eg freight market ones):* '''trailer_mass''' (float), * '''body_mass''' (float), * '''volume''' (float), * '''axles''' (int), * '''length''' (float) and * '''chain_type''' (token) for fast access without necessity of loading all accessories as well as data for trailers that do not have all accessories defined (eg freight market ones). In addition, there are also cog placement parameters - unlike older mechanics right now its plain cargo cog offset in meters (before height was halved due to historical reasons).
=== Body types ===
* flatbed
* curtainsider
* dryvan
* insulated
* refrigerated
== Vehicles data ==
=== New cables accessory data ===
==== Accessory head lights data ====