Space Engineers

Space Engineers

WHAM | Whip's Homing Advanced Missile Script
 此主题已被置顶,因此可能具有重要性
Whiplash141  [开发者] 2020 年 5 月 25 日 上午 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.
最后由 Whiplash141 编辑于; 2023 年 8 月 3 日 下午 5:15
< >
正在显示第 1 - 15 条,共 450 条留言
CrimsonAdder 2020 年 5 月 25 日 下午 6: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)
最后由 CrimsonAdder 编辑于; 2020 年 5 月 25 日 下午 6:43
Whiplash141  [开发者] 2020 年 5 月 25 日 下午 7:02 
引用自 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 2020 年 5 月 26 日 上午 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  [开发者] 2020 年 5 月 26 日 上午 11:54 
引用自 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 2020 年 5 月 27 日 上午 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  [开发者] 2020 年 5 月 27 日 上午 11:56 
引用自 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 2020 年 5 月 27 日 下午 6:59 
引用自 Whiplash141
引用自 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  [开发者] 2020 年 5 月 27 日 下午 10:13 
引用自 Francis Gao
引用自 Whiplash141
What version of the code?
168.5.1
Silly question, but does it have enough thrust to hover?
Francis Gao 2020 年 5 月 28 日 上午 1:22 
引用自 Whiplash141
引用自 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 2020 年 5 月 28 日 上午 7:36 
https://steamhost.cn/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 2020 年 5 月 30 日 上午 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  [开发者] 2020 年 5 月 30 日 上午 8:26 
引用自 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 2020 年 5 月 30 日 上午 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  [开发者] 2020 年 5 月 30 日 上午 10:21 
引用自 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?

引用自 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 2020 年 5 月 30 日 上午 10:30 
引用自 Whiplash141
引用自 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!
< >
正在显示第 1 - 15 条,共 450 条留言
每页显示数: 1530 50