Dan Albert
3d4415d5d2
Move develop to 4.0.
2021-06-05 14:35:07 -07:00
Dan Albert
3e43414d9c
Make the new package dialog modal.
...
In the *new* package dialog, a package has been created and may have
aircraft assigned to it, but it is not a part of the ATO until the user
saves it.
Other actions (modifying settings, closing some other dialogs like the
base menu) can cause a Game update which will forcibly close this window
without either accepting or rejecting it, so we neither save the package
nor release any allocated units.
While it would be preferable to be able to update this dialog as needed
in the event of game updates, the quick fix is to just not allow
interaction with other UI elements until the new package has either been
finalized or canceled.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1027
2021-06-05 14:21:31 -07:00
Dan Albert
6d682d509f
Restore former turn 0 budget split.
2021-06-05 14:09:10 -07:00
Florian
3a592aee8b
Split purchase budget based on investment ratio.
...
The AI purchaser will aim to have a 50/50 ground/air investment mix.
This allows it to overspend on one category if significant losses were
taken the previous turn.
The total purchase amount is still limited, so if the bases are full
when only 10% of the investment is in ground units, the full budget for
the turn will still go to air.
2021-06-05 14:07:18 -07:00
Dan Albert
b74f60fe0e
Stagger packages in units of seconds, not minutes.
...
Missions with very large numbers of packages and short mission windows
would raise an exception here because we couldn't schedule more
frequently than once a minute. Switch to using seconds instead of
minutes to avoid that problem. If there are more packages than there are
seconds in the mission the game is broken for other reasons.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1154
2021-06-05 13:50:28 -07:00
Dan Albert
34f3a50234
Fix UI quirks when reopening custom loadout.
...
* Disable the selector.
* Select the default loadout rather than the first one so unchecking the
custom box goes back to the default loadout.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1152
2021-06-05 13:40:11 -07:00
Dan Albert
6094179a40
Show pending ground unit count in the base menu.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1161
2021-06-05 13:24:12 -07:00
Dan Albert
e3bc2688ba
Revert accidental change to IR campaign.
...
Used this for debugging airlifts and accidentally included it.
2021-06-05 12:46:19 -07:00
Dan Albert
96cdea2a94
Load two units per cargo plane.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1029
2021-06-05 12:21:34 -07:00
Dan Albert
cb159e3341
Fix canceling transfers.
...
singledispatchmethod only overloads on the first argument.
2021-06-05 12:00:43 -07:00
Dan Albert
136e776b03
Add map markers for each building in the group.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1126
2021-06-04 18:07:12 -07:00
Dan Albert
a0833e8943
Allow selection of auto-assigned mission types.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1176
2021-06-04 17:50:21 -07:00
Dan Albert
8bb1b1da7c
Fix squadron roster size.
...
This was excluding a number of pilots from the end of the roster equal
to the number of losses the squadron had suffered.
2021-06-04 17:01:29 -07:00
Dan Albert
558502d8ea
Convert flight creator to pilot roster.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1143
2021-06-04 17:01:29 -07:00
Khopa
8edb952800
Updated campaign "Golan Heights" to version 6.0
2021-06-05 01:24:08 +02:00
Mustang-25
f3d79e58db
Add the Battle for the UAE Campaign.
...
The Battle for the UAE is a follow-on campaign to the Battle for Abu Dhabi.
2021-06-03 23:30:02 -07:00
Dan Albert
f26ff085e1
Add a new bug template for campaign update "PRs".
2021-06-03 19:08:00 -07:00
Brock Greman
7ea550738e
Sorts flights in the base menu by mission start time. Also makes base menu dialog bigger.
2021-06-03 15:32:49 -07:00
Brock Greman
6b1048590f
Fixes issue where only first a/c in a flight would show in air inventory
2021-06-03 14:46:12 -07:00
Schneefl0cke
203f0d3851
Introduce recon unit type, adjust ratios.
2021-06-02 23:00:35 -07:00
Dan Albert
d9c38a716c
Move settings and stats to the toolbar.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1146
2021-06-01 22:59:15 -07:00
Mustang-25
24709d01bd
Add the Operation Mole Cricket 2010 Campaign.
2021-06-01 22:13:23 -07:00
Dan Albert
2dc2681f84
Attach bug URL to a TODO.
2021-06-01 20:16:33 -07:00
Dan Albert
d53a39860e
Update Black Sea to latest campaign format.
2021-06-01 18:49:33 -07:00
SnappyComebacks
ad2f084112
Added ammunition depot changes to 3.0 changelog.
2021-05-31 22:20:38 -07:00
Dan Albert
d59c42ed3f
Fix generation crash for large campaigns.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1162
2021-05-31 21:02:46 -07:00
Dan Albert
e022ffee62
Auto-ASAP player missions.
2021-05-31 20:05:04 -07:00
Dan Albert
77ddd5ed78
Don't include off-map spawns for AEW&C planning.
2021-05-31 20:00:10 -07:00
Dan Albert
8604faffe6
Make EWR sites purchasable.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/968
2021-05-31 16:33:55 -07:00
Dan Albert
45919200c4
Depopulate captured objectives.
...
Buildings are left to be captured, but the retreating coalition now
destroys their abandoned equipment.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1158
2021-05-31 15:43:20 -07:00
Dan Albert
d498bb9cff
Give AEW&C a significant buffer from threats.
2021-05-31 15:33:21 -07:00
Dan Albert
389f60786a
Fix moving carriers.
2021-05-31 15:13:56 -07:00
Dan Albert
2d0929cd69
Plan AEW&C in safer locations.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1119
2021-05-31 14:57:25 -07:00
Dan Albert
e94ebd6ed2
Invert AEW&C default behavior.
...
This is working well. Make it the default, but don't remove it since we
don't have HAVCAP yet.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1118
2021-05-31 14:42:22 -07:00
Dan Albert
77373606fe
Fix crash in startup.
2021-05-31 14:36:25 -07:00
Dan Albert
284f2bc323
Show runway status on the new map.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1105
2021-05-31 14:18:27 -07:00
Dan Albert
355e6e1d15
Fix several cases of wrongly using broken runways.
...
The usual symptom here was the game breaking when a carrier is
destroyed. The carrier would no longer be operational but missions would
be assigned there that could not generate flight plans.
2021-05-31 14:13:33 -07:00
Dan Albert
f6909d2f98
Use airfield icons for off-map spawns.
...
Nothing else is really appropriate, and these are meant to represent
off-map airfields.
2021-05-31 13:23:47 -07:00
Dan Albert
c42974f7b3
Update FOB icon.
...
Also removes the possibility of generating FOBs that are not FOBs.
2021-05-31 13:14:45 -07:00
Khopa
230d80a2a5
Updated campaign "Russia Small" campaign to version 6.0
2021-05-31 19:52:06 +02:00
Dan Albert
551038b295
Fix TGO purchase UI.
...
Enable buying and selling of armor groups. Don't allow armor groups to
be replaced with air defenses or vice versa. These are a different TGO
type and this has always been a thing that will break the flight
planner.
2021-05-30 21:17:55 -07:00
Dan Albert
4055b06e71
Clean up and rename ControlPoint.for_airbase.
2021-05-30 21:17:12 -07:00
Dan Albert
6616359baf
Remove "base defenses" UI features.
...
There's no such thing any more. There are just objectives that are
closer to the CP than the others.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1130
2021-05-30 21:07:48 -07:00
Dan Albert
a5336bbe56
Note dropping random objectives in the changelog.
2021-05-30 20:51:18 -07:00
Dan Albert
871e7f7a50
Remove random objective generation.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1076
2021-05-30 20:47:20 -07:00
Dan Albert
d1c7146a47
Add cheat options back to front lines.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1108 .
2021-05-30 20:16:54 -07:00
Dan Albert
30f6220c3e
Remove the old map.
2021-05-30 19:57:14 -07:00
Dan Albert
acd3e87996
Remove accidentally preserved debug log in UI.
2021-05-30 19:46:38 -07:00
Dan Albert
8c8814d07e
Add culling display option to the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1097
2021-05-30 19:32:08 -07:00
Dan Albert
417fc3af5b
Allow objects near missile launchers to be culled.
...
We want the scud to not be culled, but we should still cull things
nearby. Rather than making the scud the center of a 2.5km unculled zone,
just exclude missile objectives from culling.
2021-05-30 19:29:59 -07:00