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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (BobBot moved page Parts/Wheel/roverWheel2/part.cfg to Parts/Wheel/roverWheelS2/roverWheelS2.cfg without leaving a redirect: Renamed part configuration file after update.)
m (Update config)
 
(2 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
mesh = model.mu
+
scale = 1
scale = 1
+
rescaleFactor = 1
rescaleFactor = 1
+
node_attach = 0.2233052, 0.5248517, 0.00, 1.0, 0.0, 0.0, 1
 
+
TechRequired = spaceExploration
node_attach = 0.2233052, 0.5248517, 0.00, 1.0, 0.0, 0.0, 1
+
entryCost = 3100
 
+
cost = 300
TechRequired = fieldScience
+
category = Ground
entryCost = 3100
+
subcategory = 0
 
+
title = #autoLOC_500990 //#autoLOC_500990 = RoveMax Model S2
cost = 300
+
manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
category = Utility
+
description = #autoLOC_500991 //#autoLOC_500991 = 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.
subcategory = 0
+
attachRules = 0,1,0,1,0
title = RoveMax Model S2
+
mass = 0.05
manufacturer = Kerbal Motion LLC
+
dragModelType = default
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.
+
maximum_drag = 0.3
 
+
minimum_drag = 0.2
attachRules = 0,1,0,1,0
+
angularDrag = 1
 
+
//crashTolerance = 7
mass = 0.05
+
maxTemp = 1200 // = 3600
dragModelType = default
+
crashTolerance = 20
maximum_drag = 0.3
+
breakingForce = 20
minimum_drag = 0.2
+
breakingTorque = 20
angularDrag = 1
+
bulkheadProfiles = srf
crashTolerance = 7
+
tags = #autoLOC_500992 //#autoLOC_500992 = drive ground roll rover wheel
maxTemp = 3600  
+
MODULE
 
 
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 = 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.157
 +
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 18
 
key = 15 6
 
}
 
 
 
torqueCurve
 
 
{
 
{
  key = 0 170 0 0  
+
name = ModuleWheelSuspension
  key = 2.5 100 0 0
+
baseModuleIndex = 0
  key = 12 0 0 0
+
suspensionTransformName = SuspensionPivot
 +
maximumLoad = 8.0
 +
suspensionDistance = 0.195
 +
suspensionOffset = -0.05
 +
targetPosition = 0.2
 +
springRatio = 24
 +
damperRatio = 1.0
 +
useAutoBoost = true
 +
useDistributedMass = true
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelSteering
 +
baseModuleIndex = 0
 +
 +
caliperTransformName = SteeringPivot
 +
autoSteeringAdjust = true
 +
steeringResponse = 1.5
 +
steeringRange = 40
 +
steeringCurve
 +
{
 +
key = 0 40
 +
key = 20 40
 +
}
 +
steeringMaxAngleCurve
 +
{
 +
key = 0 1 0 0
 +
key = 1.25 1 -0.007298814 -0.007298814
 +
key = 5 0.35 -0.0659221 -0.0659221
 +
key = 15 0.166 -0.006501267 -0.006501267
 +
}
 
}
 
}
 
+
MODULE
}
+
{
 
+
name = ModuleWheelMotor
MODULE
+
baseModuleIndex = 0
{
+
name = FXModuleLookAtConstraint
+
wheelSpeedMax = 11
CONSTRAINLOOKFX
+
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
 +
 +
impactDamageColliderName = collisionEnhancer
 +
impactDamageVelocity = 13
 +
}
 +
MODULE
 
{
 
{
targetName = susp1
+
name = FXModuleLookAtConstraint
rotatorsName = susp2
+
CONSTRAINLOOKFX
 +
{
 +
targetName = susp1
 +
rotatorsName = susp2
 +
}
 +
CONSTRAINLOOKFX
 +
{
 +
targetName = susp2
 +
rotatorsName = susp1
 +
}
 
}
 
}
 
+
MODULE
CONSTRAINLOOKFX
 
 
{
 
{
targetName = susp2
+
name = ModuleTestSubject
rotatorsName = susp1
+
environments = 15
 +
useStaging = False
 +
useEvent = True
 
}
 
}
}
+
MODULE
 
 
MODULE
 
{
 
name = FXModuleConstrainPosition
 
matchRotation = true
 
matchPosition = false
 
CONSTRAINFX
 
 
{
 
{
targetName = steering
+
name = ModuleCargoPart
moversName = lateral
+
packedVolume = 125
 
}
 
}
 
}
 
 
}
 
}
 
 
}}
 
}}

Latest revision as of 15:14, 13 October 2024

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 = #autoLOC_500990 //#autoLOC_500990 = RoveMax Model S2
	manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
	description = #autoLOC_500991 //#autoLOC_500991 = 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 = #autoLOC_500992 //#autoLOC_500992 = 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.157
		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 = 8.0
		suspensionDistance = 0.195
		suspensionOffset = -0.05
		targetPosition = 0.2			
		springRatio = 24
		damperRatio = 1.0
		useAutoBoost = true
		useDistributedMass = true
	}	
	MODULE
	{
		name = ModuleWheelSteering
		baseModuleIndex = 0
		
		caliperTransformName = SteeringPivot
		autoSteeringAdjust = true
		steeringResponse = 1.5		
		steeringRange = 40		
		steeringCurve
		{
			key = 0 40
			key = 20 40
		}
		steeringMaxAngleCurve
		{
			key = 0 1 0 0
			key = 1.25 1 -0.007298814 -0.007298814
			key = 5 0.35 -0.0659221 -0.0659221
			key = 15 0.166 -0.006501267 -0.006501267
		}
	}
	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
		
		impactDamageColliderName = collisionEnhancer
		impactDamageVelocity = 13
	}
	MODULE
	{
		name = FXModuleLookAtConstraint
		CONSTRAINLOOKFX
		{
			targetName = susp1
			rotatorsName = susp2
		}
		CONSTRAINLOOKFX
		{
			targetName = susp2
			rotatorsName = susp1
		}
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = False
		useEvent = True
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 125
	}
}