Space Engineers

Space Engineers

WHAM | Whip's Homing Advanced Missile Script
 This topic has been pinned, so it's probably important
Whiplash141  [developer] May 25, 2020 @ 11:47am
Help/Questions (WHAM)
If you notice a bug or have general questions, feel free to ask here.

If reporting a bug, please report the version of the code the bug occurred in and provide as much information as possible.
Last edited by Whiplash141; Aug 3, 2023 @ 5:15pm
< >
Showing 1-15 of 444 comments
CrimsonAdder May 25, 2020 @ 6:34pm 
I notice that with raycast LiDAR homing, once my missiles drill a hole through the center of the ship, they continue to fly through this hole without doing any damage.

Is there a parameter I can change to make the missiles impact in a "spread" across the grid instead of all aiming for the same spot?

This occurs with "aim point" set to either "Center" or "Offset."

(also thx for antenna meme mode <3)
Last edited by CrimsonAdder; May 25, 2020 @ 6:43pm
Whiplash141  [developer] May 25, 2020 @ 7:02pm 
Originally posted by CrimsonAdder:
I notice that with raycast LiDAR homing, once my missiles drill a hole through the center of the ship, they continue to fly through this hole without doing any damage.

Is there a parameter I can change to make the missiles impact in a "spread" across the grid instead of all aiming for the same spot?

This occurs with "aim point" set to either "Center" or "Offset."

(also thx for antenna meme mode <3)
No spread variable, but you could try activating spiral. Alternatively, you can re-establish a lock at a different location with offset targeting and send the "retask" argument
blub9529 May 26, 2020 @ 10:23am 
I want to build a planetary-bombardment-ship that does not need to enter the gravity well, which means that i am about 40+ KM away from my target when above an Earth-like planet.

Would it be possible to fire the missile(s) blindly "somewhere down there" and let them search for targets themselves?
Whiplash141  [developer] May 26, 2020 @ 11:54am 
Originally posted by blub9529:
I want to build a planetary-bombardment-ship that does not need to enter the gravity well, which means that i am about 40+ KM away from my target when above an Earth-like planet.

Would it be possible to fire the missile(s) blindly "somewhere down there" and let them search for targets themselves?
Not with this script, no. Sorry!
Francis Gao May 27, 2020 @ 9:52am 
I really love this script! But my missiles kept falling on the planet and cannot hit the target. The power and gyro are far enough and the thruster turns on just as normal after firing. It seems that the missile doesn't know where to go.I tried to mount your missile on the ship and it worked perfectly. Could you tell me how to solve this problem?
Whiplash141  [developer] May 27, 2020 @ 11:56am 
Originally posted by Francis Gao:
I really love this script! But my missiles kept falling on the planet and cannot hit the target. The power and gyro are far enough and the thruster turns on just as normal after firing. It seems that the missile doesn't know where to go.I tried to mount your missile on the ship and it worked perfectly. Could you tell me how to solve this problem?
What version of the code?
Francis Gao May 27, 2020 @ 6:59pm 
Originally posted by Whiplash141:
Originally posted by Francis Gao:
I really love this script! But my missiles kept falling on the planet and cannot hit the target. The power and gyro are far enough and the thruster turns on just as normal after firing. It seems that the missile doesn't know where to go.I tried to mount your missile on the ship and it worked perfectly. Could you tell me how to solve this problem?
What version of the code?
168.5.1
Whiplash141  [developer] May 27, 2020 @ 10:13pm 
Originally posted by Francis Gao:
Originally posted by Whiplash141:
What version of the code?
168.5.1
Silly question, but does it have enough thrust to hover?
Francis Gao May 28, 2020 @ 1:22am 
Originally posted by Whiplash141:
Originally posted by Francis Gao:
168.5.1
Silly question, but does it have enough thrust to hover?
Yep. I tried this code on another computer again and this time it worked perfectly. Both computers have the latest version of the game and the code. Maybe it's because of some bugs. Anyway, thanks a lot! I really love your scripts!
Paavopesusieni92 May 28, 2020 @ 7:36am 
https://steamcommunity.com/sharedfiles/filedetails/?id=2110971937

Here is the blueprint you asked for the detonating missile. It works without the medium cargo container, if I put the cargo container anywhere in the missile it explodes.
mipam May 30, 2020 @ 8:13am 
Both scripts (LAMP with WHAM) work perfectly in every mode outside gravity. As soon as i enter gravity, locking is possible, firing as well, but the missile keep rotating on itself aound 50m from the ship! I tried topdown on/off and spiral on/off, no change. What am I doing wrong?
Whiplash141  [developer] May 30, 2020 @ 8:26am 
Originally posted by mipam:
Both scripts (LAMP with WHAM) work perfectly in every mode outside gravity. As soon as i enter gravity, locking is possible, firing as well, but the missile keep rotating on itself aound 50m from the ship! I tried topdown on/off and spiral on/off, no change. What am I doing wrong?
Update wham to v168.5.1 or later. That bug was fixed a few days ago.
Francis Gao May 30, 2020 @ 9:52am 
This script works perfect until today my missiles start to attack the mothership. It even worked normal yesterday. I did an experiment and found that my missiles work normally on your ship but your missile would also attack the mothership after I merged it on my own ship. The versions are 168.5.1 and 93.3.4. And could you tell me what does 'main ignition delay' mean? I changed it to four and my missiles start to rotate just after detach.
Whiplash141  [developer] May 30, 2020 @ 10:21am 
Originally posted by Francis Gao:
This script works perfect until today my missiles start to attack the mothership.

I'm not entirely sure what you mean by this. Missiles should only attack things that you are actively painting. They will also check the ID of the grid they are locked onto before locking on. What designation mode did this occur in?

Originally posted by Francis Gao:
And could you tell me what does 'main ignition delay' mean? I changed it to four and my missiles start to rotate just after detach.

Main ignition delay simply delays the main ignition of the missile. If you want to delay the guidance, use the guidance delay.
mipam May 30, 2020 @ 10:30am 
Originally posted by Whiplash141:
Originally posted by mipam:
Both scripts (LAMP with WHAM) work perfectly in every mode outside gravity. As soon as i enter gravity, locking is possible, firing as well, but the missile keep rotating on itself aound 50m from the ship! I tried topdown on/off and spiral on/off, no change. What am I doing wrong?
Update wham to v168.5.1 or later. That bug was fixed a few days ago.

Thanks man, works perfectly!
< >
Showing 1-15 of 444 comments
Per page: 1530 50