Space Engineers

Space Engineers

[RETIRED] Whip's Optical Missile Guidance Script
1,046 条留言
Whiplash141  [作者] 2021 年 11 月 18 日 下午 1:00 
See the comment below yours
Bear 2021 年 11 月 18 日 上午 9:48 
No main thruster found. It works randomly
Whiplash141  [作者] 2020 年 5 月 25 日 上午 11:27 
This code has officially been retired and replaced by WHAM: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2108743626
Readtext 2020 年 5 月 20 日 下午 7:21 
Oh) Everything works) Why it didn’t work before) Magic)
Whiplash141  [作者] 2020 年 5 月 20 日 上午 7:42 
missileSpinRPM or something similar in the custom data
Readtext 2020 年 5 月 20 日 上午 7:18 
I checked this and everything works)) We need rotation along the axis, without displacement of the rocket. It is necessary for super heavy missiles with baits removed on 5-6 blocks
https://wiki.freecadweb.org/File:Tache_Placement_Roulis_fr_Mini.gif
Whiplash141  [作者] 2020 年 5 月 19 日 下午 9:50 
"How to add torpedo rotation?"

enableSpiralTrajectory
spiralDegrees
timeMaxSpiral

in the custom data
Readtext 2020 年 5 月 19 日 下午 6:15 
How to add torpedo rotation? Lures on long beams die from turrets in direct flight. Rotors are not built by projection ((
Jaeger 2020 年 5 月 1 日 下午 8:10 
might just be the script is disabled or something on the server. tho it loads fine
Jaeger 2020 年 4 月 29 日 下午 7:40 
the same blueprint works fine in singleplayer. https://youtu.be/mUaYfFdyJQQ but in multiplayer they just twist around in the same spot in space kind of erratic jerking aruond
Whiplash141  [作者] 2020 年 4 月 29 日 下午 6:02 
That sounds like the remote is not pointed forward. The little colored upsidedown T denotes the front of the remote.
Jaeger 2020 年 4 月 29 日 下午 3:40 
tried that. it keeps freaking out in one spot then i got close and it flew at me and blew up half my ship lol. tried beacon and antenna
Whiplash141  [作者] 2020 年 4 月 29 日 下午 12:19 
That is the server sync distance coming into play. You can add an active beacon or antenna to the missile to force the server to sync the missile grid to you more often.
Jaeger 2020 年 4 月 29 日 上午 3:34 
Works great in single player but on a non local server with good sim and ping the missiles act very erratic and arent able to be controlled. any ideas?
Whiplash141  [作者] 2020 年 4 月 28 日 下午 4:31 
Sorry to hear that.
Jaeger 2020 年 4 月 28 日 下午 4:22 
so i have a large number of torpedos i want to launch in rapid succession... god i wish there was an easier way to just make the script select the nearest one instead of having to rename hundreds of blocks. granted your rename script helps but still very very lengthy process because each torp has to be fired at an exact order
Whiplash141  [作者] 2020 年 4 月 23 日 上午 10:03 
Nope, not possible with this script
Chroma 2020 年 4 月 23 日 上午 4:03 
Forgive me if this has been asked before (would be nice if the comments had a search function), but is it possible to have the missile be guided by a different grid to the launch grid? For example, if I've got a launch platform on the ground, but a drone pointing at the intended target a little distance away to actually guide it in.
Whiplash141  [作者] 2020 年 4 月 21 日 上午 7:33 
> im having a detach issue it seems that it just skips the detach thrusters
Have you configured a detach duration in the custom data?
sargety10 2020 年 4 月 21 日 上午 12:12 
yeah that's what I'm thinking as well. I'm hoping there isn't a memory leak but the reason i posted here is cause it only happened after i started using the script so i didn't know if someone else had a similar issue after using it or not
V L A X 2020 年 4 月 20 日 下午 11:22 
It's likely something else since I've had no issues.
sargety10 2020 年 4 月 20 日 下午 10:26 
also it seems that whenever my missile impacts no warhead or any thing it crashes my dedicated server do you think it could be the script or something else at play
sargety10 2020 年 4 月 20 日 下午 8:50 
so im having a detach issue it seems that it just skips the detach thrusters and goes strait iv tried playing with the settings but dosent seem to want to work for me
sargety10 2020 年 4 月 20 日 下午 7:48 
ah got it
sargety10 2020 年 4 月 20 日 下午 7:42 
im getting no untriggered missile programs were found what did i do wrong ?
V L A X 2020 年 4 月 17 日 上午 1:02 
I was worried that missile batteries set to recharge wouldn't be turned back to auto when launching... glad it worked out!

Thanks for your work on this.

...Is there a way missiles can be made to follow a smooth arc instead of initially whipping around in the air? I have the missile launch vertically from a car before guiding.
jhadley 2020 年 4 月 12 日 上午 4:57 
duh thanks :)
Whiplash141  [作者] 2020 年 4 月 9 日 上午 8:49 
Shooter Reference is the name tag
jhadley 2020 年 4 月 9 日 上午 3:10 
Says no shooter block cockpit has Shooter in the name. what am I missing?
Beefxd 2020 年 4 月 7 日 上午 6:57 
I figured it out, I was a fool and didnt set rotor+merge+projector. Just plainly merge on station. Shouldnt play this game while tired
Beefxd 2020 年 4 月 7 日 上午 6:09 
Also double checked that it doesnt touch ground, blueprint is ship, doesnt project any blocks that should make it attached to launch station or anything
Beefxd 2020 年 4 月 7 日 上午 6:08 
Tried both on and off. Same results, no new actions or anything and stays as station. Both missile and station is large grids
JabberWocky 2020 年 4 月 6 日 下午 3:04 
@Beefxd try to figure out if unsupported stations in your wold is toggled off or on
one setting makes stations movable
Whiplash141  [作者] 2020 年 4 月 6 日 下午 2:47 
A script can't fix that sadly. I think there is a world setting called "Unsupported stations" that you need to disable so that things that you detach become ships again
Beefxd 2020 年 4 月 6 日 上午 11:49 
I launch the missile from a station, missile stays as station and not transforming to ship causing it to just float there. Im doing something wrong or is this only working with ships? Im building missile platform at atmosphere
Whiplash141  [作者] 2020 年 3 月 28 日 下午 4:56 
Not at my computer to check, but I think this version does :)
JabberWocky 2020 年 3 月 28 日 上午 11:05 
Does it automatically arm warheads when after detaching?
Kittamaru 2020 年 3 月 16 日 上午 4:02 
... oh frack me haha. I am re-reading your "How do I use this" section... I completely missed naming the BLOCKS to "Missile #" and named the GRID "Missile #"...

Kids, don't space engineer when tired!
Whiplash141  [作者] 2020 年 3 月 15 日 上午 11:48 
Are they named properly?
Kittamaru 2020 年 3 月 15 日 上午 11:45 
For some reason, the script is not seeing anything on my missiles? It doesn't see thrusters, gyros, etc.
Skallabjorn 2020 年 2 月 21 日 下午 7:10 
ah well heres to waiting for the next version :D
Whiplash141  [作者] 2020 年 2 月 21 日 下午 6:37 
At least not in _this_ soon to be retired script
Whiplash141  [作者] 2020 年 2 月 21 日 下午 6:37 
There is no lock on, so nope lol
Skallabjorn 2020 年 2 月 21 日 下午 4:22 
is there any way to add a Lock Tone Sound block to this?
Jockey_Strappers 2020 年 2 月 19 日 下午 2:53 
sweet I needed it to be grav drive because apparantly grav drive driven projectiles tend to penetrate deeper than a normal thruster ram, decreasing the amount of armor needed to blow through for large ships. That and the natural way they veer off from the ship makes it seem like it's not a missile at all therefore reducing attention to it.
Whiplash141  [作者] 2020 年 2 月 16 日 下午 10:22 
"Is there a way to configure the code to exclude the need for forward thrusters"

Line 489:

if (mainThrusters.Count == 0)
{
Echo("[FAILED] No main thrusters found");
setupFailed = true; // <= remove this entire line
}

There will be no explicit support for gravity drives, but if you can figure out a way to make the script work for ya, sweet :)
Jockey_Strappers 2020 年 2 月 16 日 下午 3:26 
Is there a way to configure the code to exclude the need for forward thrusters when I run it based off of gravity drives instead?
sierra101 2020 年 2 月 12 日 下午 5:39 
i dont think so
Whiplash141  [作者] 2020 年 2 月 12 日 下午 5:35 
Is there an error that is prompting you to recompile? If so, what is that error?
sierra101 2020 年 2 月 12 日 下午 3:46 
i have to go in the control panel and recompile this each time