Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.35

21 bytes removed, 15:19, 1 May 2019
Timezone sub-areas
Second set of additional data consist of three synchronized arrays (same length expected) stored in '''country_data''' units and is used for spatial detection of time zone on map:
* '''secondary_time_zone_area''' (float4 array) define - elements of rectangle areas in editor coordinates* '''secondary_time_zone''' (integer array) specifies - time delta of given area in minutes* '''secondary_time_zone_name''' (string array) specifies - name of time zone in given area
If point is in given country (decided by map logic by road/prefabs) then all existing rectangle elements are checked for different time zone than country has. First matching area element defines the proper time zone. If no area is found, country time zone is used instead.
507
edits

Navigation menu