Serenity/Parts/Robotics/rotor 03.cfg

From Kerbal Space Program Wiki
Jump to: navigation, search
This is the configuration file for EM-64 Heavy Rotor.
PART
{
	name = rotor_03
	module = Part
	author = RoverDude
	MODEL
	{
		model = SquadExpansion/Serenity/Parts/Robotics/Assets/rotor_03
	}

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

	NODE
	{
		name = N8_1
		transform = N8_1
		size=2
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_2
		transform = N8_2
		size=2
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_3
		transform = N8_3
		size=2
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_4
		transform = N8_4
		size=2
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_5
		transform = N8_5
		size=2
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_6
		transform =N8_6
		size=2
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_7
		transform = N8_7
		size=2
		method=FIXED_JOINT		
	}
	NODE
	{
		name = N8_8
		transform = N8_8
		size=2
		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, 2
	node_stack_top = 0.0, 1.25, 0.0, 0.0, 1.0, 0.0, 2
	node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 2
	TechRequired = advancedMotors
	entryCost = 8200
	cost = 600
	category = Robotics
	subcategory = 0
	title = #autoLOC_8320041		//#autoLOC_8320041 = EM-64 Heavy Rotor
	manufacturer = #autoLOC_501649		//#autoLOC_501649 = Kerbal Motion LLC
	description = #autoLOC_8320042		//#autoLOC_8320042 = A large low-torque, high RPM eletric motor.  Make sure you don't run out of EC, or it will only be useful as a large lazy susan.
	// 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 = size1
	tags = #autoLOC_8320037 //#autoLOC_8320037 = robot actuator motor

	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
		servoSrfMeshNames = COL1
		rotationMatch = 0.009
		maxMotorOutput = 400
		mainAxis = Y
        traverseVelocityLimits = 0, 460
		rpmLimit = 460		
		motorizedMassPerKN = 0.004
		motorizedCostPerDriveUnit = 4
		brakeTorque = 1200
		rotorSpoolTime = 150
		efficiency = 0.75
		baseResourceConsumptionRate = 0.06
		referenceConsumptionVelocity = 460
		// if RESOURCE is used, negative power is simply dumped
		RESOURCE
		{
			name = ElectricCharge
			rate = 1
		}
		// INPUT_RESOURCE is by default equivalent to RESOURCE
		//INPUT_RESOURCE
		//{
		//	name = ElectricCharge
		//	rate = 1
		//}
		//OUTPUT_RESOURCE is required to reclaim energy from negative power
		//OUTPUT_RESOURCE
		//{
		//	name = ElectricCharge
		//	rate = 1
		//}
		angularPositionSpring = 0.0000000001
		angularPositionDamper = 1000
	}
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #999999
		secondaryColor = #915934
		baseDisplayName = #autoLOC_8320084	//#autoLOC_8320084 = Gray with Stripes
		baseThemeName = Gray with Stripes
		useMultipleDragCubes = false
		VARIANT
		{
			name = Gray
			displayName = #autoLOC_8007101 // autoLOC_8007101 = Gray
			themeName = Gray
			primaryColor = #999999
			TEXTURE
			{
				mainTextureURL = SquadExpansion/Serenity/Parts/Robotics/Assets/Rotor_03_diffuse_plain
			}
		}
	}
	MODULE
	{
		name = ModuleResourceAutoShiftState
		affectedResourceName = ElectricCharge
		affectedModuleName = ModuleRoboticServoRotor
		resourceShutOffHandler = true
		resourceStartUpHandler = true
		resourceShutOffStartUpUsePercent = true
		resourceShutOffAmount = 0
		resourceShutOffPercent = 0
		resourceStartUpAmount = 0
		resourceStartUpPercent = 5
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}