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
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
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
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
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
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
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
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
389f60786a
Fix moving carriers.
2021-05-31 15:13:56 -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
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
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
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
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
Dan Albert
2218733da4
Add exclusion zone display to the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1097
2021-05-30 18:50:53 -07:00
Dan Albert
82281e2477
Fix inventory handling when adjusting flight size.
...
We need to resize the flight before attempting to claim the aircraft, or
we'll reclaim the original number of aircraft rather than the new size.
2021-05-30 15:46:54 -07:00
Dan Albert
d0976c45e9
Add pilot assignements to the inventory table.
2021-05-30 14:28:58 -07:00
bgreman
a888397bef
Add a global air inventory view to air wing dialog.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/428 .
2021-05-30 13:40:51 -07:00
Brock Greman
7b2bb4a128
Show ground unit supply info in the base menu.
...
Update the base UI to have a hint about ground unit deployment limits
and a matching tooltip for how it is calculated.
2021-05-30 13:15:06 -07:00
Khopa
1af95955b6
Base menu UI : Added ammo depots & factory information (WIP UX)
2021-05-30 17:49:15 +02:00
Dan Albert
bc7faee880
Add navmesh map mode to the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1097
2021-05-28 17:00:33 -07:00
Dan Albert
6e41c36a44
Fix replacing unassigned pilot slots.
2021-05-27 22:51:11 -07:00
Dan Albert
14dc6d1604
Add squadron selector to flight creator.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1142
2021-05-27 21:00:32 -07:00
Dan Albert
748a752e29
Fix pydcs loadout cache for command line launcher.
2021-05-27 19:58:45 -07:00
Dan Albert
e9b5784d30
Update player slot advice for update UI.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 17:35:54 -07:00
Dan Albert
1521f0a9b1
Add on-leave toggle for pilots.
...
Pilots on leave will not be assignable to any flights (but will not be
unassigned from any already scheduled this turn).
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 17:09:09 -07:00
Dan Albert
11a8ff7f70
Add settings UI for auto-ato behavior.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
https://github.com/dcs-liberation/dcs_liberation/issues/315
2021-05-27 15:41:08 -07:00
Dan Albert
f6ab1aad77
Clean up signal handling in pilot roster editor.
2021-05-27 15:06:36 -07:00
Dan Albert
5a732acf64
Fix creating new fights to create player pilots.
...
This is just a hack that automatically converts the assigned pilots to
players if needed. This really needs to be replaced with a roster editor
like the flight edit screen has, but that also requires squadron
selection, which isn't a thing we're ready for yet.
https://github.com/dcs-liberation/dcs_liberation/issues/1139
2021-05-27 14:15:27 -07:00
Dan Albert
e4e06e0a6e
Add player toggle to flight settings.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 02:18:57 -07:00
Dan Albert
28f20d47d3
Add player pilot invulnerability option.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 01:40:23 -07:00
Dan Albert
ac4a7441e9
Add predefined squadron support.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 00:23:40 -07:00
Dan Albert
e2034b19e7
Update missing clients advice.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 20:41:22 -07:00
Dan Albert
1b7a225f9d
Replace client count with player pilots.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 20:33:23 -07:00
Dan Albert
a52043ef29
Allow toggling player/AI pilot state.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 20:33:15 -07:00
Dan Albert
b38d271f10
Show player/AI status for pilots.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 19:47:53 -07:00
Dan Albert
8b8d1e87e7
Track missions flown for each pilot.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 19:04:06 -07:00
Dan Albert
8b8e018521
Fix cases where pilots were not returned.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 18:49:19 -07:00
Dan Albert
5277beede3
Show active and available pilots in air wing view.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 18:18:22 -07:00
Dan Albert
57a2457050
Show aircraft type in the squadron list.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 17:49:53 -07:00
Dan Albert
49102e510d
Disallow creating missions with missing pilots.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 17:49:53 -07:00
Dan Albert
e7b8548698
Clean up more delegates.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 17:49:53 -07:00