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

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

Latest revision as of 16:47, 19 October 2024

This is the configuration file for 3PT Telescoping Hydraulic Cylinder.
PART
{
	name = piston_03
	module = Part
	author = RoverDude
	MODEL
	{
		model = SquadExpansion/Serenity/Parts/Robotics/Assets/piston_03
	}
	rescaleFactor = 1
	node_stack_bottom = 0.0, -0.88812, 0.0, 0.0, -1.0, 0.0, 1
	node_stack_top = 0.0, 1.32439, 0.0, 0.0, 1.0, 0.0, 1
	node_attach = 0.0, -0.88812, 0.0, 0.0, -1.0, 0.0, 1
	TechRequired = actuators
	entryCost = 4500
	cost = 500
	category = Robotics
	subcategory = 0
	title = #autoLOC_8320059		//#autoLOC_8320059 = 3PT Telescoping Hydraulic Cylinder
	manufacturer = #autoLOC_501651		//#autoLOC_501651 = Moving Parts Experts Group
	description = #autoLOC_8320066		//#autoLOC_8320066 = A large telescoping piston.  Capable of enoroums feets of stretchiness.  Rocket engines are still recommened for attempting to reach orbit, however.
	// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
	attachRules = 1,1,1,1,0
	mass = 0.3
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 1
	crashTolerance = 12
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 2000 // = 5000
	bulkheadProfiles = size0
	tags = #autoLOC_8320052 //#autoLOC_8320052 = robot actuator piston
	
	DRAG_CUBE
	{
		cube = 0, 1.268,0.7747,0.4014, 1.268,0.7747,0.4014, 0.3911,0.9961,1.145, 0.3911,0.9971,0.1041, 1.269,0.7795,0.4044, 1.269,0.7796,0.4044, -0.000222,0.2181,5.066E-07, 0.6254,2.213,0.625
		cube = 50, 2.25, 0.7548, 0.3917, 2.25, 0.7548, 0.3917, 0.3911, 0.9961, 2.3405, 0.3911, 0.9971, 0.094475, 2.2505, 0.7679, 0.38985, 2.2505, 0.76785, 0.38985, -0.000222, 1.41805, 5.066e-07, 0.6254, 4.613, 0.625
		cube = 100, 3.232,0.7349,0.382, 3.232,0.7349,0.382, 0.3911,0.9961,3.536, 0.3911,0.9971,0.08485, 3.232,0.7563,0.3753, 3.232,0.7561,0.3753, -0.000222,2.618,5.066E-07, 0.6254,7.013,0.625
	}
	MODULE
	{
		name = ModuleRoboticServoPiston
		servoTransformName = TopJoint
		servoSrfMeshNames = capTransform
		baseTransformName = BottomJoint
		slaveTransformNames = Sleave0, Sleave1
		servoAttachNodes = top
		traverseVelocityLimits = 0.1, 10
		hardMinMaxLimits = 0, 4.8
		softMinMaxExtension = 0, 4.8
		mainAxis = Y
		servoMass = 0.25
		maxMotorOutput = 800
		positionSpringMutliplier = 100
		positionDampingMutliplier = 20
		motorizedMassPerKN = 0.00045
		motorizedCostPerDriveUnit = 0.5
		efficiency = 0.75
		baseResourceConsumptionRate = 0.1
		referenceConsumptionVelocity = 10
		// 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 = ModulePartVariants
		baseVariant = Gray with Stripes
		baseThemeName = Gray with Stripes
		baseDisplayName = #autoLOC_8320084	//#autoLOC_8320084 = Gray with Stripes
		useMultipleDragCubes = false
		VARIANT
		{
			name = Gray with Stripes
			primaryColor = #999999
			secondaryColor = #b08b39
			displayName = #autoLOC_8320084	//#autoLOC_8320084 = Gray with Stripes
			GAMEOBJECTS
			{
				PistonStripes = true
			}
		}
		VARIANT
		{
			name = Gray
			displayName = #autoLOC_8007101 // autoLOC_8007101 = Gray
			themeName = Gray
			primaryColor = #999999
			TEXTURE
			{
				mainTextureURL = SquadExpansion/Serenity/Parts/Robotics/Assets/Rotor_01_diffuse_plain
			}
			GAMEOBJECTS
			{
				PistonStripes = false
			}
		}
	}
	MODULE
	{
		name = ModuleResourceAutoShiftState
		affectedResourceName = ElectricCharge
		affectedModuleName = ModuleRoboticServoPiston
		resourceShutOffHandler = true
		resourceStartUpHandler = true
		resourceShutOffStartUpUsePercent = true
		resourceShutOffAmount = 0
		resourceShutOffPercent = 0
		resourceStartUpAmount = 0
		resourceStartUpPercent = 5
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 850
	}
}