4844 Commits

Author SHA1 Message Date
Dan Albert
26a71f4f0e
Add laser code property info for the Strike Eagle. 2023-10-07 14:11:09 +02:00
Dan Albert
a366aebbb2
Add laser code config parsing and prop generation. 2023-10-07 14:11:09 +02:00
Raffson
1ce8d9c2b7
Cleanup after cherry-pick 2023-10-07 14:08:53 +02:00
Dan Albert
17e539e524
Add UI for acquiring/releasing TGP laser codes. 2023-10-07 14:06:13 +02:00
Dan Albert
177f357492
Pre-allocate laser codes for FLOTs and flights. 2023-10-07 14:06:12 +02:00
Dan Albert
723e191f10
Create a checked, releasable type for laser codes.
The release behavior isn't used yet, but I'm working on pre-allocating
laser codes for front lines and flights to make it easier for players to
pick the laser codes for their weapons.
2023-10-07 14:03:36 +02:00
Raffson
cb6bffe3ec
Split procurement settings for blue & red
Resolves #208
2023-10-07 13:53:29 +02:00
MetalStormGhost
1ebc289fb7 Added support for ground power truck types in farp_truck_types_for_country(). Aircraft which require ground power to start, when ground power trucks have been disabled for performance reasons, will now be warm started automatically. 2023-10-06 07:58:06 +02:00
MetalStormGhost
d271428f9d Implemented ground power trucks for ground spawns. Added settings to turn them off or on. 2023-10-06 07:58:06 +02:00
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