4785 Commits

Author SHA1 Message Date
MetalStormGhost
54777a9045
Helicopter waypoint altitude configurable (#207)
* Helicopter waypoint altitude configurable

Added a new option in Settings: Helicopter waypoint altitude (feet AGL).
It sets the waypoint altitude for helicopters in feet AGL. In campaigns in more mountainous areas, you might want to increase this setting to avoid the AI flying into the terrain.

* black?

* Distinguish cruise/combat altitudes for helicopters

Also includes a refactor for WaypointBuilder so it doesn't need a coalition. It can already reference the coalition from the flight.

* Update changelog.md

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2023-10-02 18:54:21 +02:00
Raffson
226a171550
Fix missing argument exception 2023-10-02 17:50:55 +02:00
Raffson
227134d9c1
Fix default cargo_ship name 2023-10-02 17:42:14 +02:00
Raffson
b3f5afe36b
Fix 'game not defined' exception 2023-10-01 22:37:17 +02:00
Raffson
2c6c2e5fbd
Update Skynet with baleBaron's 'ActMobile' version
Resolve #205

TODO: have all SHORADs use the 'ActMobile' functionality
2023-10-01 22:01:52 +02:00
Raffson
d4eefd0b55
Streamlining 2023-10-01 21:56:30 +02:00
Dan Albert
110866cd34
Add missing LANTIRN clsid. 2023-10-01 20:11:37 +02:00
Dan Albert
279572ae09
Add tests for LaserCodeRegistry, clean up.
* Store a deque rather than an iterator so it can be pickled
* Remove mangling from staticmethod (and rename now that it's no longer
  a generator)
* Rename "get" to "alloc" to make the mutation clear
* Move to its own package (the changes I'm working on make this no
  longer mission generator specific)
* Remove useless exception class. It's never caught so the unique type
  isn't needed
2023-10-01 20:11:37 +02:00
Dan Albert
485229b92f
Allow per pilot loadouts and properties.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3092.
2023-10-01 20:10:16 +02:00
Raffson
8e670e1a3c
Formatting 2023-10-01 19:32:20 +02:00
Dan Albert
bce6a170b8
Improve UI for flight properties.
Use the new data from pydcs to improve the properties UI:

* Use human readable names
* Use appropriate control types
* Limit min and max values as appropriate for each property
* Show labels

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3090.
2023-10-01 19:28:52 +02:00
zhexu14
a0fdfa11e2
Fix anti-runway task generation for LGBs. 2023-10-01 19:26:24 +02:00
Dan Albert
7303c8fa20
Add cheats for destroying and repairing runways. 2023-10-01 19:26:23 +02:00
Dan Albert
855fa1347b
Fix canceling transfers when the airbase is full.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2955.
2023-10-01 19:26:23 +02:00
Raffson
5758436dbf
Move WW2 factions to WW2 transports.
Only for those that require the WW2 asset pack. There don't appear to be any free WW2 transports.

Co-Authored-By: Dan Albert <danalbert@google.com>
2023-10-01 19:26:22 +02:00
Dan Albert
a343bdef23
Allow factions to specify their cargo ship type.
https://github.com/dcs-liberation/dcs_liberation/issues/3039
2023-10-01 19:26:22 +02:00
zhexu14
d3b0ae30eb
Allow more helicopters to operate from LHAs and CVs.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/3072.
2023-10-01 19:26:22 +02:00
Dan Albert
2c7e877086
Always initialize IADS coalition lua tables.
These are read unconditionally, but were only initialized when the
coalition had nodes. When a coalition had no nodes, this caused a nil
access. It's unclear if that had any symptoms, but I expect at the very
least it would break the remainder of the script (so a non-functioning
blue IADS if the red IADS had no nodes).

There's a very small chance this is the culprit behind
https://github.com/dcs-liberation/dcs_liberation/issues/3073.
2023-10-01 19:26:21 +02:00
Dan Albert
12cdb8646c
Improve IP selection near threat zone centers.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2754.
2023-10-01 19:26:21 +02:00
Dan Albert
f89ac52bf3
Clean up remaining Flight.from_cp users.
The preferred API for this has been `Flight.departure` for a while.
2023-10-01 19:26:20 +02:00
Raffson
5e858731d2
Change task for 'Freya' preset group to AAA 2023-10-01 17:59:28 +02:00
Raffson
30f6c14030
Fix bug in migrator 2023-10-01 17:21:57 +02:00
Raffson
78e07fec83
Add comment 2023-10-01 13:02:40 +02:00
Raffson
1cf871c150
Add radio config for Hercules 2023-10-01 12:56:13 +02:00
Raffson
8e821c50e5
Interpret integer radio_preset keys as radio_id
Allows for configuration of radios 3, 4, 5,...
2023-09-30 20:19:09 +02:00
Raffson
3024bd6479
Fix Hercules AirAssault exception 2023-09-30 19:37:16 +02:00
Raffson
105d1abba8
Try determining intra-flight modulation in squadron config 2023-09-30 18:34:55 +02:00
Raffson
3b7077e593
Use all modeled radio-bands in freq-selector 2023-09-30 17:46:28 +02:00
Raffson
d581af3b8a
Remove flights with package not in ATO in migrator 2023-09-24 22:14:26 +02:00
Raffson
e8929467e0
Consolidate capture radius 2023-09-23 19:38:48 +02:00
Raffson
234dc52c7e
Make AirAssault auto-plannable 2023-09-23 19:38:29 +02:00
Raffson
ea74471307
Avoid refuel waypoint if air wing can't plan refuel flight 2023-09-23 17:25:12 +02:00
Raffson
b870198281
Add Starfire's Final Countdown II campaign 2023-09-23 17:11:44 +02:00
Raffson
389037e6bf
Don't scrub missions with unplannable escort types
The check for whether or not the escort is actually needed happens later, and thus the mission can still be scrubbed if it's too dangerous. However, missions should not be scrubbed when a particular escort type is unplannable, yet not needed. Only if the primary flight type is not plannable should the mission immediately be scrubbed
2023-09-23 16:51:26 +02:00
Raffson
167d048232
Fix bug in reserve freqs & tacan 2023-09-17 14:25:46 +02:00
Raffson
59871ac36c
Only assign TACAN to compatible tankers 2023-09-17 14:25:46 +02:00
Raffson
bd3205a442
Update red squadrons for TbilisiGap 2023-09-17 13:02:32 +02:00
Raffson
00a2d77543
Update tasking for MiG-29G 2023-09-17 13:02:32 +02:00
Raffson
1b000e83df
Fix "no-purchase" bug at turn 0 2023-09-17 13:02:32 +02:00
Raffson
3787ec3039
Add radio config for UH-60L 2023-09-17 11:45:01 +02:00
Raffson
e341599a11
Account for parking-slot size during retreat
Fix #129
2023-09-09 13:20:56 +02:00
Raffson
e50d49d7ba
Ability to disable cargo-ships
Fix #76
2023-09-09 12:09:57 +02:00
Raffson
0cb3702eb9
Fix exception after new payload file was saved
When a new payload file would be saved, the subsequent flight would always throw an exception (until Retribution would be restarted) because the payload_cache wasn't updated until now.
2023-09-09 12:03:47 +02:00
Raffson
09749bc088
Use squadron radio_preset freq as flight freq if present 2023-09-08 20:38:17 +02:00
Raffson
0b152c201d
Fix rounding errors for squadron's radio presets 2023-09-08 19:22:01 +02:00
Raffson
fe470ad9c6
Migrator fix 2023-09-08 17:17:14 +02:00
Raffson
d22bfd0804
Fix 'IndexError' exception 2023-09-08 17:17:14 +02:00
dependabot[bot]
1ba3f2fbb4
Bump @adobe/css-tools from 4.1.0 to 4.3.1 in /client (#202) 2023-09-04 00:54:44 +02:00
dependabot[bot]
688b7f4469
Bump certifi from 2023.5.7 to 2023.7.22 (#201) 2023-09-04 00:53:43 +02:00
Raffson
a8a37fa3e7
Add GroupTask to TGO for map filtering
Resolves #21
2023-09-03 23:41:15 +02:00