SnappyComebacks
541ac6f8dd
Tune turbulence values.
2022-11-19 13:17:18 -07:00
SnappyComebacks
774eb48828
Spell turbulence correctly.
2022-11-19 13:17:18 -07:00
SnappyComebacks
1eccedb74d
Calculate turbulance.
...
Turbulance is based off time of day, and day of year.
Each theatre may adjust their turbulance parameters.
2022-11-19 13:17:18 -07:00
SnappyComebacks
bc6f953f76
Limit wind speed to 97 knots.
...
Made minor adjustments to wind speed calculation.
2022-11-18 11:48:13 -07:00
SnappyComebacks
c5f0f1ef9f
Modify the range of values used to choose a wind speed.
...
Wind speed at high elevation IRL can range from 20 to 160 knots around the globe.
You may see wind speed generated here up to 100+ knots, but generally around 40 or so.
IRL wind speed appears to depend on the latitude of the sun, not in this implementation.
2022-11-18 11:48:13 -07:00
Dan Albert
f15c2ada1b
Fix DaytimeMap error with disabled night missions.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2429
2022-09-09 13:01:10 -07:00
Dan Albert
c630226e2d
Add campaign property for campaign start time.
...
This field is optional. Omitting the field (or using only a date instead
of a full timestamp) will use the old behavior of picking a random
daylight hour to start the campaign.
This doesn't include any UI in the new game wizard yet. This is only a
campaign yaml option.
https://github.com/dcs-liberation/dcs_liberation/issues/2400
2022-09-01 01:13:01 -07:00
Dan Albert
82939a446b
Turn the daytime map in theater into a real type.
...
No (intended) user visible effects, but this is the groundwork that will
support https://github.com/dcs-liberation/dcs_liberation/issues/2400 .
2022-09-01 01:13:01 -07:00
Dan Albert
b0787d9a3f
Build a proper type for StartType.
2021-10-22 11:42:13 -07:00
Magnus Wolffelt
3e6d63e8f7
Fix random heading function, randomize wind better ( #1619 )
...
* Fix random heading function, randomize wind better
* Use 359 as max default for random heading, for uniform distribution
2021-09-16 12:29:00 +02:00
Dan Albert
90ad1f4a61
Change squadrons to operate out of a single base.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1145
Currently this is fixed at the start of the campaign. The squadron
locations are defined by the campaign file.
Follow up work:
* Track aircraft ownership per-squadron rather than per-airbase.
* UI for relocating squadrons.
* Ferry missions for squadrons that are relocating.
* Auto-relocation (probably only for retreat handling).
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1138
2021-08-14 21:46:27 -07:00
Magnus Wolffelt
4c51b4b822
Seasonal weather types per theater.
...
Adjusts the weather conditions per theater and per season.
2021-07-31 03:57:23 -07:00
bgreman
1094085872
Fixes #1449 and updates another area where the Heading class can apply ( #1451 )
2021-07-22 15:30:46 -04:00
Dan Albert
28f98aed88
Migrate pressure to a typed unit.
2021-07-16 22:38:41 -07:00
Magnus Wolffelt
04a346678c
Add situational temperature and pressure variation.
...
Now varies by:
* Season
* Theater
* Weather
* Time of day
2021-07-16 14:08:14 -07:00
Magnus Wolffelt
d25befabdd
Randomize mission temperature and pressure.
2021-07-15 13:34:09 -07:00
Dan Albert
fb9a0fe833
Flesh out typing information, enforce.
2021-07-07 17:41:29 -07:00
Dan Albert
38f632097e
Add support for DCS 2.7 weather generation.
...
https://github.com/Khopa/dcs_liberation/issues/981
2021-04-17 15:06:17 -07:00
Dan Albert
a47bef1f13
Blacken.
2021-02-12 20:10:45 -08:00
Dan Albert
2ac818dcdd
Convert to new unit APIs, remove old APIs.
...
There are probably plenty of raw ints around that never used the old
conversion APIs, but we'll just need to fix those when we see them.
Fixes https://github.com/Khopa/dcs_liberation/issues/558
2020-12-19 22:08:57 -08:00
Dan Albert
63bdbebcaa
Refactor control points into individual classes.
2020-11-23 14:34:58 -08:00
Dan Albert
ae68a35a1a
Remove save compat since it's breaking anyway.
...
Removal of old paths/names for things that no longer exist.
2020-11-20 17:06:01 -08:00
Dan Albert
f8ac39fb82
Fix min/max inversion in wind setting.
2020-10-20 00:10:37 -07:00
Dan Albert
49b6951ac3
Generate weather conditions at turn start.
...
Weather and exact time of day information is helpful during mission
planning, so generate it at the start of the turn rather than at
takeoff time.
Another advantage aside from planning is that we can now use the wind
information to set carrier headings and takeoff runways appropriately.
2020-10-16 18:25:25 -07:00