Dan Albert
fd85efbf55
Remove more dead code in game.db.
2021-06-07 18:59:02 -07:00
Dan Albert
ae2a818d8c
Move the base intel menu off find_unittype.
2021-06-07 18:54:51 -07:00
Dan Albert
6966c16dd2
Remove dead code.
2021-06-07 18:54:39 -07:00
Dan Albert
27b5f24a0f
Move unit purchase off find_unittype.
2021-06-07 18:54:21 -07:00
Dan Albert
ea15421308
Migrate support AEW&C away from find_unittype.
2021-06-07 18:52:54 -07:00
Dan Albert
ef35ad90b8
Remove one user of UNIT_BY_TASK.
2021-06-07 18:01:31 -07:00
Dan Albert
914691eaa7
Remove more unused code from Base.
2021-06-07 17:51:25 -07:00
Dan Albert
37bb83dfa6
Delete a bunch of unused code from Base.
2021-06-07 17:48:03 -07:00
Dan Albert
d8881e2734
Fix hangar status display.
2021-06-06 17:12:44 -07:00
Dan Albert
45869c428e
Label the player checkbox in the roster editor.
2021-06-06 13:43:34 -07:00
Dan Albert
40832bd3a1
Update screenshot on the front page.
2021-06-06 13:37:01 -07:00
Khopa
126a8e8efb
Added a small WW2 campaign on Normandy map (Replacing the former Normandy Small campaign).
2021-06-06 18:50:16 +02:00
Dan Albert
1796c21f48
Update the Syria full campaign.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1182
2021-06-05 21:39:45 -07:00
Dan Albert
363d4af639
Add Jordan 2010 faction.
2021-06-05 19:08:52 -07:00
Dan Albert
f1c881378c
Add/updates campaigns from Starfire.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1181
2021-06-05 19:07:13 -07:00
Dan Albert
d316e13fa6
Suppress events fired while rebuilding model.
2021-06-05 15:21:23 -07:00
Dan Albert
1ea98a6ed1
Hide incompatible campaigns by default.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1178
2021-06-05 15:15:30 -07:00
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