Space Engineers

Space Engineers

WHAM | Whip's Homing Advanced Missile Script
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Whiplash141  [udvikler] 25. maj 2020 kl. 11:47
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.
Sidst redigeret af Whiplash141; 3. aug. 2023 kl. 17:15
< >
Viser 1-15 af 444 kommentarer
CrimsonAdder 25. maj 2020 kl. 18:34 
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)
Sidst redigeret af CrimsonAdder; 25. maj 2020 kl. 18:43
Whiplash141  [udvikler] 25. maj 2020 kl. 19:02 
Oprindeligt skrevet af 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 26. maj 2020 kl. 10:23 
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  [udvikler] 26. maj 2020 kl. 11:54 
Oprindeligt skrevet af 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 27. maj 2020 kl. 9:52 
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  [udvikler] 27. maj 2020 kl. 11:56 
Oprindeligt skrevet af 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 27. maj 2020 kl. 18:59 
Oprindeligt skrevet af Whiplash141:
Oprindeligt skrevet af 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  [udvikler] 27. maj 2020 kl. 22:13 
Oprindeligt skrevet af Francis Gao:
Oprindeligt skrevet af Whiplash141:
What version of the code?
168.5.1
Silly question, but does it have enough thrust to hover?
Francis Gao 28. maj 2020 kl. 1:22 
Oprindeligt skrevet af Whiplash141:
Oprindeligt skrevet af 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 28. maj 2020 kl. 7:36 
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 30. maj 2020 kl. 8:13 
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  [udvikler] 30. maj 2020 kl. 8:26 
Oprindeligt skrevet af 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 30. maj 2020 kl. 9:52 
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  [udvikler] 30. maj 2020 kl. 10:21 
Oprindeligt skrevet af 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?

Oprindeligt skrevet af 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 30. maj 2020 kl. 10:30 
Oprindeligt skrevet af Whiplash141:
Oprindeligt skrevet af 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!
< >
Viser 1-15 af 444 kommentarer
Per side: 1530 50