chenliyu0410 Posted Sunday at 03:54 PM Posted Sunday at 03:54 PM (edited) Automated Cruise Missile Strike Script v1 Hello DCS community, I'd like to share a practical script for automating naval cruise missile strikes in your missions — something that was entirely written with the help of ChatGPT, as I personally have zero coding knowledge. What It Does When a F10 map marker labeled TARGET is placed, The script automatically detects enemy ground or static units within 3km of that location. Ships from either coalition will fire cruise missiles (Tomahawk or Kalibr) at the targets. Each ship will temporarily change its Rules of Engagement (ROE) to "FIRE". After all missiles are launched, the ROE is restored to its original state. A summary of missile launches is shown for each ship. Why I Built This This script was inspired by: [Carsten's Fat Cow Script by - Don Rudi] – which helped me realize how missile firing can be simplified through scripting. [Better Naval Strike Group (BNSG) by Rinz1er] – which showed me that accurate and script-driven Tomahawk launches are possible. I wanted to combine the simplicity of automatic engagement with the realism of coordinated naval strikes — and ChatGPT helped me code the logic from scratch! How To Use Add the script to your mission (via DO SCRIPT FILE or a trigger). Place ships armed with cruise missiles (BGM-109 for Blue, 3M-54 for Red). During the mission, place a marker with the name TARGET on the map. Enemy units near that point will be attacked automatically. Question for the Community I’d love to during missile launch, but right now the Mission Editor (like ) to be used. Does anyone know a workaround or fix for this? Let me know what you think, or if you'd like help adapting the script to your mission! Thanks to everyone in the community for the inspiration and support Automated Cruise Missile Strike Script v1.luaAutomated Cruise Missile Strike Script .miz Edited Monday at 12:23 PM by chenliyu0410 2 1
Admiral189 Posted Sunday at 06:38 PM Posted Sunday at 06:38 PM Thanks for sharing, Chenliyu410. I will implement this into my ship mod projects. 3
Recommended Posts