Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.27

2 bytes added, 16:56, 27 February 2017
no edit summary
With more exact simulation of air pressure we unified animation API. All animation now expect values in bars. To prevent misunderstanding they were also renamed (with their '''_max''' and '''_min''' values): '''oil_psi_anim''' to '''oil_pressure_anim''', '''air_psi_anim''' to '''air_pressure_anim''', '''button_low_air_psi''' to '''indicator_low_air_pressure''', '''button_low_oil_psi''' to '''indicator_low_oil_pressure'''.
In addition , animation '''brake_psi_anim''' was renamed to '''brake_pressure_anim''', and is not in range 0-1 of brake limit anymore, it uses bars like all other pressure animations instead.
There was also added many new animations : '''differential_lock_stick_anim''' and '''indicator_differential_lock''' for new differential lock feature, '''indicator_weigh_green''' and '''indicator_weigh_red''' for weight pass LEDs model, and '''indicator_trailer_axle_lift''' for liftable axles on trailer.
Default value for '''clock_small_anim_max''' was changed to 24 as it is logic the code worked with always.
510
edits

Navigation menu