wrcsubers

[1.0.5] EVA OK! - Prevent Accidental EVAs! v1.1 Out Now

Recommended Posts

Introducing E.V.A. OK!

Atmospheric Re-Entry... Ahhhh your ship bathed in the warm glow of super heated air, sweat dripping from your brow under the sweat of anticipation.  Such a beautiful site to behold.  Let's see what all this fire looks like from inside the cockpit...

CRAP! AHHHHH! I hit EVA instead of IVA!!!!!!!!!! Noooooooo.....

Now Thomgard Kerman is really sweating as he burns up tumbling through the atmosphere at mach 7. Poof... Vaporized.

EVA OK! is here to prevent that from ever happening again.  EVA OK! is like automatic child locks for your space capsules, locking and unlocking the cockpit doors under certain circumstances automatically.  What's that? You WANT to burn up Thomgard on Re-Rentry... If you insist, you can EVA anytime you want by holding down the right CTRL button and clicking EVA.

Let's prevent the thousands of accidental EVAs that happen every year.


Features in v1.1:

  • Automatic Unlocking of cockpit doors under the following situations:
    • In Atmosphere: Your ship must be landed (land or sea) and be traveling less than 10m/s.
    • In Vacuum: Your ship must have the Throttle at 0%.
    • All other times the doors are automatically locked.
  • Bypass mode:
    • Map-able bypass button.
    • EVAOK_SettingsWindow.jpg
      • Access EVA OK! Settings while in the Space Center view.
        • Map any keyboard button (unmodified only, ie Shift+H WON'T work).
        • Setting is saved externally and loads automatically across sessions/flights.
    • Hold down your mapped button on your keyboard to EVA at anytime.
  • Fixed issue with naming and cross-platform compatibility (removed '!' from name).

 

Next Update:

  • Suggestions are very welcome!

Known Compatible Mods:

  • All at this time. 
  • This is an extremely basic mod with low overhead. 
  • Please report if you have any problems!


Download:
You can download EVA OK! from Kerbal Stuff here
or
You can download EVA OK! from Curse here

 

Source:
Source code can be found here
License:
EVA OK! is released under the MIT License


If you have any questions, comments or suggestions; I am wide open =) I appreciate any help with my code and ideas for improvement.

Thanks for Looking!

Edited by Deddly
Removed minor profanity

Share this post


Link to post
Share on other sites

But... I like jumping out of a spacecraft going > mach 8!

Edit: In the atmosphere of course.

Edited by VenomousRequiem

Share this post


Link to post
Share on other sites

Mind = Blown

Where's the rep button? I suppose this newfangled "like" button will do. 

Share this post


Link to post
Share on other sites

And a new genius arises...

Share this post


Link to post
Share on other sites

Really nice but, if you just made it for this reason, there's something called the "C" for IVA.

Share this post


Link to post
Share on other sites
36 minutes ago, davidy12 said:

Really nice but, if you just made it for this reason, there's something called the "C" for IVA.

True, although I think we can all agree that the EVA button is dangerously close/similar looking to the IVA button on a Kerbal's portrait.

This mod is tiny, <150 lines of code and the compiled DLL is a puny 5KB.  Why not have it? Better than accidentally ejecting your Kerbal at the exact wrong time. =)

Share this post


Link to post
Share on other sites

Good idea! But if I cannot change hotkey - I cannot use that... ;.;

Share this post


Link to post
Share on other sites
1 hour ago, ZobrAA said:

Good idea! But if I cannot change hotkey - I cannot use that... ;.;

Hey ZobrAA,

I'm working on an update to EVA OK! to allow you to map your own Hotkeys for that action.  Out of curiosity, what/when is a time you would like to be able to bypass the locks? Maybe I'll consider adding it to the unlock logic.

Thanks!

Share this post


Link to post
Share on other sites
15 hours ago, wrcsubers said:

I'm working on an update to EVA OK! to allow you to map your own Hotkeys for that action.

Cool! :)

15 hours ago, wrcsubers said:

Out of curiosity, what/when is a time you would like to be able to bypass the locks? Maybe I'll consider adding it to the unlock logic.

I personally like the general simplicity of your concept, no need to overcomplicate this, IMHO. Problem for me just in my personal keybindings - I have Throttle Up on RCtrl instead of default Throttle Down... I would like it to be on Alt or maybe on LCtrl - that's it :)

Share this post


Link to post
Share on other sites

This is precisely what I needed, child locks.

 

I have kids, 7 & 9 that play Kerbal and I accidentally hit the EVA button once.  Because that was one of the things they saw when being introduced to the game, they have turned it into a Felix Baumgartner simulator.  I was not able to teach them anything.  This can help me to kindly beguile them into learning. Thanks so much.

Share this post


Link to post
Share on other sites
2 hours ago, Piberius said:

This is precisely what I needed, child locks.

 

I have kids, 7 & 9 that play Kerbal and I accidentally hit the EVA button once.  Because that was one of the things they saw when being introduced to the game, they have turned it into a Felix Baumgartner simulator.  I was not able to teach them anything.  This can help me to kindly beguile them into learning. Thanks so much.

That is absolutely awesome to hear! I'm glad I could help you out =D

Just don't tell them that they can override it =P

Edited by wrcsubers

Share this post


Link to post
Share on other sites
7 hours ago, wrcsubers said:

v1.1 is available now!

Cool! But it's not working for me - EVA button is still visible ;.;

Maybe it's because I'm playing 64-bit KSP...

Edited by ZobrAA

Share this post


Link to post
Share on other sites
4 hours ago, ZobrAA said:

Cool! But it's not working for me - EVA button is still visible ;.;

Maybe it's because I'm playing 64-bit KSP...

Yeah that's probably why... Unfortunately supporting 64-bit KSP isn't going to be a possibility (for the time being at least).  Sorry =/

Share this post


Link to post
Share on other sites
5 hours ago, wrcsubers said:

Yeah that's probably why... Unfortunately supporting 64-bit KSP isn't going to be a possibility (for the time being at least).  Sorry =/

Oh, well... :blush: I will return in the time of 1.1 :rolleyes:

Share this post


Link to post
Share on other sites

Personally I think the Makers at squad should incorporate this in a future version of the game.. A lot of happy and alive Keral nauts thank you for this iddea..

And yes I think this is a brilliant piece of coding.. and again I think Squad should put this into the game.

Space_Coyote

Share this post


Link to post
Share on other sites

Upgrade for KSP 1.1?

Share this post


Link to post
Share on other sites

Since it's been well over a month since Amy request for 1.1.x support, I'd like to bump for any chance on compatibility, even just a community recompile?

Share this post


Link to post
Share on other sites

I know this thread has aged beyond ancient, but would anybody be up for a recompile? Will linuxgurugamer fly to this mod and bring it up from the graveyard?

 

Probably not the second scenario, but I would like to incorporate this mod into my game. Don't want to think about kerbal death, even if the game is notorious for that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now