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
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
Brock Greman
9d1060975e
Fixes the ugly border on the Air Inventory View
2021-05-30 16:47:18 -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
SnappyComebacks
d440dc00f1
Purchase reserves at front lines.
...
This changes the ground unit purchase behavior such that the supply
limit is exceeded by 30%, with the extra units kept in reserve.
The old hard cap of 50 units is no longer needed, since the ammo supply
now does the same task, so that's been removed.
2021-05-30 13:04:18 -07:00
Florian
d61382f4e2
Maintain composition when buying ground units.
...
Unit composition is defined by the doctrine. The most understaffed CP
will now get the most underrepresented unit type. Previously a random
understaffed CP would get a random unit type.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1057 .
2021-05-30 12:52:35 -07:00
Khopa
d4fe893539
Updated "Russia Small" campaign to 5.0 (ammo depots)
2021-05-30 17:58:56 +02:00
Khopa
1af95955b6
Base menu UI : Added ammo depots & factory information (WIP UX)
2021-05-30 17:49:15 +02:00
Khopa
4eb78810c6
Merge branch 'develop' into helipads
...
# Conflicts:
# resources/campaigns/golan_heights_lite.miz
2021-05-30 17:29:55 +02:00
Khopa
a43e926dd2
Updated campaign "Golan Height" for v5.0 (Ammo depots)
2021-05-30 16:59:02 +02:00
Khopa
ff49046bfa
Updated locales for a few factions
2021-05-30 16:57:51 +02:00
SnappyComebacks
95b0b851a5
Limit front line size with ammo depots.
...
This limit is determined by the number of buildings that belong to Ammo
Depots at the front line's connected Control Point. The limit increases
for every surviving building at ammo depot objectives.
There is a lower limit to the number of units that will spawn, so that
if there are no surviving ammo depot buildings at a control point, there
will still be some ground conflict.
2021-05-29 13:25:23 -07:00
Dan Albert
077ca19912
Add ammo depots to Abu Dhabi and Inherent Resolve.
...
IR gets one per base to maintain the old behavior. Abu Dhabi has a bit
more variety, with major bases like Al Dhafra and Bandar Abbas getting
two and FOBs getting none.
2021-05-29 12:36:05 -07:00
Brock Greman
089cc23648
Fixing duplicate connected CPs between Beslan and Modok and Beslan and Nalchik.
2021-05-29 03:05:22 -07:00
Dan Albert
e6b9a73d03
Improve AI air defense target prioritization.
...
Target the air defenses whose *threat ranges* come closest to friendly
bases rather than the closest sites themselves. In other words, the
SA-10 that is 5 miles behind the SA-6 will now be the priority.
This also treats EWRs a bit differently. If they are not protected by a
SAM their detection range will be used for determining their "threat"
range. Otherwise a heuristic is used to determine whether or not they
can be safely attacked without encroaching on the covering SAM.
2021-05-28 19:27:02 -07:00
Dan Albert
cea264e871
Remove special case behavior for FOB missions.
...
The only difference from the main CP types was that it didn't support
AEW&C (which shouldn't have been on the main ControlPoint class anyway)
and add strike.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1132
2021-05-28 18:02:57 -07:00
Dan Albert
d0bde7b016
Check for interesection when localizing.
...
Apparently it is possible to place an objective exactly on the boundary
of a navpoly.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1140
2021-05-28 17:26:46 -07:00
Dan Albert
5b271df66f
Propagate planning error for package waypoints.
...
We did this for the flight plan itself, but did not if the package
waypoints failed to generate.
https://github.com/dcs-liberation/dcs_liberation/issues/1140
2021-05-28 17:26:31 -07: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
a2abdcf5d3
Ensure that a transit path exists for recruitment.
...
Networks can be disconnected even by airlift because FOBs are not
airports.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1147
2021-05-28 16:28:50 -07:00
Dan Albert
d4e843983d
Add more tracing for turn processing.
...
Most of the time (1-2 seconds) is going to flight plan layout. There
don't seem to be any easy opportunities for improvement.
2021-05-28 15:31:33 -07:00
Dan Albert
6e41c36a44
Fix replacing unassigned pilot slots.
2021-05-27 22:51:11 -07:00
Dan Albert
1fe3451120
Set locales for some factions.
...
Far from complete.
2021-05-27 21:37:04 -07:00
Dan Albert
bc4a95d0a5
Un-WIP squadrons in the changelog.
...
This is feature complete.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 21:05:01 -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
1795ed7617
Limit squadron tasks to those of the aircraft.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 20:27:45 -07:00
Dan Albert
e8edb31be3
Revert "Don't assign pilots to unused aircraft."
...
The unitmap needs to account for this.
This reverts commit dae3835eb0ef8571d15f8df515587578d8d40381.
2021-05-27 20:02:39 -07:00
Dan Albert
58fd30e6ad
Add the 15th Airlift Squadron.
2021-05-27 19:58:45 -07:00
Dan Albert
9a34ada258
Clear last turn's procurement requests each turn.
...
Without this, *this turn's* urgent requests are lower priority than last
turn's stretch goals. The requests are remade every turn so we lose
nothing by removing this.
Bug was introduced by f69450e2ae24df81d42b1ebc63d8375731154612, so this
doesn't affect 2.5.
2021-05-27 19:58:45 -07:00
Dan Albert
748a752e29
Fix pydcs loadout cache for command line launcher.
2021-05-27 19:58:45 -07:00
Dan Albert
37748ef3bd
Obey squadron mission types when planning airlift.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 19:58:45 -07:00
Dan Albert
d41007de8e
Add VFA-192.
2021-05-27 19:58:45 -07:00
Dan Albert
45befd440c
Consider squadron for task capability checking.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 19:58:45 -07:00
Dan Albert
a2c10f1c7a
Check for compatible squadrons when buying planes.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 19:58:45 -07:00
Dan Albert
d7768f86d3
Obey squadron mission types in auto-planning.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 19:58:45 -07:00
Dan Albert
dae3835eb0
Don't assign pilots to unused aircraft.
...
These "flights" are only created so that we can spawn the aircraft on
the ramp for OCA strikes. They shouldn't have pilots assigned.
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