Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory chassis data

108 bytes added, 13:23, 20 June 2017
no edit summary
The '''accessory_chassis_data''' unit class is used to define the chassis characteristics for the [[Documentation/Engine/Game_data/Player_trucks_definitions|player's vehicle]] including axle weights, extended shadow parameters, and fluid capacities. It is also used to define chassis characteristics of trailers and AI vehicles. Units of this type are usually defined in '''/def/vehicle/truck/<makebrand.model>/chassis/*.sii''', '''/def/vehicle/trailer/<trailer_name>/*.sii''', and '''/def/vehicle/ai/<vehicle_name>/chassis.sii.
== Attributes ==
|string
|
|Path to the high level-of-detail detailed mesh. This is generally unused, but can be used only for fine detail or &lsquo;expensive&rsquo; shader effects that vehicles used by player. Additionally they are only visible very close to the used in vehiclepreviews & browser windows.
|-
|model
|trailer_brace_up_sound
|string
|"/sound/truck/trailer_brace_up.ogg"
|''For trailer usage only.'' Path to the sound to be played when retracting landing gear.
|-
|trailer_brace_down_sound
|string
|"/sound/truck/trailer_brace_down.ogg"
|''For trailer usage only.'' Path to the sound to be played when extending landing gear.
|-
|variant
|token
|default
|Variant to be used from '''detail_model''', '''model''', and '''lods'''.
|-
|look
|token
|default
|Look to be used from '''detail_model''', '''model''', and '''lods'''.
|-
|extended_shadow_fadeout_start
|float
|0.0
|Sets the distance in meters from the fakeshadow surface to begin fading the extended shadow.
|-
|extended_shadow_fadeout_length
|float
|1.0
|Sets the length in meters over which to fade out the extended shadow.
|-
|token
|
|If provided, specified variant of model will be used to draw the shared shadows.
|-
|ui_shadow
|tank_size
|float
|0.0
|Fuel tank size in liters.
|-
|adblue_tank_size
|float
|5080.0
|AdBlue/DEF tank size in liters.
|-
|trailer_mass
|float
|7000.0
|''For trailer usage only.'' Sets the unladen mass of the trailer.
|-

Navigation menu