Changes

Jump to navigation Jump to search
no edit summary
The '''accessory_addon_data''' unit class is used for vehicle accessories that adds which add a visible component to a vehicle. This is most commonly used for customization of the [[Documentation/Engine/Game_data/Player_trucks_definitions|player's vehicle]]. It defines the paths to the visible models and their configuration (variant, look, excluded views), and the path to the collision mesh if applicable. Units of this type are found in '''/def/vehicle/truck/<brand.model>/accessory/<type>/*.sii'''.{{Note|Some legacy accessories which don't directly interact with the player (eg. badges) may also be found in '''def/vehicle/truck/<brand.model>/<type>/*.sii''' because of legacy. So when creating new types always create them inside '''accsessoryaccessory''' subfolder.}}
== Attributes ==
|string
|
|Path to the model descriptor (.pmd) for the model to be displayed in the exterior view for leftright-hand drive vehicles (if applicable). If unset, defaults to '''exterior_model'''.
|-
|interior_model
|string
|
|Path to the model descriptor (.pmd) for the model to be displayed in the interior view for leftright-hand drive vehicles (if applicable). If unset, defaults to '''interior_model'''.
|-
|coll
67
edits

Navigation menu