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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Parts/Utility/roverWheel3/part.cfg to Parts/Wheel/roverWheel3/part.cfg without leaving a redirect: fixed parent directory)
(Update part config)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Part config|RoveMax Model XL3|2=PART
 
{{Part config|RoveMax Model XL3|2=PART
 
{
 
{
name = roverWheel3
+
name = roverWheel3
module = Part
+
module = Part
author = Squad
+
author = Squad
 
+
mesh = model.mu
mesh = model.mu
+
scale = 1
scale = 1
+
rescaleFactor = 1
rescaleFactor = 2
+
node_attach = 1.893913725, 1.5934552, 0.0, 1.0, 0.0, 0.0, 0
 
+
TechRequired = advancedMotors
node_attach = 0.6886959, 0.7967276, 0.0, 1.0, 0.0, 0.0, 0
+
entryCost = 11200
 
+
cost = 1200
TechRequired = advancedMotors
+
category = Ground
entryCost = 11200
+
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
  
cost = 1200
+
// setting this to true will override the radius and center parameters
category = Utility
+
FitWheelColliderToMesh = False
subcategory = 0
+
radius = 1
title = RoveMax Model XL3
+
center = 0,0,0
manufacturer = Kerbal Motion LLC
+
mass = 0.8
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.
+
groundHeightOffset = 0
 
+
attachRules = 0,1,0,0,0
+
TooltipTitle = Rover Wheel
 
+
TooltipPrimaryField = Motorized
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
 
hasMotor = true
 
resourceName = ElectricCharge
 
    resourceConsumptionRate = 2
 
canSteer = true
 
controlAxisType = Forward
 
steeringModeType = TankSteer
 
tankSteeringTorque = 0.5
 
brakeTorque = 200
 
brakeSpeed = 1.2
 
impactTolerance = 800
 
overSpeedDamage = 30
 
WHEEL
 
{
 
    wheelName = wheel
 
    wheelColliderName = wheelCollider
 
    suspensionTransformName = suspensionTraverse
 
    suspensionNeutralPointName = suspensionNeutralPoint
 
    damagedObjectName = bustedwheel
 
    rotateX = 1
 
    rotateY = 0
 
    rotateZ = 0
 
 
}
 
}
 
+
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
 +
}
 
}
 
}
 
}
 
}
}
+
 
 
}}
 
}}

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