Difference between revisions of "Serenity/Parts/Robotics/hinge 03 s.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Add config)
 
m (Switched configs)
 
Line 1: Line 1:
{{Part config|G-12L Alligator Hinge|2=PART
+
{{Part config|G-01L Alligator Hinge|2=PART
 
{
 
{
name = hinge_03
+
name = hinge_03_s
 
module = Part
 
module = Part
 
author = RoverDude
 
author = RoverDude
 
MODEL
 
MODEL
 
{
 
{
model = SquadExpansion/Serenity/Parts/Robotics/Assets/hinge_03
+
model = SquadExpansion/Serenity/Parts/Robotics/Assets/hinge_03_s
 
}
 
}
 
rescaleFactor = 1
 
rescaleFactor = 1
node_stack_bottom = 0.218749, 0.937497, 0.0, 1.0, 0.0, 0.0, 1
+
node_stack_bottom = 0.109375, 0.468749, 0.0, 1.0, 0.0, 0.0, 0
node_stack_top = -0.937497, -0.218749, 0.0, 0.0, -1.0, 0.0, 1
+
node_stack_top = -0.468749, -0.109375, 0.0, 0.0, -1.0, 0.0, 0
node_attach = 0.218749, 0.937497, 0.0, 1.0, 0.0, 0.0, 1
+
node_attach = 0.109375, 0.468749, 0.00, 1.0, 0.0, 0.0, 0
TechRequired = actuators
+
TechRequired = advConstruction
entryCost = 3600
+
entryCost = 2100
cost = 360
+
cost = 120
 
category = Robotics
 
category = Robotics
 
subcategory = 0
 
subcategory = 0
title = #autoLOC_8320020 //#autoLOC_8320020 = G-12L Alligator Hinge
+
title = #autoLOC_8320014 //#autoLOC_8320014 = G-01L Alligator Hinge
 
manufacturer = #autoLOC_501651 //#autoLOC_501651 = Moving Parts Experts Group
 
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 themOur engineers were curious what a warranty is for anyway.
+
description = #autoLOC_8320015 //#autoLOC_8320015 = A small actuator with a longer frame that can be used for a variety of purposesDespite its appearence, clamping Wehner's loose notes together is not an ideal choice.
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
 
attachRules = 1,1,1,1,0
 
attachRules = 1,1,1,1,0
mass = 0.1
+
    CoMOffset = 0.05, 0.468749, 0
CoMOffset = 0.1, 0.937497, 0
+
mass = 0.08
mass = 0.2
 
 
dragModelType = default
 
dragModelType = default
 
maximum_drag = 0.2
 
maximum_drag = 0.2
Line 33: Line 32:
 
breakingTorque = 200
 
breakingTorque = 200
 
maxTemp = 2000 // = 5000
 
maxTemp = 2000 // = 5000
bulkheadProfiles = size2
+
bulkheadProfiles = size1
 
tags = #autoLOC_8320022 //#autoLOC_8320022 = robot actuator hinge
 
tags = #autoLOC_8320022 //#autoLOC_8320022 = robot actuator hinge
  
Line 39: Line 38:
 
{
 
{
 
name = ModuleRoboticServoHinge
 
name = ModuleRoboticServoHinge
servoCoMOffset = -0.937497, -0.1, 0
 
 
servoTransformName = TopJoint
 
servoTransformName = TopJoint
 
baseTransformName = BottomJoint
 
baseTransformName = BottomJoint
 
servoAttachNodes = top
 
servoAttachNodes = top
 
servoSrfMeshNames = TopCol
 
servoSrfMeshNames = TopCol
 +
servoCoMOffset = -0.468749, -0.05, 0
 
traverseVelocityLimits = 1, 180
 
traverseVelocityLimits = 1, 180
 
hardMinMaxLimits = 0, 180
 
hardMinMaxLimits = 0, 180
 
softMinMaxAngles = 0, 180
 
softMinMaxAngles = 0, 180
 
targetAngle = 90
 
targetAngle = 90
maxMotorOutput = 800
+
maxMotorOutput = 200
 
driveSpringMutliplier = 100
 
driveSpringMutliplier = 100
 
driveDampingMutliplier = 20
 
driveDampingMutliplier = 20
 
modelInitialAngle = 90
 
modelInitialAngle = 90
motorizedMassPerKN = 0.0004
+
motorizedMassPerKN = 0.0003
motorizedCostPerDriveUnit = 0.5
+
motorizedCostPerDriveUnit = 0.75
 
connectedMassScale = 1
 
connectedMassScale = 1
 
efficiency = 0.75
 
efficiency = 0.75
Line 78: Line 77:
 
//}
 
//}
 
}
 
}
 
+
 
DRAG_CUBE
 
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 = 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, 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 = 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, 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
+
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
 
MODULE
Line 89: Line 88:
 
name = ModulePartVariants
 
name = ModulePartVariants
 
primaryColor = #999999
 
primaryColor = #999999
secondaryColor = #b08b39
+
secondaryColor = #4b7c9a
 
baseDisplayName = #autoLOC_8320084 //#autoLOC_8320084 = Gray with Stripes
 
baseDisplayName = #autoLOC_8320084 //#autoLOC_8320084 = Gray with Stripes
 
baseThemeName = Gray with Stripes
 
baseThemeName = Gray with Stripes
Line 127: Line 126:
 
{
 
{
 
name = ModuleCargoPart
 
name = ModuleCargoPart
packedVolume = 500
+
packedVolume = 60
 
}
 
}
 
}
 
}
 
}}
 
}}

Latest revision as of 18:01, 19 October 2024

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
	}
}