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 = #autoLOC_500996 //#autoLOC_500996 = RoveMax Model XL3
	manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
	description = #autoLOC_500997 //#autoLOC_500997 = 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 = #autoLOC_500998 //#autoLOC_500998 = crawler drive ground roll rover truck wheel
	MODULE
	{
		name = ModuleWheelBase
		
		wheelColliderTransformName = WheelCollider		
		wheelTransformName = WheelPivot
		useNewFrictionModel = true
		wheelType = MOTORIZED

		adherentStart = 0.5
		frictionAdherent = .3
		peakStart = 3
		frictionPeak = 1.5
		limitStart = 6
		frictionLimit = 1.3		
		// 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 = #autoLOC_502081 //#autoLOC_502081 = Rover Wheel
		TooltipPrimaryField = #autoLOC_6004045 //#autoLOC_6004045 = Motorized
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = SuspensionPivot
		maximumLoad = 60.0
		suspensionDistance = 0.25
		targetPosition = 0.5			
		springRatio = 44
		damperRatio = 1.0
		useDistributedMass = true
	}	
	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 = 25//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
		
		impactDamageColliderName = collisionEnhancer
		impactDamageVelocity = 30
	}
	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
		}
	}
}