Jump to content

Prevent air breathing engines from working under water


stk2008

Recommended Posts

Hi all a long time ago I asked for a MM patch to stop engines that need an intake for air to not work under water unless the intake was above the water line.
I found my old thread regarding this but it seems it does not work any more the engines always work under even if the intake is under the water

this is the old post

Could any one be so kind to give me a new MM patch please :)

Thanks

 

p.s

I use Far and have a load of other mods installed so it may well be a mod changing it all.

Edited by stk2008
Link to comment
Share on other sites

On 10/25/2022 at 7:01 PM, stk2008 said:

but it seems it does not work any more

I'm surprised that actually broken config ever worked.

Use this and have a nice day.

// Intakes
@PART:HAS[@MODULE[ModuleResourceIntake]]
{
	@MODULE[ModuleResourceIntake]:HAS[#resourceName[IntakeA??]],*
	{
		%disableUnderwater = true
	}
}

// Engines
@PART:HAS[@MODULE[ModuleEngines*]]
{
	@MODULE[ModuleEngines*]:HAS[@PROPELLANT[IntakeA??]],*
	{
		%disableUnderwater = true
	}
}

Note the resource panel shows IntakeAir (hidden in the stock window) and IntakeAtm (in case of mods' jet engines that don't need Oxygen in the air).

screenshot2.png

screenshot3.png

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...