Space Engineers

Space Engineers

Whip's Missile Status Script (for WHAM)
57 Comments
Whiplash141  [author] 13 Jul @ 12:33pm 
can you show me your custom data in the help/questions thread?
prexray13 13 Jul @ 9:14am 
i am having a problem i can only see 1 missile and and it doesnt show green even though the missile is on the ship
mhwyoshi 8 Jan @ 5:00pm 
How do I put custom data config into the screens of the fighter cockpit?
mhwyoshi 8 Jan @ 4:59pm 
So I got it showing on one screen, but I only have the cockpit and I wanted to show all the missiles on the upper left screen. It says that there’s one available, but it doesn’t show where it is. I tried adding “Missile Status” the cockpit name but that doesn’t seem to do anything. I’ve tried putting it in the custom data of the programmable block below the current data of it, and that didn’t seem to do anything. I also tried putting it in the custom data of the cockpit above and below the current lamp information and it still doesn’t show anything. I tried messing with the numbers and that didn’t do anything. What exactly am I doing wrong? I did also recompile the programmable blockevery time I change things.
Whiplash141  [author] 12 Aug, 2023 @ 8:40pm 
I literally just spawned that ship and the screens work fine. The script is not broken, I'm actively using it.

If there is no valid custom data config in the screens themselves, they will not be registered as a text surface.
Da_MLG_man 12 Aug, 2023 @ 5:44pm 
I should mention the script is broken in the Kimodo Missile Destroyer as well, which was an example craft you linked in at the end of the guide to set up a WHAM/LAMP missile launcher.
(this is the ship)https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2108857776
Da_MLG_man 12 Aug, 2023 @ 5:06pm 
Yes, I put the config in custom data. The script is Echoing "0 text surfaces detected" but not the "block group <name> not found" error, indicating it did find the block group but apparently could not find the text surfaces inside the block group.
Whiplash141  [author] 12 Aug, 2023 @ 12:43pm 
Did you put the custom dara config in the custom data and *not* the text?
Da_MLG_man 12 Aug, 2023 @ 12:11pm 
I copy-pasted the LCD Setup exactly from the example ship and it is not working. Not sure why, it seems to detect the group i set up but not the LCDs in the group. Renamed all of the and everything but it still does not detect them
Siam 17 Apr, 2023 @ 7:54am 
Thank you keen ^^
Whiplash141  [author] 17 Apr, 2023 @ 6:49am 
There is literally nothing to work with. Those blocks are black boxes with very little useful API.
Siam 17 Apr, 2023 @ 4:53am 
Hey Whiplash does your script work whith the new AI block or you don't intend to update it for compatibility
Whiplash141  [author] 4 Apr, 2023 @ 9:22pm 
Has to be on the same ship, but not necessarily the same grid.

Different ships vastly complicates things and is not supported
Uktobar 4 Apr, 2023 @ 4:35pm 
Just wondering if this is still only for the wham missiles on or attached to the same grid? Or if designating ships can show missiles in a base or other ship.
Whiplash141  [author] 29 Jan, 2023 @ 1:39am 
Rad. I'll work on better error handling
PATS3Y 28 Jan, 2023 @ 4:29pm 
Nope, and that fixed it, thanks
Whiplash141  [author] 28 Jan, 2023 @ 3:25pm 
Did you add a [Missile X] to the custom data of that particular screen? (X can be whatever number u want)
PATS3Y 28 Jan, 2023 @ 1:25pm 
I'm getting the "Text Surfaces: 0" result even after changing the group name and contents with the fighter cockpit, which I have working in an old ship already, and a Text Panel.
Whiplash141  [author] 5 Sep, 2022 @ 12:27pm 
@Tonkari: Rotation support has been added
Tonkari 5 Sep, 2022 @ 3:25am 
Hey, awesome script, as always!
I have a little feature request (if you accept those):
Can you implement rotation of the sprites?
Drug Cyborg, FBI 18 Aug, 2022 @ 6:06am 
Been a while since I've engineered any spaces, so all these improvements to scripting are pretty wild. Is there any possibility of the WHAM missiles being able to report their status back to the ship (i.e. an "engagement failed" message if they miss) with the new antenna comm API?
Whiplash141  [author] 7 Jul, 2022 @ 2:16pm 
Make certain you are placing the text in the "Custom Data" and not the "Edit Text" area
centaurA 6 Jul, 2022 @ 9:41pm 
@Richstall same issue here. My programmable block is unable to detect my LCD panels in the "Missile Status" group, and the ownership is mine.
Richstall 10 May, 2022 @ 11:38am 
Copying and pasting from the custom data still yields same results
Whiplash141  [author] 10 May, 2022 @ 11:27am 
> The missile status group isnt recognized

Check spelling and ownership.
Richstall 10 May, 2022 @ 11:17am 
The missile status group isnt recognized. Ive checked the naming and even tried to use custom names but I cant get the script to read the LCD group
Whiplash141  [author] 10 May, 2022 @ 9:24am 
Have you added a missile group name like "[Missile 1]" to the custom data of the screens in your "Missile Status" group?
Richstall 10 May, 2022 @ 8:51am 
I'm having issue getting the LCD screens to be recognized anyone else having an issue?
BandyNet 29 Mar, 2022 @ 12:02pm 
Thanks Whip for this code
ArtyomBlin 18 Dec, 2021 @ 5:54pm 
Hey Whip how about on suggestion. i have been reading your code and was thinking about an addition that would be nice

In the place you calc for spiral to start maneuvers could you put a line that would turn on all blocks with tag custom or tag something. it would be great for missiles that do something a specific distance from target like dispense decoys or bomblets etc.
sam2davidson1 20 Nov, 2021 @ 5:43pm 
Is there any way I could upload these to mod.io as hidden just so that I could use them for myself? I have some friends who would like to use these as well. Or I could upload them as not hidden with credit to you and let anyone on xbox use them if you would prefer that. Although I am not completely sure they will work on xbox, and I have only uploaded blueprints to mod.io before.
BinaryKiller Recoded 27 Apr, 2021 @ 12:42am 
Ah okay
Whiplash141  [author] 27 Apr, 2021 @ 12:41am 
This is a status script for WHAM missiles (another script).
BinaryKiller Recoded 27 Apr, 2021 @ 12:39am 
Wait, is this for a mod or what?
Korin 15 Feb, 2021 @ 7:42pm 
Indeed, thank you very much!
Whiplash141  [author] 15 Feb, 2021 @ 10:57am 
Step two, first code block, line 4
Korin 15 Feb, 2021 @ 7:28am 
I assume i'm missing something obvious as your scripts are amazing. How can i get it to display on a specific screen in a cockpit ?
Whiplash141  [author] 9 Jan, 2021 @ 11:19am 
"do you ever sleep"

What's that?
FireManDan 9 Jan, 2021 @ 3:32am 
Good God Whip, do you ever sleep? Fantastic work as always. You sir, are a scripting genius
TORGMASTER 8 Dec, 2020 @ 2:28am 
@Whiplash141

very good, i ,like this!
but one question, how and what level does it take to put up the workshop noticeboard?
Whiplash141  [author] 30 Nov, 2020 @ 3:31pm 
If it is being used to create WHAM missiles, I don't see why not
Rocorh 30 Nov, 2020 @ 11:55am 
@whiplash141 Heya :) firstly I think this will round out my subscribing to all your scripts, love your work for many reasons. Secondly, would this work with the Torpedo Parts MK2 in some fashion? Opinion?
FreakyFireFly59 17 Nov, 2020 @ 12:25pm 
@whiplash141 Heyo, I was wondering if you take commisions?
Need some help figuring how to do the scripting and/or some crituqe
Whiplash141  [author] 17 Nov, 2020 @ 10:08am 
"Sorry if this has already been asked, but does it not work with vanilla rocket launchers?"

No, it does not.
Sarekh 17 Nov, 2020 @ 7:41am 
oooh, you did it again! Thanks, that is awesome
Purrfect-Blinky 17 Nov, 2020 @ 4:08am 
Oh this is just a great idea for Player Made (Torpedo) Weapons too! Very cool once again Whip! Finally in-world ammo counters :D I must try and see if this works for my simple non-guidance weapons too :)
ChozoSR388 16 Nov, 2020 @ 11:57pm 
Sorry if this has already been asked, but does it not work with vanilla rocket launchers?
Whiplash141  [author] 16 Nov, 2020 @ 3:16am 
If you are using that mod to create working WHAM missiles, sure
Frankabyte 16 Nov, 2020 @ 3:01am 
Will this work with the torpedo guidance block mod (that goes with the large block torpedo mod Mk.II)?