Difference between revisions of "Serenity/Parts/Robotics/RotorEngine 02.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Add config)
 
(No difference)

Latest revision as of 17:58, 19 October 2024

This is the configuration file for R121 Turboshaft Engine.
PART
{
	name = RotorEngine_02
	module = Part
	author = RoverDude
	MODEL
	{
		model = SquadExpansion/Serenity/Parts/Robotics/Assets/RotorEngine_02
	}

	NODE
	{
		name = N2_1
		transform = N2_1
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N2_2
		transform = N2_2
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N3_1
		transform = N3_1
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N3_2
		transform = N3_2
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N3_3
		transform = N3_3
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N4_1
		transform = N4_1
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N4_2
		transform = N4_2
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N4_3
		transform = N4_3
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N4_4
		transform = N4_4
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N6_1
		transform = N6_1
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N6_2
		transform = N6_2
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N6_3
		transform = N6_3
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N6_4
		transform = N6_4
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N6_5
		transform = N6_5
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N6_6
		transform = N6_6
		size=0
		method=FIXED_JOINT		
	}

	NODE
	{
		name = N8_1
		transform = N8_1
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_2
		transform = N8_2
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_3
		transform = N8_3
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_4
		transform = N8_4
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_5
		transform = N8_5
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_6
		transform =N8_6
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_7
		transform = N8_7
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_8
		transform = N8_8
		size=0
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N9_1
		transform = N9_1
		size=0
		method=FIXED_JOINT		
	}

	MODULE
	{
		name = ModuleDynamicNodes
		autostrut = true
		NODE_SET
		{
			DisplayText = #autoLOC_8004446	// #autoLOC_8004446 = Double
			NodePrefix = N2_
			SetCount = 2
			Symmetry = 1
		}

		NODE_SET
		{
			DisplayText = #autoLOC_8004447	// #autoLOC_8004447 = Triple
			NodePrefix = N3_
			SetCount = 3
			Symmetry = 2
		}

		NODE_SET
		{
			DisplayText = #autoLOC_8004448	// #autoLOC_8004448 = Quad
			NodePrefix = N4_
			SetCount = 4
			Symmetry = 3
		}

		NODE_SET
		{
			DisplayText = #autoLOC_8004449	// #autoLOC_8004449 = Hex
			NodePrefix = N6_
			SetCount = 6
			Symmetry = 5
		}
		NODE_SET
		{
			DisplayText = #autoLOC_8004450	// #autoLOC_8004450 = Octo
			NodePrefix = N8_
			SetCount = 8
			Symmetry = 7
		}
	}


	rescaleFactor = 1
	node_stack_bottom = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0
	node_stack_top = 0.0, 0.415, 0.0, 0.0, 1.0, 0.0, 0
	node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0
	TechRequired = aerodynamicSystems
	entryCost = 1200
	cost = 200
	category = Robotics
	subcategory = 0
	title = #autoLOC_8002402	//#autoLOC_8002402 = R121 Turboshaft Engine
	manufacturer = #autoLOC_501662 //#autoLOC_501662 = C7 Aerospace Division
	description = #autoLOC_8002403	//#autoLOC_8002403 = This strong turbine engine consumes liquid fuel and outputs angular acceleration. Also emits a pleasently high pitched whine.
	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,1,1,1,0
	mass = 0.6
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 1
	crashTolerance = 12
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2000 // = 5000
	bulkheadProfiles = size0
	tags = #autoLOC_8002406	//#autoLOC_8002406 = robot actuator motor LF
	
	MODULE
	{
		name = ModuleRoboticServoRotor
		servoTransformName = TopJoint
		servoAttachNodes = top,N2_1,N2_2,N3_1,N3_2,N3_3,N4_1,N4_2,N4_3,N4_4,N6_1,N6_2,N6_3,N6_4,N6_5,N6_6,N8_1,N8_2,N8_3,N8_4,N8_5,N8_6,N8_7,N8_8,N9_1
		servoSrfMeshNames = COL1
		rotationMatch = 0.009
		maxMotorOutput = 150
		mainAxis = Y
        traverseVelocityLimits = 0, 460
		motorizedMassPerKN = 0.004
		motorizedCostPerDriveUnit = 2
		brakeTorque = 450
		rpmLimit = 460
		rotorSpoolTime = 150
		rotorTorqueCurve = 1
		efficiency = 0.4
		baseResourceConsumptionRate = 0.1
		referenceConsumptionVelocity = 460
		RESOURCE
		{
			name = LiquidFuel
			rate = 0.01
			resourceFlowMode = STAGE_STACK_FLOW_BALANCE	
==
		}	
		RESOURCE
		{
			name = IntakeAir			
			rate = 0.5
		}		
		angularPositionSpring = 0.0000000001
		angularPositionDamper = 1000
	}
	MODULE
	{
		name = ModuleResourceIntake
		resourceName = IntakeAir
		checkForOxygen = true
		area = 0.005
		intakeSpeed = 75
		intakeTransformName = Intake
		machCurve
		{
			key = 0 0.85 0 0
			key = 1 1 0 0
			key = 2 0.95 -0.08751557 -0.08751557
			key = 4 0.5 -0.4034287 -0.4034287
			key = 8 0.01 0 0
		}
	}
	MODULE
	{
		name = ModuleAlternator
		roboticRotorMode = true
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.4
		}
	}
	RESOURCE
	{
		name = IntakeAir
		amount = 3
		maxAmount = 3
	}	
		
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}