Commit Graph

4415 Commits

Author SHA1 Message Date
Raffson
1a5e31c01a Migrate squadron countries 2023-05-20 01:41:37 +02:00
Raffson
1b8df76682 Fix indentation error 2023-05-19 22:45:58 +02:00
Raffson
70fb387268 Bump starlette + fastapi 2023-05-19 22:45:57 +02:00
Raffson
27686f6d78 Update contributors 2023-05-19 22:20:40 +02:00
Dan Albert
e7f20e7d10 Fuzzle campaign updates.
https://github.com/dcs-liberation/dcs_liberation/issues/2889
2023-05-19 20:54:09 +02:00
Dan Albert
dbc6a25791 Update contributors list.
<3
2023-05-19 20:52:05 +02:00
Dan Albert
d7d803d4f9 Fix campaign line endings. 2023-05-19 20:51:35 +02:00
Raffson
461c239cc8 Use regex-extractor again to process livery-description files 2023-05-19 20:24:36 +02:00
Raffson
05fb5872d0 Gracefully handling parse-errors in pdycs' livery scanner 2023-05-19 17:46:36 +02:00
Raffson
f72f3316f4 Fix bug in migrator 2023-05-18 23:05:57 +02:00
Raffson
5909ce372b Remove debugging try-except 2023-05-18 22:36:17 +02:00
Raffson
386844378e More save-compatibility changes 2023-05-18 22:33:11 +02:00
Raffson
a9e48770b7 Read A7 mod setting from campaign 2023-05-18 19:08:28 +02:00
Raffson
99b56f1ab7 Update campaign version 2023-05-18 18:51:35 +02:00
Raffson
8cc7f66169 Update mods wrt updated weapons 2023-05-18 18:46:07 +02:00
Raffson
733645e370 Bump pydcs 2023-05-18 18:11:14 +02:00
Raffson
a20fc50aed Add pytest-cov to requirements.txt 2023-05-18 16:54:28 +02:00
Raffson
978e3e4de2 Formatting + type annotations 2023-05-18 16:29:20 +02:00
Raffson
da109146c9 Fixing issues after using actual Country in Faction 2023-05-18 16:24:49 +02:00
Raffson
cca45d3729 Fix save-compat issues 2023-05-18 14:37:34 +02:00
Raffson
b14059e134 Fixing tests + mypy issues 2023-05-18 14:12:41 +02:00
Starfire13
cb6a7d4a92 Update Starfire's campaign updates for 10.7. 2023-05-18 14:03:20 +02:00
Dan Albert
51d823a0b2 Add changelog note for pydcs livery scanner crash fix.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2747.
2023-05-18 14:02:39 +02:00
Dan Albert
5cfc9aa518 Add changelog note for TALD overfly fix.
https://github.com/dcs-liberation/dcs_liberation/issues/2781
2023-05-18 14:02:39 +02:00
Dan Albert
0dea18f582 Add changelog note for "recreate as" fix.
https://github.com/dcs-liberation/dcs_liberation/issues/2779
2023-05-18 14:02:39 +02:00
Dan Albert
53df67e641 Add changelog note for fixed recovery tanker tasks.
https://github.com/dcs-liberation/dcs_liberation/issues/2771
2023-05-18 14:02:39 +02:00
Dan Albert
2448ffe337 Add changelog note for improved dead event handling.
https://github.com/dcs-liberation/dcs_liberation/issues/2765
2023-05-18 14:02:38 +02:00
Dan Albert
9ace5bab94 Add changelog note for air wing reset fix.
https://github.com/dcs-liberation/dcs_liberation/issues/2751
2023-05-18 14:02:38 +02:00
Dan Albert
ccf2d11034 Add changelog note for BAI planning fix.
https://github.com/dcs-liberation/dcs_liberation/issues/2618
2023-05-18 14:02:25 +02:00
Dan Albert
190b6c6e7a Add changelog note for built-in TGP fix. 2023-05-18 14:02:25 +02:00
Dan Albert
573ccb0bc6 Add changelog note for AEW&C planning fix.
https://github.com/dcs-liberation/dcs_liberation/issues/2048
2023-05-18 14:02:25 +02:00
Dan Albert
910fd27c14 Add changelog note for TALD fix.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2780.
2023-05-18 14:02:06 +02:00
Dan Albert
5f65298728 Finish wiring up SAM orientation control.
The UI works beautifully, but that's not worth much if it doesn't
actually change the data...

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2479.
2023-05-18 14:02:05 +02:00
Raffson
4ca150198e Delete germany_1944_free.yaml 2023-05-18 14:01:12 +02:00
Raffson
71f6186a88 Reuse Ghosti's NightMission conditions 2023-05-18 13:40:29 +02:00
zhexu14
e3fce5fddc add unit tests for mission_types function in controlpoint objects (#2870)
This PR adds unit tests that can be planned against control points.
2023-05-18 13:33:49 +02:00
zhexu14
958252515e Update ADM141 data to include clsids for hornet 2023-05-18 13:33:48 +02:00
Dan Albert
0e139b8640 Make wind speed moddable.
These should probably be overridable per theater and per season, but
even with that we'll want some defaults.

https://github.com/dcs-liberation/dcs_liberation/issues/2862
2023-05-18 13:33:39 +02:00
Dan Albert
8ed843a9cf Move and split up weather.py.
This is getting out of hand, and I'm about to make it worse.
2023-05-18 13:31:26 +02:00
Dan Albert
080d346517 Rework wind speed Weibull inputs, tune.
The previous method of using a uniform scalar of the MSL wind speed for
higher altitudes didn't offer enough control. In particular, the shape
needs to be quite different to skew low, mid, high.

This patch reworks that system so the parameters of each distribution
are configured per-altitude level. To keep some continuity between
altitudes (on a windy day, all levels should have higher wind speeds on
average), the wind speed of the lower altitude will be added to the
scale value of the higher altitude.

Since it wasn't practical to approximate the previous behavior with the
new system, this also handles the tuning of each. The low altitude
speeds remain mostly unchanged (typically around 5 knots expect for
thunderstorms), but the average speeds for other altitudes went up to
more closely match the previous intent but without the massive
overshoot. At 2000m wind speeds are typically in the 20-25 knot range
now, and 8000m 30-50 knots.

https://www.quora.com/What-is-the-average-wind-speed-at-different-altitudes
has some of the source data, and Quora is the most authoritative source
there is. It claims that cruise altitude winds can get "as high as 150
knots", but doesn't claim anything about the average. I had a
surprisingly difficult time finding good data for cruise altitude air
speeds for non-jet stream paths (though many of our maps are in jet
streams), so I just eyeballed it from
https://turbli.com/wind-during-flights/.

https://github.com/dcs-liberation/dcs_liberation/issues/2861

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2863.
2023-05-18 13:29:02 +02:00
Dan Albert
73e0cbe182 Use weibull distribution for wind generation.
Wind speeds should not be uniformly distributed. This switches to a
Weibull distribution which allegedly (see the bug) is good enough.
Experimentally that seems true as well, though I know nothing about how
wind works irl. This at least looks like it'll generate reasonable
variation in missions while keeping the 1st through 3rd quartile
behaviors from getting out of hand.

I'm very uncertain about the scaling factor aspect of this. Naively the
wind speeds at different altitudes ought to be somewhat correlated, but
I'm not sure how much, and whether this kind of scaling is at all the
right way to do it. As before, meh, close enough?

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2861.
2023-05-18 13:29:02 +02:00
Raffson
b750099b16 Add missing tasks in aircraft yamls 2023-05-18 13:14:22 +02:00
Raffson
f00a3fb1d2 pydcs update: refactored livery-scanner 2023-05-16 21:45:27 +02:00
Raffson
1b1090d78f Fix exception wrt typing 2023-05-16 21:45:26 +02:00
Raffson
34645560bf Migration changes 2023-05-16 21:45:26 +02:00
Raffson
785beffee0 Cleanup after cherry-picking... 2023-05-14 21:37:24 +02:00
Dan Albert
f9e9c2793a Allow manual SAM orientation.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2479.
2023-05-14 21:08:29 +02:00
Dan Albert
83916b9fb0 Wrap settings titles. 2023-05-14 21:08:09 +02:00
zhexu14
ac5c13663b add tests for mission_types for various theather ground objects 2023-05-14 21:08:09 +02:00
ColonelAkirNakesh
e92d6d0c1c Makes guard tower (house2arm) a AAA unit 2023-05-14 21:08:09 +02:00