Serenity/Parts/Robotics/hinge 03 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-12L Alligator Hinge.
PART
{
	name = hinge_03
	module = Part
	author = RoverDude
	MODEL
	{
		model = SquadExpansion/Serenity/Parts/Robotics/Assets/hinge_03
	}
	rescaleFactor = 1
	node_stack_bottom = 0.218749, 0.937497, 0.0, 1.0, 0.0, 0.0, 1
	node_stack_top = -0.937497, -0.218749, 0.0, 0.0, -1.0, 0.0, 1
	node_attach = 0.218749, 0.937497, 0.0, 1.0, 0.0, 0.0, 1
	TechRequired = actuators
	entryCost = 3600
	cost = 360
	category = Robotics
	subcategory = 0
	title =	#autoLOC_8320020	//#autoLOC_8320020 = G-12L Alligator Hinge
	manufacturer = #autoLOC_501651		//#autoLOC_501651 = Moving Parts Experts Group
	description = #autoLOC_8320021		//#autoLOC_8320021 = A medium actuator.  Moving Parts Experts Group offers no warranty if you jury rig your own landing legs with them.  Our engineers were curious what a warranty is for anyway.
	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,1,1,1,0
	mass = 0.1
	CoMOffset = 0.1, 0.937497, 0
	mass = 0.2
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 1
	crashTolerance = 12
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2000 // = 5000
	bulkheadProfiles = size2
	tags = #autoLOC_8320022 //#autoLOC_8320022 = robot actuator hinge

	MODULE
	{
		name = ModuleRoboticServoHinge
		servoCoMOffset = -0.937497, -0.1, 0
		servoTransformName = TopJoint
		baseTransformName = BottomJoint
		servoAttachNodes = top
		servoSrfMeshNames = TopCol
		traverseVelocityLimits = 1, 180
		hardMinMaxLimits = 0, 180
		softMinMaxAngles = 0, 180
		targetAngle = 90
		maxMotorOutput = 800
		driveSpringMutliplier = 100
		driveDampingMutliplier = 20
		modelInitialAngle = 90
		motorizedMassPerKN = 0.0004
		motorizedCostPerDriveUnit = 0.5
		connectedMassScale = 1
		efficiency = 0.75
		baseResourceConsumptionRate = 0.02
		referenceConsumptionVelocity = 180
		useMultipleDragCubes = true
		// 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
		//}
	}

	DRAG_CUBE
	{
		cube = 100, 1.285,0.9659,0.305, 1.285,0.9661,0.305, 0.2668,0.9646,1.969, 0.2668,0.769,0.4112, 0.5491,0.9698,0.2595, 0.5491,0.9698,0.2595, -5.215E-07,0.8594,0, 0.4375,2.031,0.6943
		cube = 50, 1.31,0.9679,0.4677, 1.31,0.9766,2.159, 1.31,0.9766,2.159, 1.31,0.9677,0.4677, 0.5619,0.9721,0.2595, 0.5599,0.9743,0.2595, -0.8281,0.8281,0, 2.094,2.094,0.6943
		cube = 0, 2.43,0.9759,0.2616, 2.43,0.9597,0.4397, 0.2183,0.8919,1.967, 0.2183,0.8919,1.967, 0.5618,0.9494,0.2595, 0.5618,0.9494,0.2595, 0.03125,-1.192E-07,0, 0.375,3.75,0.6943
	}
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #999999
		secondaryColor = #b08b39
		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/hinges-03_diffuse_plain
			}
		}
	}
	MODULE
	{
		name = ModuleResourceAutoShiftState
		affectedResourceName = ElectricCharge
		affectedModuleName = ModuleRoboticServoHinge
		resourceShutOffHandler = true
		resourceStartUpHandler = true
		resourceShutOffStartUpUsePercent = true
		resourceShutOffAmount = 0
		resourceShutOffPercent = 0
		resourceStartUpAmount = 0
		resourceStartUpPercent = 5
	}
	MODULE
	{
		name = ModuleMirrorPlacement
		ignoreMirrorIfSurfaceXOffset = false	
		
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 500
	}
}