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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<pre> name = roverWheel3 module = Part author = Squad mesh = model.mu scale = 1 rescaleFactor = 2 node_attach = 0.6886959, 0.7967276, 0.0, 1.0, 0.0, 0.0, 0 cost = 1200 cate...")
 
(Update part config)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pre>
+
{{Part config|RoveMax Model XL3|2=PART
name = roverWheel3
 
module = Part
 
author = Squad
 
 
 
mesh = model.mu
 
scale = 1
 
rescaleFactor = 2
 
 
 
node_attach = 0.6886959, 0.7967276, 0.0, 1.0, 0.0, 0.0, 0
 
 
 
cost = 1200
 
category = Utility
 
subcategory = 0
 
title = RoveMax Model 3
 
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
 
 
 
explosionPotential = 0
 
 
 
MODULE
 
 
{
 
{
name = ModuleWheel
+
name = roverWheel3
hasMotor = true
+
module = Part
resourceName = ElectricCharge
+
author = Squad
    resourceConsumptionRate = 2
+
mesh = model.mu
canSteer = true
+
scale = 1
controlAxisType = Forward
+
rescaleFactor = 1
steeringModeType = TankSteer
+
node_attach = 1.893913725, 1.5934552, 0.0, 1.0, 0.0, 0.0, 0
tankSteeringTorque = 0.5
+
TechRequired = advancedMotors
brakeTorque = 200
+
entryCost = 11200
brakeSpeed = 1.2
+
cost = 1200
impactTolerance = 800
+
category = Ground
overSpeedDamage = 30
+
subcategory = 0
WHEEL
+
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
 
{
 
{
    wheelName = wheel
+
name = ModuleWheelBase
    wheelColliderName = wheelCollider
+
    suspensionTransformName = suspensionTraverse
+
wheelColliderTransformName = WheelCollider
    suspensionNeutralPointName = suspensionNeutralPoint
+
wheelTransformName = WheelPivot
    damagedObjectName = bustedwheel
+
    rotateX = 1
+
wheelType = MOTORIZED
    rotateY = 0
+
 
    rotateZ = 0
+
// 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
steeringCurve
 
{
 
  key = 0 150 0 0
 
key = 13 90 0 0
 
key = 13.5 0 0 0
 
 
 
}
 
 
 
torqueCurve
 
 
{
 
{
  key = 0 150 0 0
+
name = ModuleWheelSuspension
          key = 3 100 0 0
+
baseModuleIndex = 0
  key = 6 70 0 0
+
suspensionTransformName = SuspensionPivot
  key = 15 10 0 0
+
          key = 15.5 0 0 0
+
suspensionDistance = 0.25
}
+
targetPosition = 0.5
 
+
springRatio = 5
}
+
damperRatio = 1.0
 
+
}
MODULE
+
MODULE
{
 
name = FXModuleLookAtConstraint
 
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp2-1
+
name = ModuleWheelMotorSteering
rotatorsName = susp2-2
+
baseModuleIndex = 0
}
+
 
+
wheelSpeedMax = 14
CONSTRAINLOOKFX
+
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
 
{
 
{
targetName = susp2-2
+
name = ModuleWheelBrakes
rotatorsName = susp2-1
+
baseModuleIndex = 0
 +
 +
maxBrakeTorque = 30
 +
brakeResponse = 1
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp1-2
+
name = ModuleWheelDamage
rotatorsName = susp1-1
+
baseModuleIndex = 0
 +
 +
damagedTransformName = bustedwheel
 +
undamagedTransformName = wheel
 +
 +
stressTolerance = 3070
 +
impactTolerance = 800
 +
deflectionMagnitude = 1.0
 +
deflectionSharpness = 2.0
 +
slipMagnitude = 15
 +
slipSharpness = 2.0
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp1-1
+
name = FXModuleLookAtConstraint
rotatorsName = susp1-2
+
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
 +
}
 
}
 
}
 
}
 
}
</pre>
+
 
 +
}}

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