Space Engineers

Space Engineers

Whip's Missile Status Script (for WHAM)
59 件のコメント
Whiplash141  [作成者] 10月3日 22時27分 
The script works by looking for a programmable block contained within a block group named "Missile #". Since Rdav's script uses exploits to circumvent the requirement of a programmable block for communication on the missiles themselves, this script will not correctly detect those as valid missiles.
MUFF-N-MAN 9月30日 8時35分 
I'm currently on a crossplay ds, will this work without WHAM? We are currently running vanilla and RDAV missiles, can this script be set up to detect them? Thanks!
Whiplash141  [作成者] 7月13日 12時33分 
can you show me your custom data in the help/questions thread?
prexray13 7月13日 9時14分 
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 1月8日 17時00分 
How do I put custom data config into the screens of the fighter cockpit?
mhwyoshi 1月8日 16時59分 
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  [作成者] 2023年8月12日 20時40分 
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 2023年8月12日 17時45分 
Da_MLG_man 2023年8月12日 17時44分 
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://steamproxy.com/sharedfiles/filedetails/?id=2108857776
Da_MLG_man 2023年8月12日 17時06分 
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  [作成者] 2023年8月12日 12時43分 
Did you put the custom dara config in the custom data and *not* the text?
Da_MLG_man 2023年8月12日 12時11分 
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 2023年4月17日 7時54分 
Thank you keen ^^
Whiplash141  [作成者] 2023年4月17日 6時49分 
There is literally nothing to work with. Those blocks are black boxes with very little useful API.
Siam 2023年4月17日 4時53分 
Hey Whiplash does your script work whith the new AI block or you don't intend to update it for compatibility
Whiplash141  [作成者] 2023年4月4日 21時22分 
Has to be on the same ship, but not necessarily the same grid.

Different ships vastly complicates things and is not supported
Uktobar 2023年4月4日 16時35分 
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  [作成者] 2023年1月29日 1時39分 
Rad. I'll work on better error handling
PATS3Y 2023年1月28日 16時29分 
Nope, and that fixed it, thanks
Whiplash141  [作成者] 2023年1月28日 15時25分 
Did you add a [Missile X] to the custom data of that particular screen? (X can be whatever number u want)
PATS3Y 2023年1月28日 13時25分 
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  [作成者] 2022年9月5日 12時27分 
@Tonkari: Rotation support has been added
Tonkari 2022年9月5日 3時25分 
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 2022年8月18日 6時06分 
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  [作成者] 2022年7月7日 14時16分 
Make certain you are placing the text in the "Custom Data" and not the "Edit Text" area
centaurA 2022年7月6日 21時41分 
@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 2022年5月10日 11時38分 
Copying and pasting from the custom data still yields same results
Whiplash141  [作成者] 2022年5月10日 11時27分 
> The missile status group isnt recognized

Check spelling and ownership.
Richstall 2022年5月10日 11時17分 
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  [作成者] 2022年5月10日 9時24分 
Have you added a missile group name like "[Missile 1]" to the custom data of the screens in your "Missile Status" group?
Richstall 2022年5月10日 8時51分 
I'm having issue getting the LCD screens to be recognized anyone else having an issue?
BandyNet 2022年3月29日 12時02分 
Thanks Whip for this code
ArtyomBlin 2021年12月18日 17時54分 
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 2021年11月20日 17時43分 
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 2021年4月27日 0時42分 
Ah okay
Whiplash141  [作成者] 2021年4月27日 0時41分 
This is a status script for WHAM missiles (another script).
BinaryKiller Recoded 2021年4月27日 0時39分 
Wait, is this for a mod or what?
Korin 2021年2月15日 19時42分 
Indeed, thank you very much!
Whiplash141  [作成者] 2021年2月15日 10時57分 
Step two, first code block, line 4
Korin 2021年2月15日 7時28分 
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  [作成者] 2021年1月9日 11時19分 
"do you ever sleep"

What's that?
FireManDan 2021年1月9日 3時32分 
Good God Whip, do you ever sleep? Fantastic work as always. You sir, are a scripting genius
TORGMASTER 2020年12月8日 2時28分 
@Whiplash141

very good, i ,like this!
but one question, how and what level does it take to put up the workshop noticeboard?
Whiplash141  [作成者] 2020年11月30日 15時31分 
If it is being used to create WHAM missiles, I don't see why not
Rocorh 2020年11月30日 11時55分 
@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 2020年11月17日 12時25分 
@whiplash141 Heyo, I was wondering if you take commisions?
Need some help figuring how to do the scripting and/or some crituqe
Whiplash141  [作成者] 2020年11月17日 10時08分 
"Sorry if this has already been asked, but does it not work with vanilla rocket launchers?"

No, it does not.
Sarekh 2020年11月17日 7時41分 
oooh, you did it again! Thanks, that is awesome
Purrfect-Blinky 2020年11月17日 4時08分 
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 2020年11月16日 23時57分 
Sorry if this has already been asked, but does it not work with vanilla rocket launchers?