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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Add config)
 
(No difference)

Latest revision as of 17:54, 19 October 2024

This is the configuration file for G-32W Hinge.
PART
{
	name = hinge_04
	module = Part
	author = RoverDude
	MODEL
	{
		model = SquadExpansion/Serenity/Parts/Robotics/Assets/hinge_04
	}
	rescaleFactor = 1
	node_stack_bottom = 0.122755, 0.569934, 0.0, 1.0, 0.0, 0.0, 1
	node_stack_top = -0.526093, -0.122755, 0.0, 0.0, -1.0, 0.0, 1
	node_attach = 0.122755, 0.569934, 0.0, 1.0, 0.0, 0.0, 1	
	TechRequired = actuators
	entryCost = 4000
	cost = 480
	category = Robotics
	subcategory = 0
	title = #autoLOC_8320023		//#autoLOC_8320023 = G-32W Hinge
	manufacturer = #autoLOC_501651		//#autoLOC_501651 = Moving Parts Experts Group
	description = #autoLOC_8320024		//#autoLOC_8320024 = The largest hinge actuator available.	 Doubles as an EZ-fold picnic table.
	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,1,1,1,0
    CoMOffset = 0.05, 0.569934, 0
	mass = 0.4
	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
		servoTransformName = TopJoint
		baseTransformName = BottomJoint
		servoAttachNodes = top
		servoSrfMeshNames = TopCol
		servoCoMOffset = -0.569934, -0.05, 0
		traverseVelocityLimits = 1, 180
		hardMinMaxLimits = 0, 180
		softMinMaxAngles = 0, 180
		targetAngle = 90
		maxMotorOutput = 1200
		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
		//}
	}
	MODULE
	{
		name = FXModuleLookAtConstraint
		CONSTRAINLOOKFX
		{
			targetName = Bar2
			rotatorsName = Bar1
		}
	}
	
	DRAG_CUBE
	{
		cube = 0, 2.745,0.974,0.3232, 2.745,0.9807,0.2131, 0.4879,0.9011,1.109, 0.4879,0.7184,0.2732, 0.1729,0.9698,0.2859, 0.1729,0.9698,0.2859, -1.49E-08,0.4823,0, 0.2455,1.14,2.5
		cube = 50, 2.737,0.9695,0.3019, 2.737,0.9873,1.251, 2.856,0.9821,1.251, 2.856,0.9846,0.3127, 0.177,0.9721,0.2859, 0.1764,0.9743,0.2859, -0.4647,0.4647,0, 1.175,1.175,2.5
		cube = 100, 5.154,0.9948,0.1915, 5.154,0.9836,0.2897, 0.3281,0.8948,1.139, 0.3281,0.8949,1.139, 0.1769,0.9494,0.2859, 0.1769,0.9494,0.2859, 0.01754,-1.192E-07,0, 0.2104,2.104,2.5
	}
	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/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	
		stackableQuantity = 1
		packedVolume = -1
	}
}