defaults.xml terrain and temperature values? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Armored Brigade >> MODS and Scenarios



Message


Fishbreath -> defaults.xml terrain and temperature values? (11/27/2019 2:12:51 AM)

I haven't come across a description of what the values for terrain and temperature mean. Is there a key available?




Veitikka -> RE: defaults.xml terrain and temperature values? (11/27/2019 9:02:51 AM)

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




Fishbreath -> RE: defaults.xml terrain and temperature values? (11/27/2019 12:37:15 PM)

Thanks!

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




Veitikka -> RE: defaults.xml terrain and temperature values? (11/29/2019 8:36:41 AM)

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




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.578125