Difference between revisions of "Parts/Wheel/roverWheelXL3/roverWheelXL3.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 1.0;)
(Update part config)
Line 6: Line 6:
 
mesh = model.mu
 
mesh = model.mu
 
scale = 1
 
scale = 1
rescaleFactor = 2
+
rescaleFactor = 1
node_attach = 0.6886959, 0.7967276, 0.0, 1.0, 0.0, 0.0, 0
+
node_attach = 1.893913725, 1.5934552, 0.0, 1.0, 0.0, 0.0, 0
 
TechRequired = advancedMotors
 
TechRequired = advancedMotors
 
entryCost = 11200
 
entryCost = 11200
 
cost = 1200
 
cost = 1200
category = Utility
+
category = Ground
 
subcategory = 0
 
subcategory = 0
 
title = RoveMax Model XL3
 
title = RoveMax Model XL3
Line 28: Line 28:
 
explosionPotential = 0
 
explosionPotential = 0
 
bulkheadProfiles = srf
 
bulkheadProfiles = srf
 +
tags = crawler drive ground roll rover truck wheel
 
MODULE
 
MODULE
 
{
 
{
name = ModuleWheel
+
name = ModuleWheelBase
hasMotor = true
+
resourceName = ElectricCharge
+
wheelColliderTransformName = WheelCollider
resourceConsumptionRate = 2
+
wheelTransformName = WheelPivot
canSteer = true
+
controlAxisType = Forward
+
wheelType = MOTORIZED
steeringModeType = TankSteer
+
 
tankSteeringTorque = 0.5
+
// setting this to true will override the radius and center parameters
brakeTorque = 200
+
FitWheelColliderToMesh = False
brakeSpeed = 1.2
+
radius = 1
impactTolerance = 800
+
center = 0,0,0
overSpeedDamage = 30
+
mass = 0.8
WHEEL
+
groundHeightOffset = 0
{
+
wheelName = wheel
+
TooltipTitle = Rover Wheel
wheelColliderName = wheelCollider
+
TooltipPrimaryField = Motorized
suspensionTransformName = suspensionTraverse
+
}
suspensionNeutralPointName = suspensionNeutralPoint
+
MODULE
damagedObjectName = bustedwheel
+
{
rotateX = 1
+
name = ModuleWheelSuspension
rotateY = 0
+
baseModuleIndex = 0
rotateZ = 0
+
suspensionTransformName = SuspensionPivot
}
+
steeringCurve
+
suspensionDistance = 0.25
{
+
targetPosition = 0.5
key = 0 150 0 0
+
springRatio = 5
key = 13 90 0 0
+
damperRatio = 1.0
key = 13.5 0 0 0
+
}
}
+
MODULE
 +
{
 +
name = ModuleWheelMotorSteering
 +
baseModuleIndex = 0
 +
 +
wheelSpeedMax = 14
 +
driveResponse = 1
 +
 
torqueCurve
 
torqueCurve
 
{
 
{
key = 0 150 0 0
+
key = 0 25.0 0 0
key = 3 100 0 0
+
key = 1.5 15.0 0 0
key = 6 70 0 0
+
key = 3 5.0 0 0
key = 15 10 0 0
+
key = 6 3 0 0
 +
key = 15 0.5 0 0
 
key = 15.5 0 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
 
MODULE

Revision as of 09:49, 21 October 2016

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
		}
	}
}