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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 0.24.2;)
m (Update config)
 
(3 intermediate revisions by 2 users 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
TechRequired = fieldScience
+
category = Ground
entryCost = 5200
+
subcategory = 0
 
+
title = #autoLOC_500987 //#autoLOC_500987 = RoveMax Model M1
cost = 450
+
manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
category = Utility
+
description = #autoLOC_500988 //#autoLOC_500988 = 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.
subcategory = 0
+
attachRules = 0,1,0,1,0
title = RoveMax Model M1
+
mass = 0.075
manufacturer = Kerbal Motion LLC
+
dragModelType = default
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.
+
maximum_drag = 0.3
 
+
minimum_drag = 0.2
attachRules = 0,1,0,1,0
+
angularDrag = 1
 
+
//crashTolerance = 7
mass = 0.075
+
maxTemp = 1200 // = 3600
dragModelType = default
+
crashTolerance = 50
maximum_drag = 0.3
+
breakingForce = 50
minimum_drag = 0.2
+
breakingTorque = 50
angularDrag = 1
+
bulkheadProfiles = srf
crashTolerance = 7
+
tags = #autoLOC_500989 //#autoLOC_500989 = )car drive ground roll rover wheel
maxTemp = 3600  
+
MODULE
 
 
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
+
name = ModuleWheelBase
    wheelColliderName = wheelCollider
+
    suspensionTransformName = suspensionTraverse
+
wheelColliderTransformName = WheelCollider
    suspensionNeutralPointName = suspensionNeutralPoint
+
wheelTransformName = WheelPivot
    damagedObjectName = bustedwheel
+
useNewFrictionModel = true
    rotateX = 0
+
wheelType = MOTORIZED
    rotateY = 1
+
adherentStart = 0.5
    rotateZ = 0
+
frictionAdherent = .3
 +
peakStart = 3
 +
frictionPeak = 1.5
 +
limitStart = 6
 +
frictionLimit = 1.3
 +
// 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 = #autoLOC_502081 //#autoLOC_502081 = Rover Wheel
 +
TooltipPrimaryField = #autoLOC_6004045 //#autoLOC_6004045 = Motorized
 
}
 
}
 
+
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
+
maximumLoad = 10.0
}
+
suspensionDistance = 0.2
 
+
targetPosition = 0.5
}
+
springRatio = 28
 
+
damperRatio = 2.0
MODULE
+
useDistributedMass = true
{
+
}
name = FXModuleLookAtConstraint
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp2-1
+
name = ModuleWheelSteering
rotatorsName = susp2-2
+
baseModuleIndex = 0
 +
 +
caliperTransformName = SteeringPivot
 +
autoSteeringAdjust = true
 +
steeringResponse = 2
 +
steeringRange = 25
 +
steeringCurve
 +
{
 +
key = 0 20
 +
key = 20 20
 +
}
 +
steeringMaxAngleCurve
 +
{
 +
key = 0 1 0 0
 +
key = 3 1 0.0001624425 0.0001624425
 +
key = 7.5 0.33 -0.05674612 -0.05674612
 +
key = 20 0.12 -0.003158088 -0.003158088
 +
key = 30 0.1 -0.002872917 -0.002872917
 +
}
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp2-2
+
name = ModuleWheelMotor
rotatorsName = susp2-1
+
baseModuleIndex = 0
 +
 +
wheelSpeedMax = 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
 +
 +
impactDamageColliderName = collisionEnhancer
 +
impactDamageVelocity = 21
 +
}
 +
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
}
 
 
 
MODULE
 
{
 
name = FXModuleConstrainPosition
 
matchRotation = true
 
matchPosition = false
 
CONSTRAINFX
 
 
{
 
{
targetName = steering
+
name = ModuleCargoPart
moversName = trackSteering
+
packedVolume = 600
 
}
 
}
 
}
 
 
}
 
}
 
 
}}
 
}}

Latest revision as of 15:14, 13 October 2024

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 = #autoLOC_500987 //#autoLOC_500987 = RoveMax Model M1
	manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
	description = #autoLOC_500988 //#autoLOC_500988 = 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 = #autoLOC_500989 //#autoLOC_500989 = )car drive ground roll rover wheel
	MODULE
	{
		name = ModuleWheelBase
		
		wheelColliderTransformName = WheelCollider		
		wheelTransformName = WheelPivot
		useNewFrictionModel = true
		wheelType = MOTORIZED
		adherentStart = 0.5
		frictionAdherent = .3
		peakStart = 3
		frictionPeak = 1.5
		limitStart = 6
		frictionLimit = 1.3
		// 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 = #autoLOC_502081 //#autoLOC_502081 = Rover Wheel
		TooltipPrimaryField = #autoLOC_6004045 //#autoLOC_6004045 = Motorized
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = suspensionPivot
		maximumLoad = 10.0
		suspensionDistance = 0.2
		targetPosition = 0.5			
		springRatio = 28
		damperRatio = 2.0
		useDistributedMass = true
	}	
	MODULE
	{
		name = ModuleWheelSteering
		baseModuleIndex = 0
		
		caliperTransformName = SteeringPivot
		autoSteeringAdjust = true
		steeringResponse = 2		
		steeringRange = 25		
		steeringCurve
		{
			key = 0 20
			key = 20 20
		}
		steeringMaxAngleCurve
		{
			key = 0 1 0 0
			key = 3 1 0.0001624425 0.0001624425
			key = 7.5 0.33 -0.05674612 -0.05674612
			key = 20 0.12 -0.003158088 -0.003158088
			key = 30 0.1 -0.002872917 -0.002872917
		}
	}
	MODULE
	{
		name = ModuleWheelMotor
		baseModuleIndex = 0
		
		wheelSpeedMax = 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
		
		impactDamageColliderName = collisionEnhancer
		impactDamageVelocity = 21
	}	
	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
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 600
	}
}