121 Commits

Author SHA1 Message Date
Raffson
30ad71f93b
Refactor & improve EW-jamming setup in mission-generator 2025-05-01 17:22:46 +02:00
Raffson
de1f8a7abc
Attempt to fix SplashDamage error w.r.t. line 604
Guard against event.target:getPosition() potentially being nil
2025-04-12 17:24:23 +02:00
Drexyl
af4bba7396
EW Script 2.0 - Enable for AI (#491)
* EW Script 2.0 - Enable for AI

* Refactor

* Remove unnecessary code + refactor

* Fix test -_-

* Cleanup

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
Co-authored-by: Starfire13 <72491792+Starfire13@users.noreply.github.com>
2025-03-23 20:32:51 +01:00
Astro
3e1f0bc694
Skynet additional settings (#443) 2025-01-04 17:24:51 +01:00
Cedric Menard
2091fdbb27
Add Mbot's Call Artillery Script plugin (#410)
* Add Mbot's Call Artillery Script plugin

* Applied PR comments

* Fix for wrong indentation, remove unused client skill check, added changelog item
2024-11-03 13:02:36 +00:00
Starfire13
96e8208e3c
Fix typo + improve arty spotter script description (#400) 2024-09-22 23:35:48 +02:00
Raffson
dae57abeff
Fix 'getName' error in base script
Turns out weapons also generate a dead event, but presumably some of them don't have a 'getName' method...
2024-09-22 22:38:14 +02:00
MetalStormGhost
e88a4e1c51 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-07-20 19:21:06 +03:00
Raffson
9b54414525
Update MIST to 4.5.126 2024-07-18 18:56:59 +02:00
MetalStormGhost
69b828ddf4 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-07-17 19:40:57 +03:00
Raffson
206f0c5196
Remove redundant debugMsg for missing weapon 2024-07-14 01:02:14 +02:00
Raffson
739405d716
Add work-around for SplashDamage errors 2024-07-14 01:01:44 +02:00
MetalStormGhost
1a6d73f055 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-07-05 12:06:53 +03:00
Turbolious
d84a0ebc78
Support for Carsten's Arty Spotter script (#357)
* Added Cartsens Arty Script

* Added Options to Arty script

Added all options and for configuration.

* Carstens Arty Spotter with options

* Finishing touch

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-07-01 19:43:17 +00:00
MetalStormGhost
7eb2c59b86 Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-06-09 20:25:55 +03:00
tmz
030762a1dd Update Splash Damage 2024-06-01 19:42:27 +02:00
MetalStormGhost
28efecc03a Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-06-01 16:49:58 +03:00
tmz42
a1fa58326c
Splashdamage data update (#322)
* Splash Damage for missing Heatblur F-4E weapons (AGM-12, AGM-62 I and
GBU-8)

* Fixed Walleye I damage

* Set Bullpup C to correct value

* Modified warhead masses according to online sources and Janes Air Launched Weapons

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2024-05-27 21:26:36 +00:00
MetalStormGhost
9775d3b97c Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-05-26 22:06:19 +03:00
Raffson
12d0632415
Add new warheads to splash damage 2024-05-25 23:42:58 +02:00
MetalStormGhost
48861c53da Merge remote-tracking branch 'remotes/dcs-retribution/dcs-retribution/dev' into pretense-generator 2024-05-09 21:16:32 +03:00
MetalStormGhost
3bf77042fd Added HQ7 (Crotale) sites to Pretense generator. 2024-05-07 15:20:20 +03:00
MetalStormGhost
e34a8c7875 Renamed CTLD plugin settings to Retribution
Renamed CTLD plugin settings to Retribution, as well as some other miscellaneous files too.
2024-05-05 11:04:56 +02:00
MetalStormGhost
64b1410de8 Implemented support for player controllable carriers in Pretense campaigns. This functionality can be enabled or disabled in settings, because the controllable carriers in Pretense do not build and deploy AI missions autonomously, so the old functionality is retained.
Added new options in settings:
- Carriers steam into wind
- Navmesh to use for Pretense carrier zones
- Remove ground spawn statics, including invisible FARPs, at airbases.
- Percentage of randomly selected aircraft types (only for generated squadrons)
intended to allow the user to increase aircraft variety.

Will now store the ICLS channel and Link4 frequency in missiondata.py CarrierInfo.

Implemented artillery groups as Pretense garrisons. Artillery groups are spawned by the Artillery Bunker. Will now also ensure that the logistics units spawned as part of Pretense garrisons are actually capable of ammo resupply.

Fixed the Pretense generator generating a bit too many missions per squadron. Ground spawns: Also hot start aircraft which require ground crew support (ground air or chock removal) which might not be available at roadbases. Also, pretensetgogenerator.py will now correctly handle air defence units in ground_unit_of_class(). Added Roland groups in the Pretense generator.
2024-04-06 15:46:11 +03:00
MetalStormGhost
a49a1e9461 Updated pretense_compiled.lua to version 1.7.2:
Pretense v1.7.2 - 23 Feb 2024
Fixed occasional script error when saving zone groups
2024-02-25 12:40:50 +02:00
MetalStormGhost
e816e6990a Updated pretense_compiled.lua to version 1.6.5:
Pretense v1.6.5 - 04 Feb 2024
Fixed error on restoring strike targets
Block slots from within the mission, removing the need for slotblock.lua
2024-02-25 12:40:49 +02:00
MetalStormGhost
e549a923d5 Updated the Pretense script to version 1.4.5 2024-02-25 12:40:49 +02:00
MetalStormGhost
a4d8c14579 Added Iron Dome, David's Slinh, NASAMS-B and Rapier sites to Pretense. Fixed the timestamp in the save file name. 2024-02-25 12:40:48 +02:00
MetalStormGhost
100eafcffd Separated init_header.lua into init_body_1.lua and init_header.lua. Deleted the ground unit groups since they will eventually be generated dynamically. 2024-02-25 12:40:47 +02:00
MetalStormGhost
c0a887b258 Copied init_header.lua to init_body_1.lua 2024-02-25 12:40:47 +02:00
MetalStormGhost
cafc6b5d30 Rename resources/plugins/pretense/init_body_2.lua (from resources/plugins/pretense/init_body_1.lua) 2024-02-25 12:40:47 +02:00
MetalStormGhost
3ab0f2a554 Rename resources/plugins/pretense/init_body_3.lua (from resources/plugins/pretense/init_body_2.lua) 2024-02-25 12:40:46 +02:00
MetalStormGhost
3d8956434c Will now append the date and time in the Pretense savefile, mitigating risks of missions script errors when trying to load a savefile from a previously generated mission. 2024-02-25 12:40:46 +02:00
MetalStormGhost
76bab86e67 Updated the Pretense script to version 1.3.8 - 3 Dec 2023 and MIST to version 4.5.122. 2024-02-25 12:40:45 +02:00
MetalStormGhost
f4e8e30cb1 Implemented new options in settings:
- Pretense: Extra friendly zone connections - Add connections from each zone to this many closest friendly zones, which don't have an existing supply route defined in the campaign.
- Number of cargo planes per side
- Number of AI SEAD flights per control point / zone
- Number of AI CAS flights per control point / zone
- Number of AI BAI flights per control point / zone
- Number of AI Strike flights per control point / zone
- Number of AI BARCAP flights per control point / zone
- Number of AI aircraft per flight
- Number of player flights per aircraft type at each base
- Number of AI cargo planes per side

Implemented CAS helo mission handling for Pretense. Implemented separate pretense_air_groups container for storing/referencing Flight objects. Tweaked the supply costs of SAM sites and Command centers. Will no longer generate player air starts at roadbases either. Restored the missing DEAD flights to Pretense. Removed spawning of frontline units and moved the JTAC spawning to pretensemissiongenerator.py
2024-02-25 12:40:44 +02:00
MetalStormGhost
e15aca8c54 Updated pretense_compiled.lua to version 1.3.6.
Implemented Pretense settings in pretense_compiled.lua
Added new function moveOffRoadToPointAndAssault() to enable assault groups to drive off-road and thus avoid some of the bridges where they might get stuck.
2024-02-25 12:40:44 +02:00
MetalStormGhost
91a9a9b88f Moved SAM site presets from presets.defenses.sam to presets.defenses.red/blue 2024-02-25 12:40:42 +02:00
MetalStormGhost
713cd98d10 Implemented SAM sites as products of a Command Center at a control point / zone, if the Retribution campaign has the corresponding SAM site there. The SAM site presets are still static, I might make them dynamic in the future. 2024-02-25 12:39:47 +02:00
MetalStormGhost
cf9538f7df Implemented spawning of ship statics/units at naval control points instead of land structures or SHORAD sites. 2024-02-25 12:39:46 +02:00
MetalStormGhost
11a0713e50 Pretense SEAD missions will now also target AAA. Also incorporates the fix to fullBuild():
Dzsekeb — 03/09/2023 11:50
add the highlighted line to the fullbuild function
https://discord.com/channels/959044877470027848/1031459721313517578/1147815809075392604
2024-02-25 12:39:46 +02:00
MetalStormGhost
d870099f41 Replaced the air defence Command Center with a bunker for SHORADs. Will use the Command Center in the future for medium/long range SAMs. 2024-02-25 12:39:45 +02:00
MetalStormGhost
47ee0e5340 Added naval units (supply/cargo/landing ships) to Pretense scripts. 2024-02-25 12:39:43 +02:00
MetalStormGhost
a97b3fee99 Will now dynamically generate offmapZones for supply cargo aircraft. 2024-02-25 12:39:38 +02:00
MetalStormGhost
60fde46249 Split the init_body.lua script in two parts to facilitate dynamic JTAC spawning. 2024-02-25 12:39:35 +02:00
MetalStormGhost
545210b35d Split the init_body.lua script in two parts. 2024-02-25 12:39:33 +02:00
MetalStormGhost
1dd9089477 First version of the generated Pretense campaign running in-game. 2024-02-25 12:39:33 +02:00
MetalStormGhost
7b2424c746 Added newlines to Pretense init scripts. 2024-02-25 12:39:30 +02:00
MetalStormGhost
5c9a5a5e35 Split init.lua code into three pieces. 2024-02-25 12:39:29 +02:00
MetalStormGhost
b6f0ec4da0 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-25 12:39:29 +02:00
MetalStormGhost
c95e746687 Lua scripts from Pretense Caucasus 1.3.5, credit: Dzsekeb, original author of DCS Pretense.
Used with permission.
2024-02-25 12:39:29 +02:00