Serenity/Parts/Robotics/hinge 01 s.cfg

From Kerbal Space Program Wiki
Revision as of 17:51, 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 G-00 Hinge.
PART
{
	name = hinge_01_s
	module = Part
	author = RoverDude
	MODEL
	{
		model = SquadExpansion/Serenity/Parts/Robotics/Assets/hinge_01_s
	}
	rescaleFactor = 1
	node_stack_bottom = 0.0, -0.10348, 0.0, 0.0, -1.0, 0.0, 0
	node_stack_top = 0.0, 0.10348, 0.0, 0.0, 1.0, 0.0, 0
	node_attach = 0.0, -0.10348, 0.0, 0.0, -1.0, 0.0, 0	
	TechRequired = advConstruction
	entryCost = 1000
	cost = 50
	category = Robotics
	subcategory = 0
	title = #autoLOC_8320016  			//#autoLOC_8320016 = G-00 Hinge
	manufacturer = #autoLOC_501651		//#autoLOC_501651 = Moving Parts Experts Group
	description = #autoLOC_8320019  	//#autoLOC_8320019 = A small actuator that can be used for a variety of purposes.  Over 20% of those have something to do with rockets.
	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,1,1,1,0
	mass = 0.01
	dragModelType = default
	maximum_drag = 0.2
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 1
	crashTolerance = 12
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2000 // = 5000
	bulkheadProfiles = size0
	tags = #autoLOC_8320022 //#autoLOC_8320022 = robot actuator hinge

	MODULE
	{
		name = ModuleRoboticServoHinge
		servoTransformName = TopJoint
		baseTransformName = BottomJoint
		servoAttachNodes = top
		servoSrfMeshNames = COL2
		traverseVelocityLimits = 1, 180
		hardMinMaxLimits = -90, 90
		softMinMaxAngles = -90, 90
		targetAngle = 0
		maxMotorOutput = 50
		driveSpringMutliplier = 100
		driveDampingMutliplier = 20
		motorizedMassPerKN = 0.0002
		motorizedCostPerDriveUnit = 1
		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
		//}
		mainAxis = X
	}
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #999999
		secondaryColor = #4b7c9a
		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/Hinge_diffuse_G-11_plain
			}
		}
	}
	MODULE
	{
		name = ModuleResourceAutoShiftState
		affectedResourceName = ElectricCharge
		affectedModuleName = ModuleRoboticServoHinge
		resourceShutOffHandler = true
		resourceStartUpHandler = true
		resourceShutOffStartUpUsePercent = true
		resourceShutOffAmount = 0
		resourceShutOffPercent = 0
		resourceStartUpAmount = 0
		resourceStartUpPercent = 5
	}
	MODULE
	{
		name = ModuleCargoPart
		stackableQuantity = 3
		packedVolume = 15
	}
}