153 Commits

Author SHA1 Message Date
Raffson
d410f9d3c4
Formatting... 2023-02-02 21:41:01 +01:00
Raffson
5d506ca97e
Fixes for Tanker TACAN
- Y band was not having range info
- Callsign number was missing
2023-02-02 21:28:17 +01:00
Raffson
5c8e783980
Fix AAR TCN on Yankee band 2023-01-29 22:26:51 +01:00
Raffson
b7d95819c1
Don't strip all digits from air support's callsign 2023-01-29 22:26:50 +01:00
Raffson
0d57f710aa
Fix exception when airfields use GUARD freqs 2023-01-20 22:10:02 +01:00
Raffson
88f984b0a8
Configurable RF/TCN/ICLS/LINK4 with UI feedback
Resolves #70

Freq/Channel will turn orange when double booked.
Freq will turn red if GUARD freq was assigned.
2023-01-17 18:32:20 +01:00
Raffson
ddb9d6968b
Reserve VHF Guard FREQ 121.5 2023-01-15 02:35:01 +01:00
Raffson
cccc6e5a44
Reserve GUARD freq. 243MHz
Fix #79
2023-01-13 23:03:28 +01:00
Raffson
7bae6cd562
Add package frequency
Part of #70
2023-01-13 22:26:58 +01:00
Raffson
48e0d579cf
Add package frequency & show package info on kneeboard
Resolves #71
2023-01-13 22:26:57 +01:00
Raffson
989562b90f
Avoid appending triggers without actions
Resolves #67

The problem turned out to be split-triggers with no actions, which occurs when a STRIKE flight has no escorts in its package. Added a guard for this so the trigger isn't pushed to the mission in such a case.
2023-01-05 19:06:31 +01:00
Raffson
bd63e4484d
Random 5-30min delay for ground force attack without CAS 2023-01-03 20:52:17 +01:00
Raffson
f4d75a2c6f
Allow edit of flight's custom name 2023-01-02 02:26:12 +01:00
Raffson
6d0ac603f2
Generate packages according to TOT order (latest first, earliest last)
This makes sure that aircraft spawning in the air due to a shortage of parking spots, will have the earliest TOT possible. Flights with later TOTs should be generated first so that they remain at the airfield as OCA target.
2023-01-01 16:56:05 +01:00
Raffson
37f2e5bf3a
Use stacking algorithm in "_generate_over_departure"
Resolves #57

"_generate_over_departure" is the method used to generate flights in the air when no more parking spots are available. Pydcs changes were required as it turned out aircraft were trying to spawn on helicopter parking spots, which forces them to start in the air by DCS itself.
2023-01-01 16:56:04 +01:00
Raffson
9ddaf50ad4
Refactor logic wrt "disable idle aircraft" 2023-01-01 16:06:36 +01:00
Raffson
c37c56c879
Air Assault for C-130 mod
Resolves #49
2022-12-27 21:51:14 +01:00
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