Serenity/Parts/Robotics/hinge 03 s.cfg

From Kerbal Space Program Wiki
Revision as of 18:01, 19 October 2024 by ArnePeirs (talk | contribs) (Switched configs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This is the configuration file for G-01L Alligator Hinge.
PART
{
	name = hinge_03_s
	module = Part
	author = RoverDude
	MODEL
	{
		model = SquadExpansion/Serenity/Parts/Robotics/Assets/hinge_03_s
	}
	rescaleFactor = 1
	node_stack_bottom = 0.109375, 0.468749, 0.0, 1.0, 0.0, 0.0, 0
	node_stack_top = -0.468749, -0.109375, 0.0, 0.0, -1.0, 0.0, 0
	node_attach = 0.109375, 0.468749, 0.00, 1.0, 0.0, 0.0, 0
	TechRequired = advConstruction
	entryCost = 2100
	cost = 120
	category = Robotics
	subcategory = 0
	title = #autoLOC_8320014	//#autoLOC_8320014 = G-01L Alligator Hinge
	manufacturer = #autoLOC_501651		//#autoLOC_501651 = Moving Parts Experts Group
	description = #autoLOC_8320015		//#autoLOC_8320015 = A small actuator with a longer frame that can be used for a variety of purposes.  Despite its appearence, clamping Wehner's loose notes together is not an ideal choice.
	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,1,1,1,0
    CoMOffset = 0.05, 0.468749, 0
	mass = 0.08
	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_8320022 //#autoLOC_8320022 = robot actuator hinge

	MODULE
	{
		name = ModuleRoboticServoHinge
		servoTransformName = TopJoint
		baseTransformName = BottomJoint
		servoAttachNodes = top
		servoSrfMeshNames = TopCol
		servoCoMOffset = -0.468749, -0.05, 0
		traverseVelocityLimits = 1, 180
		hardMinMaxLimits = 0, 180
		softMinMaxAngles = 0, 180
		targetAngle = 90
		maxMotorOutput = 200
		driveSpringMutliplier = 100
		driveDampingMutliplier = 20
		modelInitialAngle = 90
		motorizedMassPerKN = 0.0003
		motorizedCostPerDriveUnit = 0.75
		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, 0.2093,0.9777,0.202, 0.2093,0.9762,0.202, 0.0444,0.9573,1.034, 0.0444,0.7589,0.2574, 0.1373,0.9698,0.1533, 0.1373,0.9698,0.1533, -7.451E-09,0.4297,1.49E-08, 0.2188,1.016,0.2547
		cube = 50, 0.2249,0.9482,0.2836, 0.2249,0.9561,1.13, 0.2249,0.9559,1.13, 0.2249,0.9461,0.2836, 0.1405,0.9721,0.1533, 0.14,0.9743,0.1533, -0.4141,0.4141,1.49E-08, 1.047,1.047,0.2547
		cube = 0, 0.3912,0.9925,0.1808, 0.3912,0.9768,0.269, 0.03583,0.8806,1.033, 0.03583,0.8822,1.033, 0.1404,0.9494,0.1533, 0.1404,0.9494,0.1533, 0.01563,-5.96E-08,1.49E-08, 0.1875,1.875,0.2547
	}
	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/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 = 60
	}
}