Space Engineers

Space Engineers

Helmet Auto-Toggle
79 kommenttia
andrew 4.2. klo 10.56 
what about one that uses your oxygen if you leave it closed?
Wartox 11.9.2024 klo 7.22 
Doesnt appear to be functional as of 2024-09-11.
SomeActualCheese 1.10.2023 klo 18.13 
Do NOT use this mod with any npc mods! it nearly crashed my game. Otherwise this is a great mod.

It basically has to trigger for every npc in the world, causing massive amounts of lag.
Master Anon 25.3.2020 klo 14.42 
go advocate the removal of opening the visor option as well, then
Generic-User 25.3.2020 klo 13.24 
Mod seems irrelevant these days considering you automatically absorb oxygen passively if it's in the environment. No reason to ever take off the helmet now anyway since you won't burn through your suit supply in a pressurized area anymore.
Crazyloop_NY 24.2.2020 klo 16.34 
Still broken. :cozycastondeath:
[ARMCO] Fyrebird721 10.1.2020 klo 5.43 
welp... it used to work, but has been a while since i last used it, but it now no longer closes the helmet when in vacuum... hope you are doing good, and can find the time to see if a fix is possible, because knowing Keen, they probably borked it hard
Lexx Lord 2.10.2019 klo 11.46 
Mod broke :steamsad:
Master Anon 24.8.2019 klo 0.45 
IT BROKE
SGCam  [tekijä] 15.9.2018 klo 17.04 
@SamDark Thanks for the bug report - I misplaced that line after some refactoring...oops. Also, the goal was to make the mod not be too intensive, though i suppose its not that big anyways.

@Dawg The time setting you can control sets the duration of the override, not the helmet speed.
SamDark 13.9.2018 klo 22.09 
From investigating your code, I see that the helmet function only runs on every 5th frame. Making a player lose health propability up to 80%.
SamDark 13.9.2018 klo 21.56 
Hello, I can confirm this also. When you leave the cockpit then you take damage. Also the mod wrongly disables all chat by using "sendToOthers = false;" in "HandleMessageEntered". That should only be set when the entered chat is actually a command of this mod (Just move that line down into and "else" of "if (!messageLower.StartsWith("/hat "))" will fix it. Cheers.)
Scooby Doo 12.9.2018 klo 8.33 
SGCam I can confirm that the helmet goes on so slowly that even out of a bay door of a big ship you take damage. I have tried changing it to 5sec and that is not enough. Mod will not go any faster as I typed 3 and it went to 5. In that time you loose about 15 health or so.
Scarabol 26.8.2018 klo 6.11 
Just a little drill ship with small cockpit, my GUI says O2 high even though I don't have a Oxygen system attached. The mod removes the helmet correctly when I enter the ship, but fails to close it fast enough if I leave it. Therefore I lose a small amount of health on each leave of the ship.
SGCam  [tekijä] 24.8.2018 klo 19.02 
@Scarabol Did you get in to the ship in a pressurized environment or does your ship have its own oxygen system?
Scarabol 24.8.2018 klo 3.17 
GREAT! Mod idea, I love it! However it's not working for me, each time I get out of my small drill ships cockpit I lose a bit health due to too slow helmet closing
K1ll3rM 20.7.2018 klo 2.47 
Thank you! Good modder :)
SGCam  [tekijä] 19.7.2018 klo 19.09 
So I believe everything should be working properly now; if you have any issues please report them and send me the log to sgcam8@gmail.com
SGCam  [tekijä] 19.7.2018 klo 18.09 
@Everyone I am hoping to get back to maintaining this again, assuming the multiplayer update lives up to expectations.
SGCam  [tekijä] 19.7.2018 klo 18.08 
@Kittykondo /command arg[] is a pretty universal coding method for console commands
K1ll3rM 18.7.2018 klo 13.45 
I can confirm that the manual override is broken
8bit shadow 18.2.2018 klo 4.08 
Manual override seems broken again, interesting note: when first installing the mod and using it the override will work but afterwards it will not.
My guess is that a variable that the override feature uses might not be having its variables reset properly when the user exists the world (as such saving with an old value).
Dragon King Pz 9.1.2018 klo 14.40 
Hey I'm having a problem with the Rapid Switching on my server, it works fine for me but for everyone outside my network it keeps onpening and closeing when in space
Thwarted 1.1.2018 klo 16.30 
Yeah the auto close and open part works but the temporary overide part does not. It just instantly reopens when I try to use it. There is still a bit of lag that causes suffication damage by 3 points of health when letting it use the auto feature. I do like it incase I'm in a ship or a place and I accidently eject my self or in a hurry and don't care if I take a tad bit of damage. It was working, but quit as of December 12th. That's at least when I noticed the overide timer stopped working.
SGCam  [tekijä] 29.12.2017 klo 13.52 
@Patrick I didn't even know it broke again since December 9?
Thwarted 29.12.2017 klo 1.12 
I haven't had this mod work in weeks. Just unsubbing it for now. I'll come back and check on it once it's fixed.
D3adlyStar 9.12.2017 klo 15.01 
Nice Thank you SGCam!
Proximity_Microwave 9.12.2017 klo 10.54 
Thank you for the update.
SGCam  [tekijä] 9.12.2017 klo 10.09 
HELMET AUTOTOGGLE WORKS AGAIN!

Cause of crashes: The functions used to access the config file were changed, as was the config file formatting. #solved
D3adlyStar 4.12.2017 klo 22.50 
If you could get this working agian soon SGCam that would be great! Helmet Auto-Toggle is not a big mod But it's still very useful to have. This was the first mod i subscribed to for Space Engineers, And now i'm sad to see it's still not working about a few weeks after the Physics Overhaul. Not complaining just hope this will be fixed soon thats all.
LexieAssassin (she/her) 20.11.2017 klo 17.17 
Cool. Could you let me know when you get it fixed? I have it removed my my active mods for the time being.
SGCam  [tekijä] 20.11.2017 klo 15.06 
Yea, they rejiggered the atmosphere api. I will get around to fixing this soon^tm
LexieAssassin (she/her) 20.11.2017 klo 13.55 
Since the big physics overhaul patch, this mod is nonfunctional. The game acts like it is not even there at all.
Auynonymous 25.10.2017 klo 16.39 
cool
[FUR] Pabloss 16.10.2017 klo 8.39 
Hello i have a problem. after subscribing this mod i cant use manual override . Any sugestions ?
SGCam  [tekijä] 10.9.2017 klo 15.54 
@maxyall - I'll look into that, its probably some change keen made without telling anyone...
Maxyall 9.9.2017 klo 19.29 
Hi your mod somehow killed the multiplayer global chat. Pls look into it
SGCam  [tekijä] 14.8.2017 klo 21.52 
So, I see where you are coming from with the shift-key toggle, though I personally don't think its any more useful than the current functionality. I will probably include it as an option anyways on the next update. In the meantime, you have 3 options: rebind your helmet toggle keys, set the delay to be rather long, or use "/hat off" and "/hat on" for the same effect.
Different 14.8.2017 klo 20.47 
(I am personally fine with this mode) but this is just a suggestion to those that are not that happy, I have installed the relative dampeners mod and you click shift+z to enable it, so what about shift+J for automatic and manual mode?
SGCam  [tekijä] 11.8.2017 klo 16.49 
The update everone has been waiting for is here: manual override mode using your custom keybinds!
SGCam  [tekijä] 2.8.2017 klo 11.01 
@Proximity Sadly that particular issue is due to server latency. The next update will include a fix for that (by limiting toggle rate).
Proximity_Microwave 1.8.2017 klo 14.44 
Hi. I've been using your mod in single player and love it. Recently put it on a multiplayer server that a friend and I will be using and when entering a vacuum the visor will rapidly toggle itself on and off.
Fenrii 18.7.2017 klo 14.01 
Ah, I did not know that actually happens with your mod enabled. I can understand the 10second logic in that case.
SGCam  [tekijä] 18.7.2017 klo 13.39 
Ah, now I understand what you are saying. But how is that helpful? The biggest use for the manual override (that i can see) is to close the helmet before leaving a pressurized area to avoid damage.
Fenrii 18.7.2017 klo 12.26 
Hmn, like I suggested if you make it so that the helmet toggle button inverts/reverses the automatic mode behaviour that will create a perfect toggle.

What I mean by that is when you push helmet button Helmet Auto-Toggle instead of opening helmet in oxigenated areas will instead automatically close helmet and vice versa.
SGCam  [tekijä] 18.7.2017 klo 11.40 
@Starscribe - b/c you only have one key for the helmet, and in manual you want to be able to switch between open and closed without going back into automatic. the other option is that you have to re-enable the automode via chat command after going manual. if you have a better suggestion, id love to hear it :)
Fenrii 18.7.2017 klo 11.35 
@SGCam | Why the timer? Thats just so weird~ ._.
SGCam  [tekijä] 18.7.2017 klo 9.23 
@Starscribe - Yup, it will let you use the helmet keybind to manually toggle the helmet, and then it will stay in manual mode for a configurable time (like 10 seconds) before switching back to auto.
Fenrii 17.7.2017 klo 21.54 
@SGCam | That's awesome, I am looking forward to it. I actively use your mod its great, if you can figure it out it will make it even better! May I ask how is "manual override" planned to function? Will it involve the use of default helmet key?
SGCam  [tekijä] 17.7.2017 klo 20.19 
@Gamerboy and Y4nn - I might be able to supress the first tick of damage. Needs work, but its on the list. The issue is the game literally cant change the state of your visor while you are in a cryopod or control seat, and the damage is dealt before the mod can close the visor. A solution is in the works, we shall see.