Jump to content

Atmospheric non-oxygen engines?


VectorSpam

Recommended Posts

I am working on a mod which adds electric thermal jet engines, which are specifically designed to work in oxygenless atmospheres. I had edited the script of the existing Juno engine to test the concept, but when I took it to Duna, the engine did not function. Do I need to make a new resource? If so, how can I make the existing air intakes work with my engine?

Link to comment
Share on other sites

59 minutes ago, TheProtagonists said:

If you use IntakeAtm instead of IntakeAir, it should allow engine to function in all atmospheres.

However I'm not sure exactly which mod added it (maybe CRP?), but IntakeAtm is the resource most other mods use to make all atmosphere engines.

Ah, okay. I had cloned the stock shock cone intake and disabled checking for oxygen in the config file. My guess is that it will break the other engines by supplying intakeAir when there is no oxygen.

Link to comment
Share on other sites

1 hour ago, VectorSpam said:

Ah, okay. I had cloned the stock shock cone intake and disabled checking for oxygen in the config file. My guess is that it will break the other engines by supplying intakeAir when there is no oxygen.

You could use simple MM patch to add IntakeAtm to all intakes without breaking their ability to supply oxygen to air-breathing engines:

@PART[*]:HAS[@MODULE[ModuleResourceIntake],@RESOURCE[IntakeAir],!@RESOURCE[IntakeAtm]]:Final
{
	+MODULE[ModuleResourceIntake]
	{
		@resourceName = IntakeAtm
		@checkForOxygen = false
	}

	+RESOURCE[IntakeAir]
	{
		@name = IntakeAtm
	}
}

 

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