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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Updated for 0.23)
(Update part config)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Part config|RoveMax Model S2|2=PART
 
{{Part config|RoveMax Model S2|2=PART
 
{
 
{
name = roverWheel2
+
name = roverWheel2
module = Part
+
module = Part
author = Squad
+
author = Squad
 +
mesh = model.mu
 +
scale = 1
 +
rescaleFactor = 1
 +
node_attach = 0.2233052, 0.5248517, 0.00, 1.0, 0.0, 0.0, 1
 +
TechRequired = spaceExploration
 +
entryCost = 3100
 +
cost = 300
 +
category = Ground
 +
subcategory = 0
 +
title = RoveMax Model S2
 +
manufacturer = Kerbal Motion LLC
 +
description = Seeing an untapped market for a smaller design of rover wheel, Kerbal Motion quickly pounced upon this opportunity with the Model 2 - designed for robotic vehicles or smaller crewed vehicles.
 +
attachRules = 0,1,0,1,0
 +
mass = 0.05
 +
dragModelType = default
 +
maximum_drag = 0.3
 +
minimum_drag = 0.2
 +
angularDrag = 1
 +
//crashTolerance = 7
 +
maxTemp = 1200 // = 3600
 +
crashTolerance = 20
 +
breakingForce = 20
 +
breakingTorque = 20
 +
bulkheadProfiles = srf
 +
tags = drive ground roll rover wheel
 +
MODULE
 +
{
 +
name = ModuleWheelBase
 +
 +
wheelColliderTransformName = WheelCollider
 +
wheelTransformName = WheelPivot
 +
 +
wheelType = MOTORIZED
  
mesh = model.mu
+
// setting this to true will override the radius and center parameters
scale = 1
+
FitWheelColliderToMesh = False
rescaleFactor = 1
+
radius = 0.157
 
+
center = 0,0,0
node_attach = 0.2233052, 0.5248517, 0.00, 1.0, 0.0, 0.0, 1
+
mass = 0.040
 
+
groundHeightOffset = 0
TechRequired = fieldScience
+
entryCost = 3100
+
TooltipTitle = Rover Wheel
 
+
TooltipPrimaryField = Motorized
cost = 300
+
}
category = Utility
+
MODULE
subcategory = 0
+
{
title = RoveMax Model S2
+
name = ModuleWheelSuspension
manufacturer = Kerbal Motion LLC
+
baseModuleIndex = 0
description = Seeing an untapped market for a smaller design of rover wheel, Kerbal Motion quickly pounced upon this opportunity with the Model 2 - designed for robotic vehicles or smaller crewed vehicles.
+
suspensionTransformName = SuspensionPivot
 
+
attachRules = 0,1,0,1,0
+
suspensionDistance = 0.195
 
+
suspensionOffset = -0.05
mass = 0.05
+
targetPosition = 0.2
dragModelType = default
+
springRatio = 5
maximum_drag = 0.3
+
damperRatio = 1.0
minimum_drag = 0.2
+
}
angularDrag = 1
+
MODULE
crashTolerance = 7
 
maxTemp = 3600
 
 
 
crashTolerance = 20
 
breakingForce = 20
 
breakingTorque = 20
 
 
 
MODULE
 
{
 
name = ModuleWheel
 
hasMotor = true
 
resourceName = ElectricCharge
 
        resourceConsumptionRate = 0.5
 
canSteer = true
 
controlAxisType = Forward
 
steeringModeType = AutomaticSteer
 
brakeTorque = 180
 
brakeSpeed = 1.0
 
impactTolerance = 65
 
overSpeedDamage = 20
 
 
 
WHEEL
 
 
{
 
{
    wheelName = wheel
+
name = ModuleWheelSteering
    wheelColliderName = wheelCollider
+
baseModuleIndex = 0
    suspensionTransformName = suspensionTraverse
+
    suspensionNeutralPointName = suspensionNeutralPoint
+
caliperTransformName = SteeringPivot
    damagedObjectName = bustedwheel
+
    rotateX = 0
+
steeringResponse = 1.5
    rotateY = 1
+
steeringCurve
    rotateZ = 0
+
{
 +
key = 0 40
 +
key = 5 27//15
 +
key = 10 9//6
 +
key = 30 3.0//1.5
 +
}
 
}
 
}
 
+
MODULE
steeringCurve
+
{
{
+
name = ModuleWheelMotor
  key = 0 18
+
baseModuleIndex = 0
key = 15 6
+
}
+
wheelSpeedMax = 11
 
+
driveResponse = 2
torqueCurve
+
 +
torqueCurve
 +
{
 +
key = 0 0.17 0 0
 +
key = 2.5 0.1 0 0
 +
key = 12 0 0 0
 +
}
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 1//5
 +
}
 +
idleDrain = 0.0//0.1//
 +
}
 +
MODULE
 
{
 
{
  key = 0 170 0 0
+
name = ModuleWheelBrakes
  key = 2.5 100 0 0
+
baseModuleIndex = 0
  key = 12 0 0 0
+
 +
maxBrakeTorque = 0.34
 +
brakeResponse = 1
 
}
 
}
 
+
MODULE
}
 
 
 
MODULE
 
{
 
name = FXModuleLookAtConstraint
 
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp1
+
name = ModuleWheelDamage
rotatorsName = susp2
+
baseModuleIndex = 0
 +
 +
damagedTransformName = bustedwheel
 +
undamagedTransformName = wheel
 +
 +
stressTolerance = 315
 +
impactTolerance = 65
 +
deflectionMagnitude = 1.0
 +
deflectionSharpness = 2.0
 +
slipMagnitude = 15
 +
slipSharpness = 2.0
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp2
+
name = FXModuleLookAtConstraint
rotatorsName = susp1
+
CONSTRAINLOOKFX
 +
{
 +
targetName = susp1
 +
rotatorsName = susp2
 +
}
 +
CONSTRAINLOOKFX
 +
{
 +
targetName = susp2
 +
rotatorsName = susp1
 +
}
 
}
 
}
}
+
MODULE
 
 
MODULE
 
{
 
name = FXModuleConstrainPosition
 
matchRotation = true
 
matchPosition = false
 
CONSTRAINFX
 
 
{
 
{
targetName = steering
+
name = ModuleTestSubject
moversName = lateral
+
environments = 15
 +
useStaging = False
 +
useEvent = True
 
}
 
}
 
}
 
 
}
 
}
 +
 
}}
 
}}

Latest revision as of 09:47, 21 October 2016

This is the configuration file for RoveMax Model S2.
PART
{
	name = roverWheel2
	module = Part
	author = Squad
	mesh = model.mu
	scale = 1
	rescaleFactor = 1
	node_attach = 0.2233052, 0.5248517, 0.00, 1.0, 0.0, 0.0, 1
	TechRequired = spaceExploration
	entryCost = 3100
	cost = 300
	category = Ground
	subcategory = 0
	title = RoveMax Model S2
	manufacturer = Kerbal Motion LLC
	description = Seeing an untapped market for a smaller design of rover wheel, Kerbal Motion quickly pounced upon this opportunity with the Model 2 - designed for robotic vehicles or smaller crewed vehicles.
	attachRules = 0,1,0,1,0
	mass = 0.05
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.2
	angularDrag = 1
	//crashTolerance = 7
	maxTemp = 1200 // = 3600
	crashTolerance = 20
	breakingForce = 20
	breakingTorque = 20
	bulkheadProfiles = srf
	tags = 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.157
		center = 0,0,0
		mass = 0.040
		groundHeightOffset = 0
				
		TooltipTitle = Rover Wheel
		TooltipPrimaryField = Motorized
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = SuspensionPivot
		
		suspensionDistance = 0.195
		suspensionOffset = -0.05
		targetPosition = 0.2			
		springRatio = 5
		damperRatio = 1.0
	}	
	MODULE
	{
		name = ModuleWheelSteering
		baseModuleIndex = 0
		
		caliperTransformName = SteeringPivot
		
		steeringResponse = 1.5
		steeringCurve
		{
			key = 0 40
			key = 5 27//15
			key = 10 9//6
			key = 30 3.0//1.5
		}
	}
	MODULE
	{
		name = ModuleWheelMotor
		baseModuleIndex = 0
		
		wheelSpeedMax = 11
		driveResponse = 2
		
		torqueCurve
		{
			key = 0 0.17 0 0
			key = 2.5 0.1 0 0
			key = 12 0 0 0
		}
		RESOURCE
		{
			name = ElectricCharge
			rate = 1//5
		}		
		idleDrain = 0.0//0.1//
	}	
	MODULE
	{
		name = ModuleWheelBrakes
		baseModuleIndex = 0
		
		maxBrakeTorque = 0.34
		brakeResponse = 1
	}
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		damagedTransformName = bustedwheel
		undamagedTransformName = wheel
		
		stressTolerance = 315
		impactTolerance = 65
		deflectionMagnitude = 1.0
		deflectionSharpness = 2.0
		slipMagnitude = 15
		slipSharpness = 2.0
	}
	MODULE
	{
		name = FXModuleLookAtConstraint
		CONSTRAINLOOKFX
		{
			targetName = susp1
			rotatorsName = susp2
		}
		CONSTRAINLOOKFX
		{
			targetName = susp2
			rotatorsName = susp1
		}
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = False
		useEvent = True
	}
}