Difference between revisions of "Documentation/Engine/Units/accessory addon tank data"
< Documentation | Engine | Units
Jump to navigation
Jump to search
(→Attributes) |
(Corrected language about override behaviour. Removed model section that was specific to trailer cables accessory.) |
||
Line 49: | Line 49: | ||
|Name of the variant to be used on all descriptors of this 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.}} | {{Note|All models for an accessory must have the same set of variants.}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|fuel_tank_size | |fuel_tank_size | ||
|float | |float | ||
| | | | ||
− | | | + | |Fuel tank size in liters. Overrides [[Documentation/Engine/Units/accessory_chassis_data|chassis]] info about fuel tank size, if positive. |
|- | |- | ||
|adblue_tank_size | |adblue_tank_size | ||
|float | |float | ||
| | | | ||
− | | | + | |AdBlue/DEF tank size in liters. Overrides [[Documentation/Engine/Units/accessory_chassis_data|chassis]] info about adblue tank size, if positive. |
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 21:39, 2 September 2021
Note: This article is a work in progress and has yet to be reviewed by SCS staff. Some information may be incomplete or inaccurate.
The accessory_addon_tank_data unit class is used for adding accessory based tank data container. For player trucks, units of this type are usually defined in /def/vehicle/truck/<brand.model>/accessory/tank/*.sii and valid unit names end in .tank
. This unit type was added in 1.41.
Attributes
Many common attributes are inherited from accessory_addon_data.
Name | Type | Default Value | Description |
---|---|---|---|
exterior_model | string | Path to the model descriptor (.pmd) for the model to be displayed in the exterior view (if applicable). | |
exterior_model_uk | string | Path to the model descriptor (.pmd) for the model to be displayed in the exterior view for left-hand drive vehicles (if applicable). If unset, defaults to exterior_model. | |
coll | string | Path to the collision descriptor (.pmc) for the accessory (if applicable). | |
look | token | default | Name of the look to be used on all descriptors of this accessory.
Note: All models for an accessory must have the same set of looks. |
variant | token | default | 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. |
fuel_tank_size | float | Fuel tank size in liters. Overrides chassis info about fuel tank size, if positive. | |
adblue_tank_size | float | AdBlue/DEF tank size in liters. Overrides chassis info about adblue tank size, if positive. |