Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory interior data

764 bytes added, 16:40, 11 October 2020
no edit summary
|string
|
|Path to the model descriptor (.pmd). If only a single LOD is used, it should be set up as '''for the rigid interior model''', and the other attributes (detail_model, lods) should not be defined.
|-
|animated_model
|token
|
|Name of the variant to be used for this the interior models and collision.
|-
|look
|token
|
|Name of the look to be used for this the interior models.
|-
|ext_model
|string
|
|Path to the model descriptor (.pmd) for the exterior model (the interior visible from outside cameras).
|-
|ext_variant
|There are currently nearly 70 [[Documentation/Engine/Truck_Interior_Animations_and_IDs#Interior_Animations|interior animation]] attributes, plus _min and _max attributes for some with adjustable ranges. Interior animations are typically defined externally in '''animations.sui''' and [[Documentation/Engine/Units#Includes|included]] into the interior definition.
|-
|<del>wiper_delay</del>
|array&lt;float&gt;
|
|Each member defines a delay in seconds between wipe cycles for intermittent wipers. They should generally be in decreasing order because the last wiper mode is continuous. If empty then only continuous mode is available.''Removed in 1.35.''|-|wiper_duration_and_delay|array&lt;float2&gt;|(2.0, 0.0)|Each member defines the duration of the wipe cycle in seconds, and the delay between wipe cycles in seconds. They should generally be in decreasing order of delay, and decreasing order of speed. ''Added in 1.35.''
|-
|blinker_delay
|Each member points to the unit name of a [[Documentation/Engine/Units/glass_pane_data|glass_pane_data]] unit.
|-
|''dashboard colors''dashboard_color
|array&lt;float3&gt;
|
|
-->
|-
|sounds
|array&lt;string&gt;
|
|Each item assigns an FMOD event to a function, using the "''<nowiki>sound_name|sound_path</nowiki>''" [[Games/ETS2/Modding_guides/1.39#Accessories|format]]. ''Added in 1.39''
 
Expected sound event names are: air_warning, blinker_off, blinker_on, noise, stick_blinker, stick_blinker_off, stick_engine_brake, stick_hazard_warning, stick_high_beam, stick_light_horn, stick_lights, stick_park_brake, stick_park_brake_off, stick_retarder, stick_wipers, weigh_green, weigh_red, window_click, window_move, wipers_down, and wipers_up.
|}
309
edits

Navigation menu