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
Schneefl0cke
203f0d3851
Introduce recon unit type, adjust ratios.
2021-06-02 23:00:35 -07:00
Dan Albert
2dc2681f84
Attach bug URL to a TODO.
2021-06-01 20:16:33 -07:00
Dan Albert
e022ffee62
Auto-ASAP player missions.
2021-05-31 20:05:04 -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
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
c42974f7b3
Update FOB icon.
...
Also removes the possibility of generating FOBs that are not FOBs.
2021-05-31 13:14:45 -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
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
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
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
1af95955b6
Base menu UI : Added ammo depots & factory information (WIP UX)
2021-05-30 17:49:15 +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
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
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
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
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
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
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
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
f619b6b9fc
Choose player pilots based on player preference.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 16:00:27 -07:00
Dan Albert
bcccb3206d
Connect auto-ATO disable option.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/315
2021-05-27 15:43:47 -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
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
82ce688a0d
Allow players to be defined in the squadron file.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 01:15:52 -07:00
Dan Albert
f36757b650
Add livery selection for predefined squadrons.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 00:56:05 -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
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
cd6de191d1
Track pilot deaths.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 18:54:07 -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
2f8656d54f
Generate random squadron nicknames.
...
A little weird that the animal names aren't plural, but good enough.
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 17:49:53 -07:00
Dan Albert
4147d2f684
Initial squadrons implementation.
...
Doesn't actually do anything yet, but squadrons are created for each
aircraft type and pilots will be created as needed to fill flights.
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 17:49:53 -07:00
Dan Albert
6b30f47588
Fix airlifts always using player country.
2021-05-26 16:48:36 -07:00
Dan Albert
f2bd7300aa
Improve precision of kneeboard lat/lon.
...
DMS with decimal seconds is what the hornet uses for PP targest. In the
future we'll want to make this aircraft specific (and potentially user
preference for jets like the A-10 that can handle both L/L and MGRS).
2021-05-24 18:06:47 -07:00
Dan Albert
62b743025a
Fix supply route clobbering, make immutable.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1083
2021-05-23 17:30:50 -07:00
Dan Albert
d15ef63182
Remove unused method of ControlPoint.
2021-05-23 17:17:59 -07:00