Serenity/Parts/Robotics/rotoServo 04.cfg

From Kerbal Space Program Wiki
Jump to: navigation, search
This is the configuration file for Rotation Servo M-25.
PART
{
	name = rotoServo_04
	module = Part
	author = RoverDude
	MODEL
	{
		model = SquadExpansion/Serenity/Parts/Robotics/Assets/RotoServo_04
	}

	NODE
	{
		name = N1
		transform = N1
		size=1
		method=FIXED_JOINT
		rigid = true
	}
	NODE
	{
		name = N2
		transform = N2
		size=1
		method=FIXED_JOINT
		rigid = true
	}
	NODE
	{
		name = N3
		transform = N3
		size=1
		method=FIXED_JOINT
		rigid = true
	}
	NODE
	{
		name = N4
		transform = N4
		size=1
		method=FIXED_JOINT
		rigid = true
	}
	rescaleFactor = 1
	node_stack_bottom = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 2
	node_stack_top = 0.0, 0.9375, 0.0, 0.0, 1.0, 0.0, 2
	node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 2
	stackSymmetry = 3
	TechRequired = actuators
	entryCost = 6400
	cost = 500
	category = Robotics
	subcategory = 0
	title = #autoLOC_8320032		//#autoLOC_8320032 = Rotation Servo M-25
	manufacturer = #autoLOC_501649		//#autoLOC_501649 = Kerbal Motion LLC
	description = #autoLOC_8320033		//#autoLOC_8320033 = A large, high-torque servo that can rotate attached parts through almost 360 degrees.	When you just don't have enough torque for whatever nefarious prupose you have in mind, this is what you use.
	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,1,1,1,0
	mass = 0.48
	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_8320028 //#autoLOC_8320028 = robot actuator rotate servo

	MODULE
	{
		name = ModuleRoboticRotationServo
		servoTransformName = TopJoint
		baseTransformName = BottomJoint
		servoAttachNodes = top,N1,N2,N3,N4
		servoSrfMeshNames = Rotor,COL1
		traverseVelocityLimits = 1, 180
		hardMinMaxLimits = -177, 177
		softMinMaxAngles = -177, 177
		targetAngle = 0
		mainAxis = Y
		maxMotorOutput = 1000
		driveSpringMutliplier = 100
		driveDampingMutliplier = 20
		motorizedMassPerKN = 0.0004
		motorizedCostPerDriveUnit = 0.5
		connectedMassScale = 1
		efficiency = 0.75
		baseResourceConsumptionRate = 0.02
		referenceConsumptionVelocity = 180
		// 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
		//}
	}
	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/rotoServos_diffuse_plain
			}
		}
	}
	MODULE
	{
		name = ModuleResourceAutoShiftState
		affectedResourceName = ElectricCharge
		affectedModuleName = ModuleRoboticRotationServo
		resourceShutOffHandler = true
		resourceStartUpHandler = true
		resourceShutOffStartUpUsePercent = true
		resourceShutOffAmount = 0
		resourceShutOffPercent = 0
		resourceStartUpAmount = 0
		resourceStartUpPercent = 5
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}