MakingHistory/Parts/Ground/RoverWheel.cfg

From Kerbal Space Program Wiki
Jump to: navigation, search
This is the configuration file for RoveMax M1-F Rover Wheel.
PART
{
	name = roverWheelM1-F
	module = Part
	author = Squad

	MODEL
	{
		model = SquadExpansion/MakingHistory/Parts/Ground/Assets/RoverWheel
	}
	
	scale = 1
	node_attach = 0.35, 0.14, 0.0, 1.0, 0.0, 0.0, 1

	TechRequired = fieldScience
	entryCost = 7000
	cost = 500
	category = Ground
	subcategory = 0
	title = #autoLOC_8310129   //#autoLOC_8310129 = RoveMax M1-F Rover Wheel
	manufacturer = #autoLOC_501670  //#autoLOC_501670 = Kerbal Motion LCC
	description = #autoLOC_8310130  //#autoLOC_8310130 = Designed for the first Munar landings and with the ability to be stowed during launch, the RoveMax M1-F is ideal for smaller rovers where space is a premium.
	attachRules = 0,1,0,0,0
	mass = 0.025
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.2
	angularDrag = 1
	//crashTolerance = 7
	maxTemp = 1200 // = 3600
	crashTolerance = 30
	breakingForce = 50
	breakingTorque = 50
	bulkheadProfiles = srf
	tags = #autoLOC_8310131 //#autoLOC_8310131 = )car drive ground roll rover 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 = 0.28
		center = 0,0,0
		mass = 0.040
		groundHeightOffset = 0
				
		TooltipTitle = #autoLOC_502081 //#autoLOC_502081 = Rover Wheel
		TooltipPrimaryField = #autoLOC_6004045 //#autoLOC_6004045 = Motorized
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = suspensionPivot		
		suspensionDistance = 0.1
		targetPosition = 0.0
		springRatio = 16
		damperRatio = 1.0
		maximumLoad = 5.0
		useDistributedMass = true
	}	
	MODULE
	{
		name = ModuleWheelSteering
		baseModuleIndex = 0
		
		caliperTransformName = SteeringPivot
		autoSteeringAdjust = true
		steeringResponse = 2
		steeringRange = 25		
		steeringCurve
		{
			key = 0 20
			key = 20 20
		}
		steeringMaxAngleCurve
		{
			key = 0 1 0 0
			key = 3 1 0.0001624425 0.0001624425
			key = 7.5 0.33 -0.05674612 -0.05674612
			key = 20 0.12 -0.003158088 -0.003158088
			key = 30 0.1 -0.002872917 -0.002872917
		}
	}
	MODULE
	{
		name = ModuleWheelMotor
		baseModuleIndex = 0
		
		wheelSpeedMax = 42
		driveResponse = 2
		
		torqueCurve
		{
			key = 0 0.5 0 0
			key = 2  0.3 0
			key = 10 0.1 0 0
			key = 25 0 0 0
		}
		
		RESOURCE
		{
			name = ElectricCharge
			rate = 1.0
		}		
		idleDrain = 0.0
	}
	MODULE
	{
		name = ModuleWheelBrakes
		baseModuleIndex = 0
		
		maxBrakeTorque = 0.5
		brakeResponse = 1
	}
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		damagedTransformName = WheelBroken
		undamagedTransformName = Wheel
		
		stressTolerance = 250
		impactTolerance = 100
		deflectionMagnitude = 1.0
		deflectionSharpness = 2.0
		slipMagnitude = 15
		slipSharpness = 2.0
		
		impactDamageColliderName = CollisionEnhancer
		impactDamageVelocity = 16
	}	
	MODULE
	{
		name = FXModuleLookAtConstraint
		CONSTRAINLOOKFX
		{
			targetName = LowerPin1
			rotatorsName = UpperShock1
		}
		CONSTRAINLOOKFX
		{
			targetName = LowerPin2
			rotatorsName = UpperShock2
		}
		CONSTRAINLOOKFX
		{
			targetName = UpperPin1
			rotatorsName = LowerShock1
		}
		CONSTRAINLOOKFX
		{
			targetName = UpperPin2
			rotatorsName = LowerShock2
		}
	}
	MODULE
	{
		name = ModuleWheelDeployment
		baseModuleIndex = 0
		
		animationTrfName = WheelBase
		animationStateName = RoverWheel_Stow
		deployedPosition = 0
		deployTargetTransformName = deployTgt
		
		TsubSys = 1.0
		useStandInCollider = False
		slaveModules = 8
		
		fxDeploy = deploy
		fxRetract = retract
		fxDeployed = deployed
		fxRetracted = retracted
	}	
	MODULE
	{
		name = ModulePartVariants
		primaryColor = #dc5a28
		secondaryColor = #767777
		baseDisplayName=#autoLOC_8007100 // autoLOC_8007100 = Orange
		baseThemeName = Orange
		useMultipleDragCubes = false
		VARIANT
		{
			name = Grey
			displayName = #autoLOC_8007101 // autoLOC_8007101 = Gray
			themeName = Gray
			primaryColor = #b4b4b4
			secondaryColor = #767777
			TEXTURE
			{
				mainTextureURL = SquadExpansion/MakingHistory/Parts/Ground/Assets/RoverWheelG
			}
		}
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = False
		useEvent = True
	}	
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 250
	}
}