Jump to content

Trying to remove/add module/resources with MM


Recommended Posts

Hi guys

I'm trying to modify the configs for the shuttle external tanks from Cormorant Aeronology with Module Manager so that they use b9 part switch instead of the standard FSfuelSwitch that comes as standard with them (I want to switch to LqdHydrogen/Oxidizer). This is the config that I'm trying to use, but I can't see what I'm doing wrong. I did briefly get it to remove the FSfuelSwitch module, but it doesn't seem to be doing that any more. Any help would be much appreciated.

//First remove FSfuelSwitch
@PART[CA_ET,CA_ET_extension,CA_ETnose]
{
	!MODULE[FSfuelSwitch]
}

//Then add basic resources for b9PartSwitch
@PART[CA_ET]
{	
	%RESOURCE[LiquidFuel]
	{
		%amount = 9600
		%maxAmount = 9600
	}
	%RESOURCE[Oxidizer]
	{
		%amount = 11735
		%maxAmount = 11735
	}
}		
@PART[CA_ET_extension,CA_ETnose]
{			
	%RESOURCE[LiquidFuel]
	{
		%amount = 4800
		%maxAmount = 4800
	}		
	%RESOURCE[Oxidizer]
	{
		%amount = 5870
		%maxAmount = 5870
	}	
}

Thanks for the help @sebi.zzr, adding the curly brackets after deleting the module sorted it all out. I must have forgotten to add them back in after I rearranged the config a bit

Edited by Chimer4
Question answered
Link to comment
Share on other sites

8 hours ago, Chimer4 said:

I did briefly get it to remove the FSfuelSwitch module, but it doesn't seem to be doing that any more.

You have forgot the brackets.

@PART[CA_ET,CA_ET_extension,CA_ETnose]
{
 !MODULE[FSfuelSwitch] {}
}

 

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