Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.35

2 bytes added, 19:55, 1 May 2019
Timezone sub-areas
Data for time zone sub-areas has been introduced silently in 1.34 update (look for Malheur county, Oregon in ATS or Kaliningrad area, Russia in ETS).
One set of data is in '''city_data''' units and data is used for static city-based zone usage (eg . delivery times in game economy):
* '''time_zone''' (integer, default is undefined value, represented by week of time, 10080) - time zone of given city in minutes
* '''time_zone_name''' (string, default empty) - name of eventual time zone
If city time zone is undefined (or 10080) then there is used time zone of country the city belongs to.
Second set of additional data consist consists 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) - elements of rectangle areas in editor coordinates
* '''secondary_time_zone''' (integer array) - time delta of given area in minutes
510
edits

Navigation menu