MakingHistory/Parts/Engine/LiquidEngineLV-TX87.cfg

From Kerbal Space Program Wiki
Revision as of 20:34, 19 October 2024 by ArnePeirs (talk | contribs) (Add config)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This is the configuration file for LV-TX87 "Bobcat" Liquid Fuel Engine.
PART
{
	name = LiquidEngineLV-TX87
	module = Part
	author = RoverDude
	rescaleFactor = 1.0
	node_stack_top = 0.0, 0.76784, 0.0, 0.0, 1.0, 0.0, 2
	node_stack_bottom = 0.0, -1.25, 0.0, 0.0, -1.0, 0.0, 2
	node_attach = 0.0, 0.76784, 0.0, 0.0, 1.0, 0.0, 2
	
	fx_exhaustFlame_blue_medium = 0.0, -0.5337813, 0.1355984, 0.0, 1.0, 0.0, running
	fx_exhaustLight_blue = 0.0, -0.5337813, 0.1355984, 0.0, 0.0, 1.0, running
	fx_smokeTrail_light = 0.0, -5.74338, 0.0, 0.0, 1.0, 0.0, running
	fx_exhaustSparks_flameout = 0.0, -5.74338, 0.0, 0.0, 1.0, 0.0, flameout
	sound_vent_medium = engage
	sound_rocket_hard = running
	sound_vent_soft = disengage
	sound_explosion_low = flameout

	TechRequired = heavyRocketry
	entryCost = 8000
	cost = 2000
	category = Engine
	subcategory = 0
	title = #autoLOC_8310015   //#autoLOC_8310015 = LV-TX87 "Bobcat" Liquid Fuel Engine
	manufacturer = #autoLOC_501627 //#autoLOC_501627 = Jebediah Kerman's Junkyard and Spacecraft Parts Co
	description = #autoLOC_8310016  //#autoLOC_8310016 = Description Creation Pending
	attachRules = 1,1,1,1,0
	mass = 2
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.3
	angularDrag = 2
	crashTolerance = 12
	breakingForce = 150
	breakingTorque = 150
	maxTemp = 2000 // = 3000
	fuelCrossFeed = True
	bulkheadProfiles = size1p5, srf
	tags = #autoLOC_8310017 //#autoLOC_8310017 = fueltank ?lfo liquid oxidizer propellant rocket (bobcat
	MODEL
	{
		model = SquadExpansion/MakingHistory/Parts/Engine/Assets/LV-T87
	}
	MODEL
	{
		model = SquadExpansion/MakingHistory/Parts/SharedAssets/Shroud1p5x2
		position = 0,0.568,0
		iconHidden = true
	}	
	MODEL
	{
		model = SquadExpansion/MakingHistory/Parts/SharedAssets/Shroud1p5x3
		position = 0,0.768,0
		iconHidden = true
	}
	MODULE
	{
		name = ModuleEngines
		thrustVectorTransformName = thrustTransform
		exhaustDamage = True
		ignitionThreshold = 0.1
		minThrust = 0
		maxThrust = 400
		heatProduction = 175
		fxOffset = 0, 0, 0.1
		EngineType = LiquidFuel
		exhaustDamageDistanceOffset = 0.35
		PROPELLANT
		{
			name = LiquidFuel
			ratio = 0.9
			DrawGauge = True
		}
		PROPELLANT
		{
			name = Oxidizer
			ratio = 1.1
		}
		atmosphereCurve
		{
			key = 0 310
			key = 1 290
			key = 9 0.001
		}
	}
	
	MODULE
	{
		name = ModuleAlternator
		RESOURCE
		{
			name = ElectricCharge
			rate = 8.0
		}
	}
	
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = gimbal_1
		gimbalRange = 5
 		gimbalResponseSpeed = 15
 		useGimbalResponseSpeed = true
		actionSuffix = #autoLOC_8012024		// #autoLOC_8012024 = L
	}
	MODULE
	{
		name = ModuleGimbal
		gimbalTransformName = gimbal_2
		gimbalRange = 5
 		gimbalResponseSpeed = 15
 		useGimbalResponseSpeed = true
		actionSuffix = #autoLOC_8012025		// #autoLOC_8012025 = R
	}
	MODULE
	{
		name = ModulePartVariants
		baseVariant=TankButt
		VARIANT
		{
			name = TankButt
			displayName= #autoLOC_8007112
			primaryColor = #ffffff
			secondaryColor = #000000
			sizeGroup = GroupA
			GAMEOBJECTS
			{
				TankButt = true
				TrussMount = false
				Shroud1p5x2 = true
				Shroud1p5x3 = false
			}
			NODES
			{
				node_stack_bottom = 0.0, -1.307, 0.0, 0.0, -1.0, 0.0, 2
			}			
		}
		VARIANT
		{
			name = TrussMount
			displayName= #autoLOC_8007113
			primaryColor = #999999
			secondaryColor = #000000
			sizeGroup = GroupB
			GAMEOBJECTS
			{
				TankButt = false
				TrussMount = true
				Shroud1p5x2 = false
				Shroud1p5x3 = true
			}
			NODES
			{
				node_stack_bottom = 0.0, -1.732, 0.0, 0.0, -1.0, 0.0, 2
			}			
		}
	}
	
	MODULE
	{
		name = ModuleJettison
		jettisonName = 	Shroud1p5x3,Shroud1p5x2
		bottomNodeName = bottom
		isFairing = True
		jettisonedObjectMass = 0.1
		jettisonForce = 5
		jettisonDirection = 0 0 1		
	}	
	
	MODULE
	{
		name = ModuleTestSubject
		useStaging = True
		useEvent = True
		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 = 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 = ALTITUDE
			test = GT
			value = 0 // this just registers altitude as something to care about
			situationMask = 8
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 300000
			situationMask = 16
			body = _NotSun
		}
		CONSTRAINT
		{
			type = ALTITUDE
			test = LT
			value = 600000
			situationMask = 32
			body = _NotSun
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 0
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 600
			situationMask = 8
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 300
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 1200
			situationMask = 8
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEED
			test = GT
			value = 600
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEED
			test = LT
			value = 2500
			situationMask = 8
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 200
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 100
			prestige = Trivial
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 100
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 50
			prestige = Significant
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = LT
			value = 50
			prestige = Exceptional
		}
		CONSTRAINT
		{
			type = SPEEDENV
			test = GT
			value = 20
			prestige = Exceptional
		}
	}	
}