236 Commits

Author SHA1 Message Date
Raffson
b0a0050725
Delay ground force attack until first friendly CAS TOT
If no friendly CAS flight was planned, no delay is planned...
2022-12-27 21:51:10 +01:00
Raffson
c5a7fbd15a
Remove deprecated options 2022-12-27 21:51:10 +01:00
Raffson
653e507e89
Set "RTB on bingo" false for ferry flights 2022-12-20 20:56:30 +01:00
Raffson
c114256b82
Renaming Liberation
Resolves #42
2022-12-20 20:46:32 +01:00
Raffson
5ff8fb170d
Only check for ground units in capture triggers 2022-12-18 16:42:40 +01:00
Raffson
d5de5b3a78
Stack aircraft when spawning right above CP
Should prevent mid-air collisions in most cases, though I'm still worried about "off map" spawns that can possibly collide, though an easy fix would be to manually use time-spacing.
Alternatively we need to treat it as a special case, assigning different altitudes to avoid collisions during the first leg of the flight if that turns out to be the case...
2022-12-18 16:42:38 +01:00
Raffson
64992a2949
Wrap target description for strike waypoints on kneeboard
Resolve #39
2022-12-17 16:02:29 +01:00
MetalStormGhost
15f6c8dd85
Add new performance option: Disable idle aircraft at airfields (#37) 2022-12-16 18:59:21 +01:00
Raffson
608525d5b4
Add game master slot & more observer/commander slots 2022-12-11 21:36:41 +01:00
MetalStormGhost
dfa33724e9 B1-B bomber strike ingress now has expend=Expend.All and WeaponType.Guided strike mission. 2022-12-03 22:43:20 +02:00
MetalStormGhost
f5c7935993
GroundForcePainter for applying custom liveries to ground units and ships (#26)
See #26 for more info
2022-12-03 16:11:22 +01:00
MetalStormGhost
0c30ce3bb3
Revert "Revert "Add support for the AI-only F-14A."" (#27)
This reverts commit 920c9b15ff815b5df08ff90c4a6b0a10cce3e169.
2022-12-03 14:31:40 +01:00
Raffson
b9c62bc44a
primary flight dead => escort RTB
Make sure trigger isn't activated when split flag was already set to true
2022-12-02 23:08:45 +01:00
Raffson
243ded448d
Improve bomber tasking 2022-12-02 23:08:44 +01:00
Raffson
07d0e555e5
Limit spacing 2022-11-27 21:09:51 +01:00
Dan Albert
499e63e2c3
Unfilter the custom waypoint targets.
There doesn't appear to be any reason for us to be poking at
implementation details here aside from changing the name from "unit" to
"building" for that case. Just iterate over the known strike targets.

Making this change uncovered some latent type errors.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2564.
2022-11-26 17:38:00 +01:00
RndName
8292da414d
Add Airfield to list of capture zone types
This will create capture zones and the trigger rules to check for a base capture. Will fix an issue where the dcs capture event is not fired and therefore the capture not recognized by liberation
2022-11-26 16:26:12 +01:00
Raffson
e541111a27
Remove obsolete files 2022-11-20 16:29:19 +01:00
Dan Albert
0499ded1b3
Clarify AirAssault flight plan method name.
`engagement_distance` is used elsewhere to mean commit distance, so this
looked like a bug when I stumbled across it. Rename it to be more
explicit.
2022-11-20 16:07:00 +01:00
SnappyComebacks
9fa04702af
Wind & Turbulence updates from Liberation
Tune turbulence values.

Modify the range of values used to choose a wind speed.

Wind speed at high elevation IRL can range from 20 to 160 knots around the globe.
You may see wind speed generated here up to 100+ knots, but generally around 40 or so.
IRL wind speed appears to depend on the latitude of the sun, not in this implementation.

Note increased wind speeds in the changelog.

Limit wind speed to 97 knots.

Made minor adjustments to wind speed calculation.

Calculate turbulance.

Turbulance is based off time of day, and day of year.
Each theatre may adjust their turbulance parameters.

Spell turbulence correctly.
2022-11-20 16:07:00 +01:00
RndName
b49562f4bc
Airlift & AirAssault updates from Liberation
Cleanup and reword refuel waypoints

- rename Stopover back to CargoStop
- precise some waypoint naming

Cleanup and refine airlift and airassault waypoints

- Drop Off and Pickup now correctly worded
- Helo waypoints now represent LandingZones for pickup and dropoff

Forbid planes from air assault.

Make air assault drop-off non-optional.

There is always a drop-off location for troops.

Add docs explaining what the assault area is.

Add error handling for cargo drop waypoints.

Document some airlift waypoint behavior.

Remove unnecessary refuel waypoint in airlifts.

Remove CTLD logic from Airlift flightplan for AI

Add Ingress Point to AirAssault FlightPlan

Add simulation halt at AirAssault ingress

Remove AirAssault completly from AutoPlanner

Remove unneeded LandRefuel from Airlift

Clarify cargo waypoints for AirLift and AirAssault
2022-11-20 16:06:59 +01:00
Raffson
547f1aed75
Use flag to indicate end of escort task 2022-11-19 22:47:33 +01:00
Raffson
004a99e080
Cleanup 2022-11-13 22:38:24 +01:00
Raffson
7e51061582
Formatting 2022-11-13 22:38:23 +01:00
Raffson
e71ff17a23
Fix mypy errors 2022-11-13 22:38:23 +01:00
Raffson
3f79fa5b9d
Lock speed during strike ingress 2022-11-13 22:38:22 +01:00
Raffson
322a6a700a
Reconfigure escort task 2022-11-13 22:38:22 +01:00
Raffson
ba66c18f28
Allow AI to jettison empty tanks 2022-11-13 22:38:22 +01:00
Raffson
5f10154000
Add triggered waypoint switch to strike escorts 2022-11-13 22:38:21 +01:00
Raffson
66290fe1ce
Lock speed towards split & set flag upon arrival 2022-11-13 22:38:21 +01:00
Raffson
0c3340b543
Set refueling probability to 10% 2022-11-13 22:38:21 +01:00
Raffson
395969a371
Initial attempt at fixing escorts 2022-11-13 22:38:20 +01:00
Raffson
5668c37127
Fine-tune briefing formatting 2022-11-10 17:43:05 +01:00
Raffson
3ce66894f0
Stop loiter 60 seconds earlier 2022-11-01 21:56:49 +01:00
Raffson
7e7c920816
Fix for orbit's broken stop condition 2022-10-29 23:54:01 +02:00
MetalStormGhost
07de598aec
Enabled SEAD Escort missions to be tasked on Naval targets and OCA/Aircraft missions on FARPs. When SEAD Escorts are tasked on Naval groups, they will also target ships. 2022-10-25 19:16:21 +02:00
Raffson
a736bf9b09
"Optimize Imports" in game & qt-ui
Adjustments made by PyCharm
2022-10-24 18:54:41 +02:00
Dan Albert
920c9b15ff
Revert "Add support for the AI-only F-14A."
AI behavior with the Heatblur F-14 has been fixed, so not needed any
more.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1927.

This reverts commit 7387c2ed8f1662686b9df63ad9e6dc4808eee8b0.
2022-10-02 19:56:49 +02:00
Dan Albert
868c38b782
Remove unused data.
We get TACAN, ILS, and ATC data from pydcs now. The rest of this
manually curated data is unused.
2022-10-02 19:56:48 +02:00
Dan Albert
631ee96bbe
Move beacons module.
This isn't related to the missiongenerator, and importing this file from
some places (such as runway data) will cause a circular reference when
importing the rest of the missiongenerator package.
2022-10-02 19:56:47 +02:00
Dan Albert
2c53f7952f
Alter the beacon format to be keyed by ID.
ID based lookup will be used for finding ILS and TACAN beacons from the
pydcs data.
2022-10-02 19:56:47 +02:00
Raffson
d8509ef736
New performance option: front-line troops prefer roads
Co-Authored-By: MetalStormGhost <89945461+MetalStormGhost@users.noreply.github.com>
2022-10-02 19:56:45 +02:00
Raffson
a81b4ffd05
New performance option: disable convoys
Co-Authored-By: MetalStormGhost <89945461+MetalStormGhost@users.noreply.github.com>
2022-10-02 19:56:45 +02:00
Dan Albert
d6bd5184b6
Speed up computation of front line positions.
Needs to be properly measured, but this has made a multi-second speedup
in turn times.
2022-09-25 14:53:41 +02:00
Dan Albert
ac49772584
Remove error handling for impossible case. 2022-09-25 14:53:41 +02:00
Dan Albert
459c8d02f9
Remove unused behavior from frontline positioning. 2022-09-25 14:53:41 +02:00
Dan Albert
197b9795f8
Make FrontLineBounds actually a bounds container. 2022-09-25 14:53:41 +02:00
Dan Albert
aeed7fd42a
Clean up one frontline bounds user. 2022-09-25 14:53:29 +02:00
Dan Albert
9eb2b6e006
Remove junk from FrontLineConflictDescription. 2022-09-17 14:47:15 +02:00
Dan Albert
16fdb889a7
Split air and ground conflict descriptions. 2022-09-17 14:42:19 +02:00