Open main menu

Games/ETS2/Modding guides/1.27

< Games‎ | ETS2/Modding guides
Revision as of 16:23, 27 February 2017 by Max (talk | contribs) (Created page with " == Changes == === Truck Accessory Data === There is new rule '''overrides[]''' added. Its values are file names and it is non-lazy version of '''defaults[]'''. This means w...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Contents

Changes

Truck Accessory Data

There is new rule overrides[] added. Its values are file names and it is non-lazy version of defaults[]. This means whenever this rule is used adding accessory also adds all override accessories regardless of presence of same type accessory (old ones are discarded). Typical use case is engine that takes engine badge or sound with itself. Forcing the change simplifies other rules as now engine badges or sounds do not need suitable rule on their sides which removes unwanted cross links between accessories. Use carefully as any forced change can loop easily with incorrect data.

Engine Data

Part of engine simulation improvement is specifying inner engine resistance. It is defined by resistance_torque attributes that defines resistance in Nm that is measured at 2000 rpm (arbitrary value). It is mainly linked with size of engine so if you set it to negative value it is defaulted from engine volume (it is near volume * 20.0).

Chassis Data

New attribute air_pressure now defines nominal pressure truck wants to keep in air tanks. Default value is 10 bars.

Interior Data

With more exact simulation of air pressure we unified animation API. All animation now expect values in bars