Jump to content

[Mod Request] - [Utility] - Confirmation Box Before EVAing with 0 Monoprop


OddFunction

Recommended Posts

Some of you know that there exists a mod:

 

 

It is a TREMENDOUS mod, to that there is no doubt. HOWEVER. I keep running into an issue where I forget to put monoprop on small ships, and when my Kerbals EVA, they fly off helplessly to their doom! 

 

So what I would like, is if the game detects the player trying to EVA a kerbal who is on a ship with 0 monopropellent (0 mono in the ship, and 0 mono equipped to the kerbal itself) then it will either

1) Bring up a dialogue box, warning that the Kerbal has 0 Monopropellent, and asking the player to click to confirm that he/she really would like to EVA (preferable)

~OR ~

2) Refuse the EVA attempt with a pop up box

~OR~

3) Insert your solution to this issue here :)  

 


Thank you for your time, and your effort may be rewarded. Who knows!

 

Link to comment
Share on other sites

Just looking at it, what I'd think is the 'right' or realistic solution would be to have the initial load of 5 monoprop be 'free' - the suits hold their own supply, which you can use.  *Refilling* the suit takes monoprop.  So you can EVA a few times before you run out of EVA fuel - but you will run out.

Link to comment
Share on other sites

3 minutes ago, DStaal said:

Just looking at it, what I'd think is the 'right' or realistic solution would be to have the initial load of 5 monoprop be 'free' - the suits hold their own supply, which you can use.  *Refilling* the suit takes monoprop.  So you can EVA a few times before you run out of EVA fuel - but you will run out.

Agreed, that would be a perfect solution. I wish it was something that we could just edit a cfg for.

 

KerbalFirstEVAMinFuel == 5;

 

would solve it immediately :P

 

 

Link to comment
Share on other sites

2 hours ago, Alshain said:

@OddFunction Have you considered asking the author of that mod?  Making a mod add a small feature to another mod is a bit strange unless that mod isn't being developed anymore.

Yeah I dropped a link to the author as well when I made this thread, they said that they'd take a look at it. I did not expect the author to respond so quickly based upon the thread activity though. I was pleasantly surprised. 

 

3 hours ago, DStaal said:

I probably could write an MM patch that would add 5 monoprop per seat to every part with a seat...

The only issue I see with that is accounting for the modded seats like Viewing copulas and such. Unless, you can add monoprop to all "seats" without having to be so specific, then that might not be so tedious.  

However given all the available solutions, this still sounds the best.

 

Edited by OddFunction
Link to comment
Share on other sites

10 hours ago, OddFunction said:

The only issue I see with that is accounting for the modded seats like Viewing copulas and such. Unless, you can add monoprop to all "seats" without having to be so specific, then that might not be so tedious.  

However given all the available solutions, this still sounds the best.

I can add to all seats without being specific.  :wink:

@PART[*]:HAS[CrewCapacity[*]]
{
	%monotemp = #$CrewCapacity$
	@monotemp *= 5

	%RESOURCE[MonoPropellant]
	{
		%name = MonoPropellant
		%amount += #$/monotemp$
		%maxamount += #$/monotemp$
	}
}

Note that's completely untested - it's programmed directly into the browser, so I may well have a typo or something.  But if I didn't mess up, that should add 5 monopropellant per crew seat to every part with a crew seat.

Link to comment
Share on other sites

1 hour ago, DStaal said:

I can add to all seats without being specific.  :wink:


@PART[*]:HAS[CrewCapacity[*]]
{
	%monotemp = #$CrewCapacity$
	@monotemp *= 5

	%RESOURCE[MonoPropellant]
	{
		%name = MonoPropellant
		%amount += #$/monotemp$
		%maxamount += #$/monotemp$
	}
}

Note that's completely untested - it's programmed directly into the browser, so I may well have a typo or something.  But if I didn't mess up, that should add 5 monopropellant per crew seat to every part with a crew seat.

Nice, thanks for doing that. I will try this on a new save, and let you know how it works!

Link to comment
Share on other sites

I'm using EVAFuel too, and had some early accidents with it.  For instance I sent up a rescue ship intending it to come straight home, with no monoprop aboard to save mass.  Each rescuee "scrounges 1 monoprop" when abandoning their capsule.  Then I ran out of fuel in a Munar parking orbit.  Rescue ship rescue ship arrives, and the first EVA hogs all the mono on board to fill his tank.  The others are completely stuck.  Best way around this is dock and transfer (I didn't have docking parts on mine) or claw (not yet discovered in that save).  External command chairs have a substantial "rescue radius" where you can just get close and board (don't have those yet either).  With enough patience, you can maneuver the rescue ship hatch up close to a helpless floating kerbal, but MAN did that take a long time (didn't even have RCS thrusters yet!)

Long story short, 5 monoprop is a lot.  Would be nice to have a tweakable for a reserve tank saved for EVAs.  Then could meter out very small quantities to multiple kerbals successively.

I like the dialog box before approving a zero-mono EVA.  Like the reset-goo dialog (which otherwise should die a fiery death)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...