Changes

Jump to navigation Jump to search

Games/ATS/Modding guides/1.29

814 bytes added, 15:25, 3 November 2017
Changes
= Changes =
 
== Flares Data ==
 
Flare blink unit (usually found as hookup defined models inside '''''/unit/hookup''''' directory) was reworked to use blinking pattern instead of just simple ON and OFF delays. Thus '''''blink_delay_on''''' and '''''blink_delay_off''''' attributes were removed and replaced with '''''blink_pattern''''' and '''''blink_step_length'''''. Unit is now defined as follows:
<pre>
SiiNunit
{
flare_blink : flare.model.my_blink
{
dir_type: wide
 
blink_pattern: "X--" # String of X and - characters, where X represents ON state and - represents OFF state.
blink_step_length: 0.5 # Float representing duration of one step inside blink pattern in seconds.
model: "/model/flare/my_flare.pmd"
}
}
</pre>
 
Consequentially flare blink sync inherited attributes and behavior from flare blink unit.
== Traffic ==

Navigation menu