Secondary Time Area in russia.sui

Have ideeas but don't know how?
Post Reply
Zenkaiger2021
PPM
Posts: 5
Joined: March 29th, 2021, 1:23 pm
Location: Indonesia

Secondary Time Area in russia.sui

Post by Zenkaiger2021 » December 31st, 2021, 3:03 pm

Hi, i have a question for secondary time area

last time i check russia.sui in def/country i get this file from extracted def.scs on my ets 2 main folder

the content is here


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
}

Can someone explain to me what is this for, especially the coordinates --> secondary_time_zone_area[]: (32352.0, 41872.0, -26082.0, -20383.0), is that x,y,z coordinate for respective time, thanks
User avatar
Arayas
Site Admin
Posts: 6011
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Secondary Time Area in russia.sui

Post by Arayas » December 31st, 2021, 3:19 pm

its the point of the map where secondary time zone starts
ImageImage Image
support@roextended.ro
www.roextended.ro
Zenkaiger2021
PPM
Posts: 5
Joined: March 29th, 2021, 1:23 pm
Location: Indonesia

Re: Secondary Time Area in russia.sui

Post by Zenkaiger2021 » December 31st, 2021, 3:35 pm

how about this secondary_time_zone_area[]: (32352.0, 41872.0, -26082.0, -20383.0),
is that
X : 32352.0
Y : 41872.0
Z : -20383.0

For this number -26082.0 i don't know is number for, because when i type (goto 32352.0; 41872.0; -20383.0) on console in map editor it goes straight to Kaliningrad
is there any idea for this number

Thanks
User avatar
Arayas
Site Admin
Posts: 6011
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Secondary Time Area in russia.sui

Post by Arayas » December 31st, 2021, 3:41 pm

all 3 are coordinates, from Kalinigrad area the time changes. Is written even in definition
ImageImage Image
support@roextended.ro
www.roextended.ro
Zenkaiger2021
PPM
Posts: 5
Joined: March 29th, 2021, 1:23 pm
Location: Indonesia

Re: Secondary Time Area in russia.sui

Post by Zenkaiger2021 » December 31st, 2021, 3:43 pm

so if i type goto 32352.0; 41872.0; -26082.0 in map editor console, its result is same like goto 32352.0; 41872.0; -20383.0), isn't it?
Zenkaiger2021
PPM
Posts: 5
Joined: March 29th, 2021, 1:23 pm
Location: Indonesia

Re: Secondary Time Area in russia.sui

Post by Zenkaiger2021 » December 31st, 2021, 5:31 pm

Looks like i already find the meaning of the coordinates in secondary_time_zone_area[]: (32352.0, 41872.0, -26082.0, -20383.0),
this two coordinates (-26082.0, -20383.0) is the range of Z coordinates for time zone
Michaleczeq
Modder
Posts: 12
Joined: May 24th, 2021, 10:47 pm

Re: Secondary Time Area in russia.sui

Post by Michaleczeq » December 31st, 2021, 9:40 pm

In all cases I known, if you have float with 4 coordinates, these are values for most: left, right, bottom, top point like for example in atlases:

110_ru.sii:

Code: Select all

SiiNunit
{
image_atlas : atlas.110.ru
{
  atlas_name: "110 ru"

  (...)
  
  # left right bottom top
  images_coords: 1
  images_coords[0]: (0, 128, 128, 0)

}
}

And thats mean, that your attribute looks like:

Code: Select all

secondary_time_zone_area[]: (<left_pos>, <right_pos>, <bottom_pos>, <top_pos>)
Zenkaiger2021
PPM
Posts: 5
Joined: March 29th, 2021, 1:23 pm
Location: Indonesia

Re: Secondary Time Area in russia.sui

Post by Zenkaiger2021 » January 1st, 2022, 3:35 am

Right now i am understand it, Thanks for the help
Post Reply