https://modding.scssoft.com/index.php?title=Documentation/Engine/Units/cargo_model_match&feed=atom&action=historyDocumentation/Engine/Units/cargo model match - Revision history2024-03-28T11:01:18ZRevision history for this page on the wikiMediaWiki 1.32.1https://modding.scssoft.com/index.php?title=Documentation/Engine/Units/cargo_model_match&diff=4059&oldid=prevSmarty: Created page with "The '''cargo_model_match''' unit class is used to match cargo models with appropriate trailers. Units of this type are f..."2019-05-15T00:52:05Z<p>Created page with "The '''cargo_model_match''' unit class is used to match cargo models with appropriate <a href="/wiki/Documentation/Engine/Game_data#Trailer_definitions" title="Documentation/Engine/Game data">trailers</a>. Units of this type are f..."</p>
<p><b>New page</b></p><div>The '''cargo_model_match''' unit class is used to match cargo models with appropriate [[Documentation/Engine/Game_data#Trailer_definitions|trailers]]. Units of this type are found in '''/def/cargo/&lt;cargo_name&gt;/model_*.sii'''<br />
<br />
== Attributes ==<br />
{|class="wikitable"<br />
!Name<br />
![[Documentation/Engine/Units#Attribute_types|Type]]<br />
!Default Value<br />
!Description<br />
|-<br />
|compatible_body<br />
|array&lt;string&gt;<br />
|<br />
|Paths to definitions of compatible bodies and/or chassis. The expected unit type is either [[Documentation/Engine/Units/accessory_chassis_data|'''accessory_chassis_data''']] or [[Documentation/Engine/Units/accessory_trailer_body_data|'''accessory_trailer_body_data''']].<br />
|-<br />
|data_path<br />
|array&lt;string&gt;<br />
|<br />
|Paths to definitions of compatible cargo accessories, one of which will be chosen pseudo-randomly during job generation. The expected unit type is [[Documentation/Engine/Units/accessory_cargo_data|'''accessory_cargo_data''']].<br />
|}</div>Smarty