5326 Commits

Author SHA1 Message Date
MetalStormGhost
c4effe88ee Implemented adding ground unit groups to pretense data containers. 2024-02-06 10:58:26 +02:00
MetalStormGhost
ab76d18621 Deleted pretense/pretenseflightgroupconfigurator.py since it looks like it's not needed (at least for the time being). 2024-02-06 10:58:26 +02:00
MetalStormGhost
f7e618bd0f Tanker and AWACS frequency, TACAN and variant handling. 2024-02-06 10:58:26 +02:00
MetalStormGhost
73f7d94bda Dynamically generate Pretense air groups (pretense/pretenseluagenerator.py) 2024-02-06 10:58:26 +02:00
MetalStormGhost
33a2c27f5e Copied flightgroupconfigurator.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. 2024-02-06 10:58:25 +02:00
MetalStormGhost
17533399b3 Removed the reference to (nonexistent) NewPretenseWizard. 2024-02-06 10:58:25 +02:00
MetalStormGhost
cc713f089a First version of PretenseLuaGenerator, inherited from LuaGenerator 2024-02-06 10:58:25 +02:00
MetalStormGhost
84c20e8d81 ntentionally don't spawn anything at OffMapSpawns in Pretense 2024-02-06 10:58:24 +02:00
MetalStormGhost
c126d1dff7 Added newlines to Pretense init scripts. 2024-02-06 10:58:24 +02:00
MetalStormGhost
f500ec916e Split init.lua code into three pieces. 2024-02-06 10:58:24 +02:00
MetalStormGhost
842c2f8aaf Copied init.lua into init_header.lua, init_body.lua and init_footer.lua
The init.lua script will be generated by
 1. injecting the header, then
 2. generating the ZoneCommand zones, then
 3. generating ConnectionManager connections, then
 4. injecting init_body.lua, then
 5. generating sypply injection and finally by
 6. injecting init_footer.lua
2024-02-06 10:58:22 +02:00
MetalStormGhost
db993697f0 Lua scripts from Pretense Caucasus 1.3.5, credit: Dzsekeb, original author of DCS Pretense.
Used with permission.
2024-02-06 10:58:22 +02:00
MetalStormGhost
c8f78c1bf4 Copied luagenerator.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. 2024-02-06 10:58:22 +02:00
MetalStormGhost
9135a91bb9 Added Pretense icon, credit: Dzsekeb, original author of DCS Pretense.
Used with permission.
2024-02-06 10:58:22 +02:00
MetalStormGhost
94d755e9a0 Cleaned up some of my recent Pretense code. 2024-02-06 10:58:21 +02:00
MetalStormGhost
d09cb70948 Will now generate ground units for the Pretense campaign. 2024-02-06 10:58:21 +02:00
MetalStormGhost
86e32b1990 Copied tgogenerator.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. 2024-02-06 10:58:21 +02:00
MetalStormGhost
676e4dcebf Implemented generating trigger zones for supply routes, theater ground objects and helicopter supply points. Implemented name generator for Pretense air units. 2024-02-06 10:58:20 +02:00
MetalStormGhost
d6ab4e9891 Copied flightgroupspawner.py as a template/inheritance for generating Pretense campaigns from Retribution campaigns. 2024-02-06 10:58:20 +02:00
MetalStormGhost
db95fc17dc Will now generate control point trigger zones and AI aircraft for the Pretense campaign. 2024-02-06 10:58:20 +02:00
MetalStormGhost
8402e5d9bb Copied three files as templates/inheritance for generating Pretense campaigns from Retribution campaigns:
- missiongenerator.py
 - aircraftgenerator.py
 - triggergenerator.py
2024-02-06 10:58:19 +02:00
Raffson
3e373b706f
pydcs update
Solving a bug where a mission can't be deserialized with Link4
2024-02-04 23:38:24 +01:00
Raffson
5aefa4ae55
Fix keyboard modifiers + off-by-one bug 2024-02-04 23:25:14 +01:00
Raffson
7f92db75df
Upgrade dependencies 2024-02-04 23:25:14 +01:00
Raffson
7a94db5404
Remove redundant code 2024-02-04 20:35:36 +01:00
tmz42
a30bfd2a45
tmz campaign updates (#239) 2024-02-04 14:57:50 +01:00
MetalStormGhost
33cfcd211a Removed IDF Mods Project Iron Dome mod artillery assets, since they are not included in the IDF Assets Pack mod which is currently supported in Retribution. 2024-02-01 23:29:18 +01:00
Raffson
0edcd31367
Fix desync wrt off-map flights 2024-01-28 19:20:34 +01:00
MetalStormGhost
ca98183e94
IDF Assets Pack support v1.1 (#233)
* Updated Irondome support to IDF Assets Pack V1.1, which includes the David's Sling.

* Added an Israel 2017 faction with the David's Sling.

* IDF Assets Pack air defence presets and assets are now correctly removed from the faction when the mod is disabled.

* Removed the Iron Dome mod rocket launchers:
- "9M22U - 122mm Grad"
- "9M27F - 229mm Uragan"
- "9M55F - 300mm Smerch"

These were added to the Iron Dome Mod V1.2 in order for the radar to recognize them and be able to intercept them (these are limitations of DCS), so new rockets were added. However, they don't exist in the IDF Assets Pack.

* IronDome to IDF-Assets migration

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-01-28 17:35:24 +00:00
Raffson
8ff6e5688a
Pin black in workflow
New version of 'black' will most likely cause a lot of merge conflicts, thus let's pin the version for now until the Pretense generator is merged...
2024-01-28 17:39:47 +01:00
Raffson
dad5e7c146
Fix TOT-offset issues 2024-01-28 17:39:46 +01:00
Raffson
8d56e2d3bb
Reinitialize flights upon abort 2024-01-28 14:44:17 +01:00
Raffson
a2494e467e
Deepcopy TOT for cloned package 2024-01-28 00:06:34 +01:00
Raffson
8ae63796cf
Increase buffer around landing-zone
This aims to specifically tackle the issue where AI helicopters tend to crash into the depot of the pickup-zone
Resolves #138
2024-01-21 22:36:00 +01:00
Raffson
6a002a7d43
Finish up kneeboard improvements
Resolve #106
2024-01-21 20:37:47 +01:00
Raffson
0b060d3110
De-spawn AI flights on RTB if start-type was set to In-Flight
Resolve #73
2024-01-21 18:40:33 +01:00
Raffson
bc26eb3f5e
Fix naval aircraft not always returning to carrier 2024-01-21 13:36:38 +01:00
Raffson
d6026681ee
Formatting 2024-01-20 22:29:56 +01:00
Raffson
9ab8e15dd1
Avoid incompatible mix of SR/TR/LN units
The call to 'add_or_update_force_group' would end up merging the force-groups, which in turn could cause SAM sites to have an SA-2 SR & TR with SA-6 launchers...
2024-01-20 22:28:32 +01:00
Raffson
febc901518
Refactor 2024-01-20 17:25:40 +01:00
Raffson
26066ef8f4
Adjust parameters for delaying ground-forces 2024-01-20 17:21:46 +01:00
Raffson
f548b27ac5
More accurate switch-wpt index for escort split-trigger 2024-01-20 16:56:49 +01:00
Raffson
181f8583d5
Despawn aircraft returning to off-map CPs 2024-01-20 16:56:48 +01:00
Raffson
e6e557c18a
Fix some edge-cases wrt SetUnlimitedFuel 2024-01-20 16:56:35 +01:00
Raffson
a6a872eebb
Formatting 2024-01-20 16:56:30 +01:00
tmz42
d07cb46741
Waypoint changes (F15E Strike Targets and Tomcat IP) (#236)
* Change indentation of register_special_waypoints (put out of loop)

* Added Strike Targets as F-15E Mission Target points (Set/Mission 1)

* Set up check for ASM : only if non-human flight lead. Add targets to the kneeboard.

* Generate multiple sets (i-e M2.1) for situations where the number of points is more than 8.

Added check condition to kneeboard (otherwise, may result in multiple writes).

* Change name of register_special_waypoints to register_special_strike_points

Add register_special_ingress_points method for special IPs and add to the appropriate classes

* Add changelog entry for Tomcat's IP wpt

* Avoid depending on client slots for special wpts injection

---------

Co-authored-by: tmz42 <thomas.monnzie@gmail.com>
Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-01-20 15:54:37 +00:00
tmz42
df3bd146da
Add SA-10 Flat Lid-B TR to radar_db.py (#235) 2024-01-11 18:35:56 +01:00
Raffson
93ec459460
Fix bug introduced by AI unlimited fuel option
Since the unlimited fuel option would add the option before the threat-reaction option, this result into a false assertion when using EWJ
2024-01-07 15:04:50 +01:00
Raffson
6e96b4fbb0
Fix AWCD bugs mentioned by Drexyl 2024-01-06 21:06:27 +01:00
tmz42
79b1d949ce
AI unlimited fuel initial implementation (#227)
* Unlimited fuel for AI flights. For player flights, included at startup, for AI flights with join/split, applied at join/split.

* Unlimited fuel for AI flights. For player flights, included at startup, for AI flights with join/split, applied at join/split.

* Corrected default value of ai_unlimited_fuel to False in configure_behavior

* ai_unlimited_fuel : set argument based on setting and simplify activation section

* AI Unlimited Fuel : enable at start, disable at racetrack start/join, enable at racetrack end/split

* Correct typing : bool to Optional[bool]

---------

Co-authored-by: tmz42 <thomas.monnzie@gmail.com>
2024-01-06 21:04:57 +01:00