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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (XZise moved page Parts/Utility/roverWheel1/part.cfg to Parts/Wheel/roverWheel1/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 M1|2=PART
 
{{Part config|RoveMax Model M1|2=PART
 
{
 
{
name = roverWheel1
+
name = roverWheel1
module = Part
+
module = Part
author = Squad
+
author = Squad
 
+
mesh = model.mu
mesh = model.mu
+
scale = 1
scale = 1
+
node_attach = 0.3093255, 0.322, 0.00, 1.0, 0.0, 0.0, 1
 
+
TechRequired = fieldScience
node_attach = 0.3093255, 0.322, 0.00, 1.0, 0.0, 0.0, 1
+
entryCost = 5200
 +
cost = 450
 +
category = Ground
 +
subcategory = 0
 +
title = RoveMax Model M1
 +
manufacturer = Kerbal Motion LLC
 +
description = After years of outcry against the lack of proper powered wheels, a small startup company named Kerbal Motion was founded and delivered just what the public wanted - the RoveMax Model 1 powered rover wheel.
 +
attachRules = 0,1,0,1,0
 +
mass = 0.075
 +
dragModelType = default
 +
maximum_drag = 0.3
 +
minimum_drag = 0.2
 +
angularDrag = 1
 +
//crashTolerance = 7
 +
maxTemp = 1200 // = 3600
 +
crashTolerance = 50
 +
breakingForce = 50
 +
breakingTorque = 50
 +
bulkheadProfiles = srf
 +
tags = )car drive ground roll rover wheel
 +
MODULE
 +
{
 +
name = ModuleWheelBase
 +
 +
wheelColliderTransformName = WheelCollider
 +
wheelTransformName = WheelPivot
 +
 +
wheelType = MOTORIZED
  
TechRequired = fieldScience
+
// setting this to true will override the radius and center parameters
entryCost = 5200
+
FitWheelColliderToMesh = False
 
+
radius = 0.378
cost = 450
+
center = 0,0,0
category = Utility
+
mass = 0.040
subcategory = 0
+
groundHeightOffset = 0
title = RoveMax Model M1
+
manufacturer = Kerbal Motion LLC
+
TooltipTitle = Rover Wheel
description = After years of outcry against the lack of proper powered wheels, a small startup company named Kerbal Motion was founded and delivered just what the public wanted - the RoveMax Model 1 powered rover wheel.
+
TooltipPrimaryField = Motorized
 
 
attachRules = 0,1,0,1,0
 
 
 
mass = 0.075
 
dragModelType = default
 
maximum_drag = 0.3
 
minimum_drag = 0.2
 
angularDrag = 1
 
crashTolerance = 7
 
maxTemp = 3600
 
 
 
crashTolerance = 50
 
breakingForce = 50
 
breakingTorque = 50
 
 
 
MODULE
 
{
 
name = ModuleWheel
 
hasMotor = true
 
resourceName = ElectricCharge
 
        resourceConsumptionRate = 1.0
 
canSteer = true
 
controlAxisType = Forward
 
steeringModeType = AutomaticSteer
 
brakeTorque = 300
 
brakeSpeed = 1.2
 
impactTolerance = 200
 
overSpeedDamage = 60
 
WHEEL
 
{
 
    wheelName = wheel
 
    wheelColliderName = wheelCollider
 
    suspensionTransformName = suspensionTraverse
 
    suspensionNeutralPointName = suspensionNeutralPoint
 
    damagedObjectName = bustedwheel
 
    rotateX = 0
 
    rotateY = 1
 
    rotateZ = 0
 
 
}
 
}
 
+
MODULE
steeringCurve
 
{
 
  key = 0 16
 
key = 10 9
 
  key = 30 2
 
}
 
 
 
torqueCurve
 
 
{
 
{
  key = 0 250 0 0
+
name = ModuleWheelSuspension
  key = 20  100 0
+
baseModuleIndex = 0
          key = 30 14 0 0
+
suspensionTransformName = suspensionPivot
  key = 34 0 0 0
+
}
+
suspensionDistance = 0.2
 
+
targetPosition = 0.5
}
+
springRatio = 7
 
+
damperRatio = 1.0
MODULE
+
}
{
+
MODULE
name = FXModuleLookAtConstraint
 
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp2-1
+
name = ModuleWheelSteering
rotatorsName = susp2-2
+
baseModuleIndex = 0
 +
 +
caliperTransformName = SteeringPivot
 +
 +
steeringResponse = 2
 +
steeringCurve
 +
{
 +
key = 0 20
 +
key = 10 9//6
 +
key = 30 3.0//1.5
 +
}
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp2-2
+
name = ModuleWheelMotor
rotatorsName = susp2-1
+
baseModuleIndex = 0
 +
 +
maxRpm = 42
 +
driveResponse = 2
 +
 +
torqueCurve
 +
{
 +
key = 0 1.0 0 0
 +
key = 10  0.66 0//20  0.66 0
 +
key = 30 0.14 0 0//40 0.14 0 0
 +
key = 34 0 0 0//44 0 0 0
 +
}
 +
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 2.5//5
 +
}
 +
idleDrain = 0.0//0.1////0.3
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp1-2
+
name = ModuleWheelBrakes
rotatorsName = susp1-1
+
baseModuleIndex = 0
 +
 +
maxBrakeTorque = 2
 +
brakeResponse = 1
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp1-1
+
name = ModuleWheelDamage
rotatorsName = susp1-2
+
baseModuleIndex = 0
}
+
 
+
damagedTransformName = wheelDamaged
CONSTRAINLOOKFX
+
undamagedTransformName = wheel
 +
 +
stressTolerance = 560
 +
impactTolerance = 200
 +
deflectionMagnitude = 1.0
 +
deflectionSharpness = 2.0
 +
slipMagnitude = 15
 +
slipSharpness = 2.0
 +
}
 +
MODULE
 
{
 
{
targetName = susp3-1
+
name = FXModuleLookAtConstraint
rotatorsName = susp3-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
 +
}
 +
CONSTRAINLOOKFX
 +
{
 +
targetName = susp3-1
 +
rotatorsName = susp3-2
 +
}
 +
CONSTRAINLOOKFX
 +
{
 +
targetName = susp3-2
 +
rotatorsName = susp3-1
 +
}
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp3-2
+
name = ModuleTestSubject
rotatorsName = susp3-1
+
environments = 15
 +
useStaging = False
 +
useEvent = True
 
}
 
}
 
 
}
 
}
  
MODULE
 
{
 
name = FXModuleConstrainPosition
 
matchRotation = true
 
matchPosition = false
 
CONSTRAINFX
 
{
 
targetName = steering
 
moversName = trackSteering
 
}
 
 
}
 
}
 
 
}}
 
}}

Latest revision as of 09:47, 21 October 2016

This is the configuration file for RoveMax Model M1.
PART
{
	name = roverWheel1
	module = Part
	author = Squad
	mesh = model.mu
	scale = 1
	node_attach = 0.3093255, 0.322, 0.00, 1.0, 0.0, 0.0, 1
	TechRequired = fieldScience
	entryCost = 5200
	cost = 450
	category = Ground
	subcategory = 0
	title = RoveMax Model M1
	manufacturer = Kerbal Motion LLC
	description = After years of outcry against the lack of proper powered wheels, a small startup company named Kerbal Motion was founded and delivered just what the public wanted - the RoveMax Model 1 powered rover wheel.
	attachRules = 0,1,0,1,0
	mass = 0.075
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.2
	angularDrag = 1
	//crashTolerance = 7
	maxTemp = 1200 // = 3600
	crashTolerance = 50
	breakingForce = 50
	breakingTorque = 50
	bulkheadProfiles = srf
	tags = )car drive ground roll rover wheel
	MODULE
	{
		name = ModuleWheelBase
		
		wheelColliderTransformName = WheelCollider		
		wheelTransformName = WheelPivot
		
		wheelType = MOTORIZED

		// setting this to true will override the radius and center parameters
		FitWheelColliderToMesh = False		
		radius = 0.378
		center = 0,0,0
		mass = 0.040
		groundHeightOffset = 0
				
		TooltipTitle = Rover Wheel
		TooltipPrimaryField = Motorized
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = suspensionPivot
		
		suspensionDistance = 0.2
		targetPosition = 0.5			
		springRatio = 7
		damperRatio = 1.0
	}	
	MODULE
	{
		name = ModuleWheelSteering
		baseModuleIndex = 0
		
		caliperTransformName = SteeringPivot
		
		steeringResponse = 2
		steeringCurve
		{
			key = 0 20
			key = 10 9//6
			key = 30 3.0//1.5
		}
	}
	MODULE
	{
		name = ModuleWheelMotor
		baseModuleIndex = 0
		
		maxRpm = 42
		driveResponse = 2
		
		torqueCurve
		{
			key = 0 1.0 0 0
			key = 10  0.66 0//20  0.66 0
			key = 30 0.14 0 0//40 0.14 0 0
			key = 34 0 0 0//44 0 0 0
		}
		
		RESOURCE
		{
			name = ElectricCharge
			rate = 2.5//5
		}		
		idleDrain = 0.0//0.1////0.3
	}
	MODULE
	{
		name = ModuleWheelBrakes
		baseModuleIndex = 0
		
		maxBrakeTorque = 2
		brakeResponse = 1
	}
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		damagedTransformName = wheelDamaged
		undamagedTransformName = wheel
		
		stressTolerance = 560
		impactTolerance = 200
		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
		}
		CONSTRAINLOOKFX
		{
			targetName = susp3-1
			rotatorsName = susp3-2
		}
		CONSTRAINLOOKFX
		{
			targetName = susp3-2
			rotatorsName = susp3-1
		}
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = False
		useEvent = True
	}
}