Secondary Time Area in russia.sui

Modding school: Learn it from the masters
Post Reply
RyusoulGold2019
Posts: 11
Joined: 11 Jun 2019 16:11
Donation rank:

31 Dec 2021 13:56

hi my name is RyusoulGold2019, last time i check russia.sui from def/country
here is the content


country_data : country.data.russia
{
country_id: 38

name: "Россия"
name_localized: "@@russia@@"
country_code: "RU"

pos: (59500, 0, -51500)

fuel_price: 0.52

lights_mandatory: true
driving_tired_offence: true

time_zone: 180 # +3 hours in minutes
time_zone_name: "@@tz_msk@@"

# kaliningrad area, EET, +2 hours
secondary_time_zone_area[]: (32352.0, 41872.0, -26082.0, -20383.0)
secondary_time_zone[]: 120
secondary_time_zone_name[]: "@@tz_eet@@"

mass_limit_per_axle_count[]: 18000 # 2-axle vehicle
mass_limit_per_axle_count[]: 25000
mass_limit_per_axle_count[]: 36000
mass_limit_per_axle_count[]: 40000
mass_limit_per_axle_count[]: 44000
}

My question is below?

# kaliningrad area, EET, +2 hours
secondary_time_zone_area[]: (32352.0, 41872.0, -26082.0, -20383.0)
secondary_time_zone[]: 120
secondary_time_zone_name[]: "@@tz_eet@@"

Can someone explain to me this part (secondary_time_zone_area[]: (32352.0, 41872.0, -26082.0, -20383.0)) especially the coordinate, I want to know what is the coordinate means, is that x,y,z coordinate for respective time?

Thanks

User avatar
Josh0
Posts: 2965
Joined: 20 Dec 2015 02:10

31 Dec 2021 17:18

secondary_time_zone_area[] defines a rectangle in editor coordinates. The first two values are X-axis values, the second two values are Y-axis values. In your example the secondary area would be defined by a rectangle with one corner at (32352.0;0;-26082.0) and the opposite corner at (41872.0;0;-20383.0). All items within the rectangle would have the secondary time zone.

RyusoulGold2019
Posts: 11
Joined: 11 Jun 2019 16:11
Donation rank:

01 Jan 2022 00:57

Thanks for the help, it's really useful



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests