Commit Graph

5179 Commits

Author SHA1 Message Date
Raffson
531625ff08 Designated CTLD zones for ControlPoints (AB/FOB/FARP)
Resolves #46
2023-01-21 00:24:42 +01:00
Raffson
0d57f710aa Fix exception when airfields use GUARD freqs 2023-01-20 22:10:02 +01:00
Raffson
0da431fe33 Cleanup print statement 2023-01-20 20:41:47 +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
MetalStormGhost
3313535b27 Add fallback terrain icons in campaign selector (#80) 2023-01-14 14:33:05 +00:00
Raffson
cccc6e5a44 Reserve GUARD freq. 243MHz
Fix #79
2023-01-13 23:03:28 +01:00
Raffson
8b802a9cbc Fix issue in migrator when package has no flights
Would cause an exception because `PackageWaypoints.create(p, c)` would call `package.departure_closest_to_target()` on its turn which raises a runtime exception if no flights are present. Makes total sense when you think about it...

Fixes #66
2023-01-13 22:26:59 +01:00
Raffson
0a3a56d4bc Propagate update_flight event in '_instant_relocate' instead
Dropped the ball here, and pretty hard too...
2023-01-13 22:26:59 +01:00
Raffson
7bae6cd562 Add package frequency
Part of #70
2023-01-13 22:26:58 +01:00
Raffson
e8151678dd Fix UI bug in CreateFlight window
Pilot's player checkbox would be enabled for non-flyable aircraft if the initially selected aircraft that was flyable.
2023-01-13 22:26:58 +01:00
Raffson
9dd6022907 Fix Apache radios
Co-Authored-By: Grizzly35 <116302517+Grizzly35@users.noreply.github.com>
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
cc9f61005b Update pydcs
Solves callsign problem mentioned in discord, where they would always look like "Callsign 1X"
2023-01-07 18:05:29 +01:00
MetalStormGhost
48ba8ff255 Fixed a FrontLine import bug in flightplanbuilder.py (#72)
Restored the default patrol duration handling in PackageRefuelingFlightPlan. Desired tanker on-station time will now only apply to TheaterRefuelingFlightPlan.
2023-01-07 13:54:30 +01:00
Raffson
3f570cce5e Update build.yml 2023-01-06 21:19:31 +01:00
MetalStormGhost
01ee24c8cf Configurable tanker on-station time (#69) 2023-01-06 20:11:24 +01:00
dependabot[bot]
1deff6fa49 Bump json5 from 1.0.1 to 1.0.2 in /client (#68)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 19:17:30 +01:00
Raffson
4404d31c7b Remove future from requirements.txt
Dependabot warns us about this package having security issues, and it seems this package isn't used throughout the project.
2023-01-05 19:06:31 +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
df642fe7a1 Set altitude for assault waypoint if Hercules 2023-01-02 18:58:45 +01:00
Raffson
cb8f2619f2 Update changelog 2023-01-02 02:35:14 +01:00
Raffson
2aed461b3a Add custom name for packages in ATO overview
Resolves #55
2023-01-02 02:35:14 +01:00
Raffson
f4d75a2c6f Allow edit of flight's custom name 2023-01-02 02:26:12 +01:00
Raffson
e36d51a7c2 Adjust string representation of Flight class 2023-01-02 01:22:22 +01:00
Raffson
7267b70066 Update issue templates according to new labels 2023-01-02 01:07:09 +01:00
Raffson
62d1a89269 Add clone buttons for flights & packages
Resolves #56
2023-01-02 01:04:30 +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
MetalStormGhost
42f488df0b Renamed Liberation to Retribution in the following files: (#62) 2023-01-01 15:29:08 +01:00
MetalStormGhost
d2a7de2775 Add new option in settings: OPFOR autoplanner aggressiveness (#61)
"Threatened" threshold based on a suggestion from FinCenturion. (#61)
2023-01-01 15:21:08 +01:00
Raffson
ee1fc53dd3 Add button to rename pilots in air wing 2023-01-01 00:46:31 +01:00
Raffson
192741af36 Make units selectable in faction overview during campaign gen
Resolves #35
Resolves #40
2022-12-31 23:27:11 +01:00
Raffson
cd4ace4ad5 Rename custom factions folder 2022-12-30 13:59:23 +01:00
Raffson
39426dde45 Option to define culling exclusion radius in campaign yaml file 2022-12-27 22:29:08 +01:00
Raffson
bd4eb3e105 Fix wrong payload names for ANTISHIP in F16/18 2022-12-27 21:59:41 +01:00
Raffson
c37c56c879 Air Assault for C-130 mod
Resolves #49
2022-12-27 21:51:14 +01:00
Raffson
d26fc84316 Automatically set 'herculescargo' plugin if present in air wing 2022-12-27 21:51:13 +01:00
Raffson
33586aaf4f Remove C47 from AI DB flight planner
Until this aircraft actually drop troops, it's not air assault capable
2022-12-27 21:51:13 +01:00
Raffson
650b06d7c8 Avoid random squadrons in config using livery overrides
Avoids choosing random squadrons during air wing configuration so that livery overrides takes precedence by default for a given aircraft type, unless the campaign file specifies a specific squadron. Users can still add a squadron manually which will automatically set the correct livery if they use a squadron preset.

Resolves #52
2022-12-27 21:51:13 +01:00
Raffson
09807b25a8 Bumb version 2022-12-27 21:51:12 +01:00
Raffson
13d42c3f83 Add icon & banner for Hercules mod
Resolves #51
2022-12-27 21:51:12 +01:00
Raffson
6966b14c6b Minor bugfix in squadron transfer destination combobox 2022-12-27 21:51:12 +01:00
Raffson
00ab0c4be2 Add "Instant Squadron Transfer" cheat option
Resolves #14
2022-12-27 21:51:11 +01:00
Raffson
5c06e74659 Auto-swap ATFLIR to LITENING for land-based Hornets
Resolves #50
2022-12-27 21:51:11 +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
holyorangejuice
fa093ea237 Updated F18 and F16 payloads (#48)
Following loadouts have been configured F-16C:
- ANTISHIP: 2xAIM120C, 2xAIM9X, 2xAGM65K, 2x Fuel Tank, ALQ-184, TGP
- BAI: 2xAIM120C, 2xAIM9X, 6xAGM65D, 2x Fuel Tank, ALQ-184, TGP
- BARCAP: 4xAIM120C, 2xAIM9X, 2x Fuel Tank -> Inherited by TARCAP, Fighter Sweep & Escort
- CAS: 2xAIM120C, 2xAIM9X, 6xAGM65H, 2x Fuel Tank, ALQ-184, TGP
- DEAD: 2xAIM120C, 2xAIM9X, 2xAGM154A, 2x Fuel Tank, ALQ-184, TGP + HTS
- Ferry: 2xAIM120C, 2xAIM9X, 2x Traveling Pod, 2x Fuel Tank
- OCA Runway: 2xAIM120C, 2xAIM9X, 2xGBU31v3, 2x Fuel Tank, ALQ-184, TGP
- SEAD: 2xAIM120C, 2xAIM9X, 2xAGM88C, 2x Fuel Tank, ALQ-184, TGP + HTS -> Inherited by SEAD Escort
- STRIKE: 2xAIM120C, 2xAIM9X, 2xGBU31v1, 2x Fuel Tank, ALQ-184, TGP

Following loadouts have been configured F-18C:
- ANTISHIP: 1xAIM120C, 2xAIM9X, 4xAGM84D, 1x Fuel Tank, ATFLIR
- BAI: 1xAIM120C, 2xAIM9X, 4xAGM65F, 1x Fuel Tank, ATFLIR
- BARCAP: 5xAIM120C, 2xAIM9X, 2x Fuel Tank -> Inherited by TARCAP, Fighter Sweep & Escort
- CAS: 1xAIM120C, 2xAIM9X, 4xAGM65F, 1x Fuel Tank, ATFLIR
- DEAD: 1xAIM120C, 2xAIM9X, 4xAGM154C, 2x Fuel Tank, ATFLIR
- Ferry: 1xAIM120C, 2xAIM9X, 3x Fuel Tank, ATFLIR
- OCA Runway: 1xAIM120C, 2xAIM9X, 2xGBU31v4, 2x Fuel Tank, ATLFIR
- SEAD: 1xAIM120C, 2xAIM9X, 2xAGM88C, 2x Fuel Tank, TGP + HTS -> Inherited by SEAD Escort
- STRIKE: 1xAIM120C, 2xAIM9X, 2xGBU31v2, 2x Fuel Tank, ATFLIR
2022-12-25 15:42:05 +01:00