Space Engineers

Space Engineers

Red Alert-Condition Red Script
29 Comments
Mr. Shadow 19 Aug, 2024 @ 3:30pm 
@K4tniss I agree with you. Keen makes bad decisions and in my personal opinion, their excuses are worse than their decisions. Keen Software House is a dishonest, unprofessional group. I don't really care for them and there's a lot of people that left their community because of their poorly managed staff. I'm personally just here for Space Engineers because I love space exploration and I especially love sandbox games. If it wasn't for SE, I'd block and mute Keen left and right.
K4tniss  [author] 1 Jan, 2020 @ 8:09pm 
@<TWB> daxdoodle: I'd recommend selecting all of the lights at once (probably you can search 'light' in the terminal and select all blocks) and change their settings manually.

At this point I'm probably not going to update the script. This was a cool idea at the time, but the game just doesn't work with you to make these things feasible. Fixing this properly means working around limitations in the game that have become not-fun to me, like the systems around programmable blocks and timers.

Keen isn't making the game I want to play, and I don't want to support some of their decisions in regards to the community, game design, and DLC.

@BWJC if your script still works (or works better) and you want to post your script as a new workshop item, I'll link to it from my description!
Cyber 1 Jan, 2020 @ 3:02pm 
Weird Question but Since I've only had space engineers for a few days how do you reset the lights? I've Tried removing the block but it won't stop blinking?
BWJC 25 Sep, 2018 @ 1:49pm 
I've done some trouble-shooting of the script and I believe I've at least solved the errors. I don't know if there are some shortcomings to the script that cause it to break in certain situations, but with my changes it runs as expected on my test ship. I've put the changes in the 'Issues' discussion for anyone who want to try them.
K4tniss  [author] 26 Jul, 2018 @ 1:14pm 
It is on my to do list now, thanks for your interest!
envy 30 Jun, 2018 @ 2:49am 
Would it be possible for you to fix it? It's really a cool script!
K4tniss  [author] 19 Apr, 2017 @ 7:08pm 
Thanks @NInes! gods, I'd almost forgotten about this one lol. I'm glad to hear they've fixed the blinklenght finally, I'll have to take a look at it again at some point
Nines 17 Apr, 2017 @ 12:35am 
@K4tniss, Great Script so far! I fixed the blinklenght spelling and it did go away, I'm guessing they fixed that now. However The format of the storage doesn't seem to be accurate anymore, by the way it's returning errors (i've been trying to debug it but I don't really know C#). So i've made a bunch of adjustments trying to make it read the right code, but I can't figure out how to get it to work out the right info for the storageSettings variable. It just returns the block name now, instead of any of the colors.

I'm assuming a slight rewrite of line 138 would fix it, but again, I dont 'know C#.
K4tniss  [author] 17 Jan, 2017 @ 12:27pm 
Once apon a time, that was required because the actual in-game value was mispelled ^^
I haven't looked into whether it's still necessary recently
RCrockin 13 Jan, 2017 @ 6:15pm 
i believe on of your problems is it say blinklenght
Midnyte 8 Oct, 2016 @ 11:22pm 
lights turn on ...wont stop flashing or revert back to color after using argument
K4tniss  [author] 1 Oct, 2016 @ 4:06am 
No problem @FS ! The script gets all light blocks, including spotlights, EXCEPT the ones tagged (with '[CONO]' if I recall correctly, no quotes). I hear you about the lot of text, and I hope you get the script working for you!
broken 30 Sep, 2016 @ 2:58pm 
Stupid question of the day! Do i need to add the tag to all lights or does the script look for lights? And if so, i rename all lights getting rid of " interior light" will that mess it up? Sorry i get disconnected when I have to read a lot of text
FatMax1492 27 Jul, 2016 @ 1:36am 
this doesn't work, If I hit RUN all my lights are flashing red, but they won' t stop if I hit RUN again. Please help me

P.S. I use the script on the USS Enterprise Reboot Universe
K4tniss  [author] 9 Jul, 2016 @ 4:09pm 
I haven't released a rewrite because I can't get around the main issue I mentioned, the script complexity system. Once I figure out how to get around that, I can make progress.
SpaceCat 9 Jul, 2016 @ 1:08pm 
@K4tniss Im pretty sure the error was the same as SpacePutz (see below).
Have you released a rewrite or are they only failed attempts?
K4tniss  [author] 9 Jul, 2016 @ 12:22pm 
I'm sorry for not commenting peoples ^^
What's going on is this: The big issue with this script - the 'script too complex' error - isn't something I know how to fix right now (it's more complicated than I believe it should be). I've started once or twice to rewrite the script because of this and hit walls each time. The rewrite *should* fix any additional issues people have been having, hopefully.

@SpacePutz if you could upload the world to workshop your error is happening in so I can debug (you can add me and set it to friends only if you like)
@GameGunner5 The program should have some kind of error in the bottom right when you open the programmable block in the terminal. Without knowing if there's an error and what the error is I can't help you at all. Doing the same as @SpacePutz would be the most helpful
SpaceCat 9 Jul, 2016 @ 6:20am 
Got it working, however the program doesnt go out of condition red when i press the button again.
SpacePutz 6 Jul, 2016 @ 2:59am 
Any luck so far?
K4tniss  [author] 8 Jun, 2016 @ 1:09pm 
Thanks for reporting that! I'll give it a look when I get a spare moment
SpacePutz 7 Jun, 2016 @ 6:21pm 
"Caught exception during execution of script: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
K4tniss  [author] 7 Jun, 2016 @ 6:00pm 
Yeah @SpacePutz I definitely can't help you without details. I'm glad you're enjoying the script (or were) anyway!
SpacePutz 6 Jun, 2016 @ 2:54pm 
So sad, getting an error and light and LCD screens don't change back anymore! Love this script, hope it can be fixed. I will provide details soon.
K4tniss  [author] 5 Feb, 2016 @ 12:06pm 
@KillerSK unfortunately, transitioning from any state _besides_ normal leaves the issue "what do we define as normal for light settings"? I wouldn't much like if the script cycled through the alert conditions (eg. to go from Red to Yellow again you have to pass go/standard), and adding arguments you have to pass to switch to a specific state decreases the usability by A LOT, epsecially for people who don't understand programming blocks.
However, you've reminded me to create 'suggestions' and 'issues' discussions, which I had forgotten, so thanks. And as always, thanks for commenting! Feedback from people actually using it means a lot - even if it doesn't seem like it since I seem to get distracted between so many projects ^^
Killer I Spisos I Marcus 4 Feb, 2016 @ 1:13pm 
Do you think you could modify the script to also add yellow alert (third condition). It's awesome as it is however, so no pressure.
K4tniss  [author] 17 Jan, 2016 @ 12:46pm 
Oh, @Branakburn that is a clever idea, I like it... That sounds do-able, I can consider that when I have time, it sounds like it would require a timer on the user's part, but that would make it both optional and really easy to customize. I'll throw a todo-list in the description.
SHROUD 16 Jan, 2016 @ 5:26pm 
Is there a way to modify this so the lights blink for a set time then go to a predetermined steady color or dim? This would be awesome! I have been looking for just this kind of script. Thanks
K4tniss  [author] 29 Dec, 2015 @ 3:01pm 
No Problem!
Master Queef 27 Dec, 2015 @ 5:52pm 
Thanks!