Parts/Wheel/roverWheelXL3/roverWheelXL3.cfg

From Kerbal Space Program Wiki
Jump to: navigation, search
This is the configuration file for RoveMax Model XL3.
PART
{
	name = roverWheel3
	module = Part
	author = Squad
	mesh = model.mu
	scale = 1
	rescaleFactor = 1
	node_attach = 1.893913725, 1.5934552, 0.0, 1.0, 0.0, 0.0, 0
	TechRequired = advancedMotors
	entryCost = 11200
	cost = 1200
	category = Ground
	subcategory = 0
	title = RoveMax Model XL3
	manufacturer = Kerbal Motion LLC
	description = The RoveMax Model 3 was developed in total secrecy by Kerbal Motion's R&D team over the course of a year and a half. When it was finally revealed to the company's chairman, he stared in shock, screamed 'WHY', and subsequently dropped dead on the spot.
	attachRules = 0,1,0,0,0
	mass = 1.25
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.15
	angularDrag = 1.5
	crashTolerance = 150
	breakingForce = 200
	breakingTorque = 200
	maxTemp = 1200 // = 1200
	explosionPotential = 0
	bulkheadProfiles = srf
	tags = crawler drive ground roll rover truck wheel
	MODULE
	{
		name = ModuleWheelBase
		
		wheelColliderTransformName = WheelCollider		
		wheelTransformName = WheelPivot
		
		wheelType = MOTORIZED

		// setting this to true will override the radius and center parameters
		FitWheelColliderToMesh = False		
		radius = 1
		center = 0,0,0
		mass = 0.8
		groundHeightOffset = 0
				
		TooltipTitle = Rover Wheel
		TooltipPrimaryField = Motorized
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = SuspensionPivot
		
		suspensionDistance = 0.25
		targetPosition = 0.5			
		springRatio = 5
		damperRatio = 1.0
	}	
	MODULE
	{
		name = ModuleWheelMotorSteering
		baseModuleIndex = 0
		
		wheelSpeedMax = 14
		driveResponse = 1
		
		torqueCurve
		{
			key = 0 25.0 0 0
			key = 1.5 15.0 0 0
			key = 3 5.0 0 0
			key = 6 3 0 0
			key = 15 0.5 0 0
			key = 15.5 0 0 0
		}
		RESOURCE
		{
			name = ElectricCharge
			rate = 5.0//10.0
		}		
		idleDrain = 0.0//0.1////1
		steeringTorque = 70//35
		motorEnabled = True
	}	
	MODULE
	{
		name = ModuleWheelBrakes
		baseModuleIndex = 0
		
		maxBrakeTorque = 30		
		brakeResponse = 1
	}
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		damagedTransformName = bustedwheel
		undamagedTransformName = wheel
		
		stressTolerance = 3070
		impactTolerance = 800
		deflectionMagnitude = 1.0
		deflectionSharpness = 2.0
		slipMagnitude = 15
		slipSharpness = 2.0
	}
	MODULE
	{
		name = FXModuleLookAtConstraint
		CONSTRAINLOOKFX
		{
			targetName = susp2-1
			rotatorsName = susp2-2
		}
		CONSTRAINLOOKFX
		{
			targetName = susp2-2
			rotatorsName = susp2-1
		}
		CONSTRAINLOOKFX
		{
			targetName = susp1-2
			rotatorsName = susp1-1
		}
		CONSTRAINLOOKFX
		{
			targetName = susp1-1
			rotatorsName = susp1-2
		}
	}
}