Open main menu

Documentation/Engine/Units/vehicle accessory

< Documentation‎ | Engine‎ | Units
Revision as of 19:31, 22 June 2017 by Smarty (talk | contribs) (Created page with "The '''vehicle_accessory''' unit class is used to 'attach' certain types of accessories and their data to vehicle and trailer configurations. Units of this type are typically...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

The vehicle_accessory unit class is used to 'attach' certain types of accessories and their data to vehicle and trailer configurations. Units of this type are typically nameless and declared within the same context as the configuration that owns/uses them.

Attributes

Name Type Default Value Description
wear float 0.0 This attribute is used to track damage and wear to the accessory. 0 corresponds to an unworn state and 1 corresponds to a completely worn state.
data_path string Full path to the SII file containing a suitable accessory data unit.

Suitable Accessory Data Types

Related Units