Jump to content

Using Electricity Instead of Ablator for actively cooled rentry


captinjoehenry

Recommended Posts

Ok so I am not much of a modder but I love fiddling with the mods I download to make them more of what I want.  So right now I have the great OPT space plane pack and I really enjoy it.  The only thing is that the space plane parts cannot really handle huge speeds in atmosphere like thrusting to orbit with a scramjet on a real scale kerbol system.  So instead of just messing around with the max skin temp of the space plane parts I thought I would attempt to make them actively cooled so all of the space plane parts would be able to use electric charge to stay cool like a heat shield but with electric charge instead of ablator as I would imagine a space plane would make much better use of an active cooling system.  Of course failing that I'll just go back and mess with the parts max skin temp instead :P

Link to comment
Share on other sites

4 minutes ago, captinjoehenry said:

Ok so I am not much of a modder but I love fiddling with the mods I download to make them more of what I want.  So right now I have the great OPT space plane pack and I really enjoy it.  The only thing is that the space plane parts cannot really handle huge speeds in atmosphere like thrusting to orbit with a scramjet on a real scale kerbol system.  So instead of just messing around with the max skin temp of the space plane parts I thought I would attempt to make them actively cooled so all of the space plane parts would be able to use electric charge to stay cool like a heat shield but with electric charge instead of ablator as I would imagine a space plane would make much better use of an active cooling system.  Of course failing that I'll just go back and mess with the parts max skin temp instead :P

It's worth taking a look at the code for the heat shield and first seeing if you could change the .cfg so they consume electricity instead of ablator, and then applying that via MM patch to the OPT parts.

@K.Yeon might also want to consider making this an unlockable feature for the set.

Link to comment
Share on other sites

Just now, Esquire42 said:

It's worth taking a look at the code for the heat shield and first seeing if you could change the .cfg so they consume electricity instead of ablator, and then applying that via MM patch to the OPT parts.

@K.Yeon might also want to consider making this an unlockable feature for the set.

Ok how do I make an MM patch that'll add it?

Link to comment
Share on other sites

13 minutes ago, captinjoehenry said:

Ok how do I make an MM patch that'll add it?

Well, first you have to see if the tweak will work. 

From there, the patch would look something like the one I wrote to turn some of @DMagic's antenna parts into massive relays (DMagic, it'd be great if you threw this patch in with the install as an optional for OPM users.) Here's the patch:

@PART[dmSIGINT.End]:NEEDS[DMagic]
{
	@MODULE[ModuleDataTransmitter]
	{
		@antennaType = RELAY
		@antennaCombinable = True
	}
}

You'd change the @PART category to an OPT part and repeat the whole thing for each part you want, or perhaps to something from a @HAS call; maybe ModuleLiftingSurface. Then you'd plop in the electric ablator module.

From the looks of it the config would be pretty easy. This should work.

MODULE
	{
		name = ModuleAblator
		ablativeResource =  ElectricCharge
		lossExp = -7500
		lossConst = 0.1
		pyrolysisLossFactor = 6000
		reentryConductivity = 0.01
		ablationTempThresh = 500
		
		useChar = True
		charModuleName = shieldChar
	}

Hell, since this was so easy I might publish it myself. Tell me if this works, and I'll acknowledge you as testing/inspiration

I'd first add the modified ablator code to a specific part and test it, then see if it works. 

Edited by Esquire42
Pedantry
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...