From The Depths - Forum
Missile Target Info Question - Printable Version

+- From The Depths - Forum (https://forum.fromthedepthsgame.com)
+-- Forum: Alpha (https://forum.fromthedepthsgame.com/forumdisplay.php?fid=9)
+--- Forum: LUA Scripting (https://forum.fromthedepthsgame.com/forumdisplay.php?fid=129)
+--- Thread: Missile Target Info Question (/showthread.php?tid=38310)



Missile Target Info Question - aeshalo - 2018-11-03

Hi, i was wondering if it's possible to get the details (specifically, distance.) of the target of a missile Radar/sonar/IR seeker head.

Reason being i'm trying to develop a radar buoy decoy /flare/ sonar buoy decoy killing missile.

I can get most of the way just by putting a seeker head of the right type (radar in this case) on a missile. the missile is attracted to the decoy but just... passes through it without detonating.

I would just use an inteceptor head, but if my target has actual missiles it's probably going to get distracted.
I would use a proximity fuse, but it dosen't trigger on missiles.
I would use the standard TargetInfo, but that's going to be the launching ship, not the decoy missile i'm trying to kill.

So, ideally i'd like to get the distance to the missile's radar target and detonate the missile when within ~10m. is it possible to get this target data with Lua?

I'd be grateful for any help.


RE: Missile Target Info Question - HerpeDerp - 2018-11-25

It's not yet possible to get the target of seekers with Lua, but I'll add that when I update the missile API


RE: Missile Target Info Question - Joeajon - 2018-12-17

(2018-11-25, 02:19 PM)HerpeDerp Wrote: It's not yet possible to get the target of seekers with Lua, but I'll add that when I update the missile API

That would be awesome.