Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory addon tank data

1,274 bytes removed, 21:39, 2 September 2021
Corrected language about override behaviour. Removed model section that was specific to trailer cables accessory.
|Name of the variant to be used on all descriptors of this accessory.
{{Note|All models for an accessory must have the same set of variants.}}
<!--
|-
|hide_in
|u32
|0
|Flag for &ldquo;hiding&ldquo; accessory from being drawn in specific views. Valid values can be calculated [http://eurotrucksimulator2.com/modding_changes_114.php#Hide%20following%20views here].
{{Note|Accessories whose model references textures containing the mirror reflection (e.g. the mirror itself) '''MUST''' be marked as not visible in the mirrors. Previously there was a special mechanism to handle this however the now game exclusively relies on hide_in attribute to handle that. }}
-->
|-
|fuel_tank_size
|float
|
|Override Fuel tank size in liters. Overrides [[Documentation/Engine/Units/accessory_chassis_data|chassis ]] info about fuel tank size , if non-positive.
|-
|adblue_tank_size
|float
|
|Override AdBlue/DEF tank size in liters. Overrides [[Documentation/Engine/Units/accessory_chassis_data|chassis ]] info about adblue tank size , if non-positive.
|}
 
== Model ==
A valid trailer cables accessory model must have the following:
*Some visible geometry (models cannot contain only locators)
*Attachment locators for each member defined in the ''cables'' array, where the truck plug model will be placed. The locator names are defined by each '''trailer_cable_data''' unit's ''locator_prefix'' attribute.
 
It may additionally make use of the following:
*Rest locators for each defined cable where the trailer plug model will be placed when there is no trailer connected (otherwise the cable will not be drawn/simulated when there is no trailer connected). The locator names are defined by each '''trailer_cable_data''' unit's ''rest_locator_prefix'' attribute.
*Special part names are displayed only during particular states:
**<code>cables_off</code> is displayed only when no trailer is attached
**<code>cables_on</code> is displayed only when a trailer is attached
309
edits

Navigation menu