Commit Graph

1880 Commits

Author SHA1 Message Date
Raffson
608525d5b4 Add game master slot & more observer/commander slots 2022-12-11 21:36:41 +01:00
Raffson
436d2f87da Add F-16A MLU
Resolves #10
2022-12-10 17:28:02 +01:00
Raffson
2e2a397312 Increase Mirage F1's priority for RUNWAY_ATTACK 2022-12-10 17:28:02 +01:00
MetalStormGhost
48e5e7ca95 F-100 Super Sabre mod version 2.7.18.30765 patch 20.10.22 support (#32)
Also makes F-105G "SEAD Escort" capabale
2022-12-10 17:24:22 +01:00
MetalStormGhost
55fb5befb9 F-104C is now correctly removed from the faction when the mod is not enabled. (#33) 2022-12-10 17:17:35 +01:00
Raffson
a88f48f3ce Bump campaign version 2022-12-04 21:27:43 +01:00
MetalStormGhost
4af7255917 Cull FlightType.TRANSPORT, FlightType.AEWC & FlightType.REFUELING surroundings
Don't create culling exclusion zones around FlightType.TRANSPORT, FlightType.AEWC & FlightType.REFUELING mission targets. (#30)
2022-12-03 22:12:35 +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
Raffson
568fd35ddc Fix CAS' landing WPT 2022-12-03 16:31:03 +01: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 920c9b15ff.
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
ae561e5564 Remove 'initial' wpt from STRIKE 2022-12-02 21:37:08 +01:00
Raffson
07d0e555e5 Limit spacing 2022-11-27 21:09:51 +01:00
Raffson
e5c80ef3af Move Bronco down in CAS list, lowering priority 2022-11-27 21:09:13 +01:00
MetalStormGhost
8c9f07643f Add some South Atlantic naval assets (#23)
- Unit yamls for several ships and added some new ones to uk_1990.json
- 2 new layouts: Aircraft Carrier / LHA with Frigate escorts
- Add "HMS Invincible" as Control Point
2022-11-26 21:01:16 +01:00
Raffson
85607b97d5 Update ai_flight_planner_db.py 2022-11-26 17:50:01 +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
Raffson
11a3c49464 Correct radios for the MB-339A.
Cherry picked from e208df16b2ed9ea50e93b16d2eb8b8f4ffb22e82

Co-Authored-By: Dan Albert <danalbert@google.com>
2022-11-26 17:37:59 +01:00
RndName
4b0215c16f Remove dcs capture event from state json
With the latest change we added capture zones and corresponding trigger rules for all Airfields as well so we do not need to rely on the dcs capture event S_EVENT_BASE_CAPTURED anymore.
2022-11-26 16:26:12 +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
Dan Albert
f5ef509af6 Fix drop zone display for air assault.
Troops must be dropped inside this zone or they won't attack the target.
The zone needs to be drawn in the map so players don't break the flight
plan by accidentally moving the drop waypoint outside the DZ.

I've move the API for doing this out of `PatrollingFlightPlan` in favor
of a mixin so this is no longer presented as `engagement_distance` by
the flight plan. I don't love that it's still the `commit-boundary`
endpoint, but it's fine for now.

I don't know why mypy wasn't able to catch this. pycharm is also
struggling to understand this class.
2022-11-26 15:18:41 +01:00
Raffson
e541111a27 Remove obsolete files 2022-11-20 16:29:19 +01:00
Raffson
c0c310862a Increase default AI skill to Veteran 2022-11-20 16:20:09 +01:00
Dan Albert
65f09c46ca Fix typo. 2022-11-20 16:07:03 +01:00
Dan Albert
219b52fc12 Fix adding and removing waypoints in the UI.
This moves more of the logic out of the UI so mypy can actually spot
these mistakes more often.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2495.
2022-11-20 16:07:01 +01:00
Dan Albert
98e8fc88bd Add bug link for refuelzonegeometry. 2022-11-20 16:07:01 +01:00
Dan Albert
9a73a10a09 Remove refueling from sweep flights.
The timing for these doesn't work. Sweep RTBs at the same time the
package reaches its TOT. The tanker won't be on station until 1m30s
before the package reaches the refueling point.
2022-11-20 16:07:01 +01:00
Dan Albert
6ff3a34c14 Fix layout for TARCAP, Escort, and strike-like.
If there's a refuel point, nav from that, not from the patrol end/split.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1749.
2022-11-20 16:07:01 +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
Raffson
89c4cc9d79 Advanced IADS: Reconnect from config
Co-Authored-By: RndName <mail@rndname.de>
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
Nosajthedevil
5f15ddc52c Add OV-10A Bronco Mod 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
5aed3fbb87 Add migrator
Attempts to fix incompatibilities in save files across builds. The idea is to try and handle the incompatibility as graceful as possible, and adding more "incompatibility fixes" in the future.
2022-11-19 22:47:33 +01:00
Raffson
004a99e080 Cleanup 2022-11-13 22:38:24 +01:00
Raffson
2aee878a40 Adjust ai flight planner for (sead) escort 2022-11-13 22:38:24 +01:00
Raffson
ca042631b7 Always propose SEAD Escort 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
2270300177 Adjust flightplans for escorts 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