Parts/Coupling/Decoupler 0.cfg

From Kerbal Space Program Wiki
Jump to: navigation, search
This is the configuration file for TD-06 Decoupler.
PART
{
	name = Decoupler_0
	module = Part
	author = RoverDude
	MODEL
	{
		model = Squad/Parts/Coupling/Assets/Decoupler_0
	}
	rescaleFactor = 1.0
	node_stack_top = 0.0, 0.0325, 0.0, 0.0, 1.0, 0.0, 0
	node_stack_bottom = 0.0, -0.0325, 0.0, 0.0, -1.0, 0.0, 0
	TechRequired = precisionEngineering
	entryCost = 1200
	cost = 150
	category = Coupling
	subcategory = 0
	title = #autoLOC_501781  //#autoLOC_501781 = TD-06 Decoupler
	manufacturer = #autoLOC_501676  //#autoLOC_501676 = O.M.B. Demolition Enterprises
	description = #autoLOC_501782   //#autoLOC_501782 = Description Creation Pending
	attachRules = 1,0,1,1,0
	mass = 0.01
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.3
	angularDrag = 2
	crashTolerance = 6
	breakingForce = 150
	breakingTorque = 150
	maxTemp = 2000 // = 3000
	fuelCrossFeed = True
	stageOffset = 1
	childStageOffset = 1
	bulkheadProfiles = size0
	tags = #autoLOC_501783   //#autoLOC_501783 = decouple
	fx_gasBurst_white = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, decouple
	sound_decoupler_fire = decouple	
		
	MODULE
	{
		name = ModuleDecouple
		ejectionForce = 50
		isOmniDecoupler = false
		explosiveNodeID = top		
	}
	MODULE
	{
		name = ModuleToggleCrossfeed
		crossfeedStatus = false
		toggleEditor = true
		toggleFlight = true
	}
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = False
		situationMask = 127
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ALWAYS
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = BODYANDSITUATION
			prestige = Significant
		}
		CONSTRAINT
		{
			type = REPEATABILITY
			value = ONCEPERPART
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 4000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 8000
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 2000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 4000
			prestige = Significant
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = GT
			value = 1000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = ALTITUDEENV
			test = LT
			value = 2000
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 2000
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
	}
	
	DRAG_CUBE
	{
		cube = Default, 0.06191,0.7669,0.6956, 0.06191,0.7669,0.6956, 0.38,0.9776,0.1201, 0.38,0.9776,0.1201, 0.06191,0.7664,0.6956, 0.06191,0.7664,0.6956, 0,0,0, 0.625,0.1032,0.625
	}	
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #ffffff
		secondaryColor = #ffffff
		baseDisplayName = #autoLOC_8007119
		baseThemeName = White
		useMultipleDragCubes = false
		
		VARIANT
		{
			name = YellowAndWhite
			displayName = #autoLOC_8003114
			description = #autoLOC_8003115
			primaryColor = #ffffff
			secondaryColor = #999999
			TEXTURE
			{
				shader=KSP/Bumped Specular
				mainTextureURL = Squad/Parts/Coupling/Assets/Decouplers_whiteYellow
				_BumpMap = Squad/Parts/Coupling/Assets/Decouplers_whiteYellow_N
				_Color  = #ffffff	
				_SpecColor = #c4c4c4
				_Shininess = 0.44
			}
		}
	}	
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 40
	}
}