Lua Script for ToT Cruise Missile Strikes

All discussions & material related to Command's Lua interface

Moderators: angster, RoryAndersonCDT, michaelm75au, MOD_Command

Post Reply
LettuceTurnipTheBeet
Posts: 10
Joined: Sat Dec 18, 2021 12:09 pm

Lua Script for ToT Cruise Missile Strikes

Post by LettuceTurnipTheBeet »

I wrote a script to automate path plotting to achieve ToT (Time on Target) cruise missile impacts. While neat to have in some scenarios, it currently only plans one turning waypoint and cannot really use terrain to its advantage. The main ToT script creates an event with an area trigger that is activated when a missile is spawned and sets its path to a suitable distance.

The main script works out of the box on ships and submarines, but for aircraft you need to set up your own event and use the path planner as an action. Also ToT isn't as good as it doesn't as of yet take into account aircraft motion and it does not work on grouped targets.

Let me know if you want to see it developed further.
Attachments
ToTCMStrike.zip
(3.07 KiB) Downloaded 58 times
User avatar
RockPaperScissors
Posts: 35
Joined: Sun Oct 02, 2016 5:59 pm

RE: Lua Script for ToT Cruise Missile Strikes

Post by RockPaperScissors »

Thanks, I have been looking for something like this.

Best regards, RPS
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Lua Script for ToT Cruise Missile Strikes

Post by KnightHawk75 »

Could be quite handy! Thanks for sharing.
Post Reply

Return to “Lua Legion”