Open main menu

Changes

Documentation/Engine/Units/accessory interior data

1,324 bytes added, 23:21, 1 May 2022
Attributes
|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
|0.5
|The length of half of the blinker cycle in seconds. The blinker is on for this length of time, and then off for this length of time, etc. Typically included via '''animations.sui'''.
|-
|show_chassis_rear
|bool
|false
|It should be set true in interiors where you can see part of chassis or chassis accessory (eg ATS daycabs). It renders prebaked model of chassis and all its accessories in interior, so you might have issues with items that are mounted on chassis, but still have their own visualization in interior - you can see them twice and/or z-fighting. To be properly visible both inside and outside, either the accessory locator should be in chassis model ONLY, or it should be in interior AND in cabin model both. ''Added in 1.44.''
<!-- Hidden until we have a description
|-
|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.
|}
510
edits