Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

defaults.xml terrain and temperature values?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Armored Brigade >> MODS and Scenarios >> defaults.xml terrain and temperature values? Page: [1]
Login
Message << Older Topic   Newer Topic >>
defaults.xml terrain and temperature values? - 11/27/2019 2:12:51 AM   
Fishbreath

 

Posts: 55
Joined: 2/2/2012
Status: offline
I haven't come across a description of what the values for terrain and temperature mean. Is there a key available?
Post #: 1
RE: defaults.xml terrain and temperature values? - 11/27/2019 9:02:51 AM   
Veitikka


Posts: 1304
Joined: 6/25/2007
From: Finland
Status: offline
The values are:

Terrain:
1 Summer
2 Winter
3 Jungle
4 Desert
5 Autumn (late)
6 Barren
7 Spring
8 Autumn (early)

Temperature:
0 Extreme cold
1 Cold
2 Cool
3 Warm
4 Hot
5 Extreme hot


_____________________________

Know thyself!

(in reply to Fishbreath)
Post #: 2
RE: defaults.xml terrain and temperature values? - 11/27/2019 12:37:15 PM   
Fishbreath

 

Posts: 55
Joined: 2/2/2012
Status: offline
Thanks!

Are the day length values assumed to be for the 1st, or for some other point during the month? Does it matter?

(in reply to Veitikka)
Post #: 3
RE: defaults.xml terrain and temperature values? - 11/29/2019 8:36:41 AM   
Veitikka


Posts: 1304
Joined: 6/25/2007
From: Finland
Status: offline
This is how I've calculated them.

1. Go to https://suncalc.org and find your location. For each month, select the 21st day.

2. Copy the 'Dawn', 'Sunrise', and 'Sunset' values. Round them up or down to the closest full minute. Calculate the number of seconds (hours*3600+minutes*60). For example:

Dawn 5:31:24 -> 5:31 -> 19860
Sunrise 6:13:33 -> 6:14 -> 22440
Sunset 18:30:59 -> 18:31 -> 66660

3. Calculate the defaults.xml 'twilightLength', 'dayLength', and 'sunriseTime' values. For example:

twilightLength = Sunrise - Dawn = 2580
dayLength = Sunset - Sunrise = 44220
sunriseTime = Dawn = 19860


< Message edited by Veitikka -- 11/29/2019 8:37:23 AM >


_____________________________

Know thyself!

(in reply to Fishbreath)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Armored Brigade >> MODS and Scenarios >> defaults.xml terrain and temperature values? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.203