Difference between revisions of "Parts/Wheel/roverWheelTR-2L/roverWheelTR-2L.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Updated for 0.23)
m (Update config)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Part config|TR-2L Ruggedized Vehicular Wheel|2=PART
 
{{Part config|TR-2L Ruggedized Vehicular Wheel|2=PART
 
{
 
{
name = wheelMed
+
name = wheelMed
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.0, 0.0, 0.0, 1.0, 0.0, 0.0
 
+
TechRequired = advancedMotors
node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
+
entryCost = 7000//6000
 
+
cost = 760//580
TechRequired = advancedMotors
+
category = Ground
entryCost = 6000
+
subcategory = 0
 
+
title = #autoLOC_500993 //#autoLOC_500993 = TR-2L Ruggedized Vehicular Wheel
cost = 580
+
manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
category = Utility
+
description = #autoLOC_500994 //#autoLOC_500994 = The TR-2L is an extremely tough wheel made for mobilizing medium sized vehicles across a large variety of terrain. The extremely high traction tread ensures firm grip on any surface, providing reliability and reducing the chances of being used for high-speed tomfoolery.
subcategory = 0
+
attachRules = 0,1,0,1,0
title = TR-2L Ruggedized Vehicular Wheel
+
mass = 0.105
manufacturer = Kerbal Motion LLC
+
CoMOffset = -0.306, -0.403, 0
description = The TR-2L is an extremely tough wheel made for mobilizing medium sized vehicles across a large variety of terrain. The extremely high traction tread ensures firm grip on any surface, providing reliability and reducing the chances of being used for high-speed tomfoolery.  
+
dragModelType = default
 
+
maximum_drag = 0.3
attachRules = 0,1,0,1,0
+
minimum_drag = 0.2
 
+
angularDrag = 1
mass = 0.05
+
//crashTolerance = 7
dragModelType = default
+
maxTemp = 1200 // = 3600
maximum_drag = 0.3
+
crashTolerance = 100
minimum_drag = 0.2
+
breakingForce = 80
angularDrag = 1
+
breakingTorque = 80
crashTolerance = 7
+
bulkheadProfiles = srf
maxTemp = 3600  
+
tags = #autoLOC_500995 //#autoLOC_500995 = )car drive ground roll rover sports
 
+
MODULE
crashTolerance = 100
 
breakingForce = 80
 
breakingTorque = 80
 
 
 
MODULE
 
{
 
name = ModuleWheel
 
hasMotor = true
 
resourceName = ElectricCharge
 
        resourceConsumptionRate = 0.7
 
canSteer = true
 
controlAxisType = Forward
 
steeringModeType = AutomaticSteer
 
brakeTorque = 500
 
brakeSpeed = 2.5
 
impactTolerance = 300
 
overSpeedDamage = 60
 
 
 
WHEEL
 
 
{
 
{
    wheelName = wheel
+
name = ModuleWheelBase
    wheelColliderName = wheelCollider
+
    suspensionTransformName = suspensionTraverse
+
wheelColliderTransformName = WheelCollider
    suspensionNeutralPointName = suspensionNeutralPoint
+
wheelTransformName = WheelPivot
    damagedObjectName = bustedwheel
+
useNewFrictionModel = true
    rotateX = 1
+
wheelType = MOTORIZED
    rotateY = 0
+
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.58
 +
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 10
 
key = 10 6
 
  key = 30 2
 
}
 
 
 
torqueCurve
 
 
{
 
{
  key = 0 100 0 0  
+
name = ModuleWheelSuspension
  key = 2.5 70 0 0
+
baseModuleIndex = 0
  key = 30 0 0 0
+
suspensionTransformName = SuspensionPivot
 +
maximumLoad = 30.0
 +
suspensionDistance = 0.125
 +
targetPosition = 0.5
 +
springRatio = 40
 +
damperRatio = 1.0
 +
useDistributedMass = true
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelSteering
 +
baseModuleIndex = 0
 +
 +
caliperTransformName = SteeringPivot
 +
autoSteeringAdjust = true
 +
steeringResponse = 1.5
 +
 +
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 = 59//37 208 kph
 +
driveResponse = 2
 +
 +
torqueCurve
 +
{
 +
key = 0 2.0 0 0
 +
key = 10 1.4 0 0//2.5 2.0 0 0
 +
key = 52 0.5 0 0//36 0.5 0 0
 +
key = 58 0 0 0//38 0 0 0
 +
}
 +
RESOURCE
 +
{
 +
name = ElectricCharge
 +
rate = 3.5//7
 +
}
 +
idleDrain = 0.0//0.1////0.5
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelBrakes
 +
baseModuleIndex = 0
 +
 +
maxBrakeTorque = 3
 +
brakeResponse = 1
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelDamage
 +
baseModuleIndex = 0
 +
 +
damagedTransformName = bustedwheel
 +
undamagedTransformName = wheel
 +
 +
stressTolerance = 900
 +
impactTolerance = 300
 +
deflectionMagnitude = 1.0
 +
deflectionSharpness = 2.0
 +
slipMagnitude = 15
 +
slipSharpness = 2.0
 +
 +
impactDamageColliderName = collisionEnhancer
 +
impactDamageVelocity = 25
 +
}
 +
MODULE
 +
{
 +
name = ModuleTestSubject
 +
environments = 15
 +
useStaging = False
 +
useEvent = True
 
}
 
}
 
+
MODULE
}
 
 
 
MODULE
 
{
 
name = FXModuleConstrainPosition
 
matchRotation = true
 
matchPosition = false
 
CONSTRAINFX
 
 
{
 
{
targetName = steering
+
name = ModuleCargoPart
moversName = trackSteering
+
packedVolume = -1
 
}
 
}
 
}
 
 
}
 
}
 
}}
 
}}

Latest revision as of 15:15, 13 October 2024

This is the configuration file for TR-2L Ruggedized Vehicular Wheel.
PART
{
	name = wheelMed
	module = Part
	author = Squad
	mesh = model.mu
	scale = 1
	rescaleFactor = 1
	node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0
	TechRequired = advancedMotors
	entryCost = 7000//6000
	cost = 760//580
	category = Ground
	subcategory = 0
	title = #autoLOC_500993 //#autoLOC_500993 = TR-2L Ruggedized Vehicular Wheel
	manufacturer = #autoLOC_501649 //#autoLOC_501649 = Kerbal Motion LLC
	description = #autoLOC_500994 //#autoLOC_500994 = The TR-2L is an extremely tough wheel made for mobilizing medium sized vehicles across a large variety of terrain. The extremely high traction tread ensures firm grip on any surface, providing reliability and reducing the chances of being used for high-speed tomfoolery.
	attachRules = 0,1,0,1,0
	mass = 0.105
	CoMOffset = -0.306, -0.403, 0
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.2
	angularDrag = 1
	//crashTolerance = 7
	maxTemp = 1200 // = 3600
	crashTolerance = 100
	breakingForce = 80
	breakingTorque = 80
	bulkheadProfiles = srf
	tags = #autoLOC_500995 //#autoLOC_500995 = )car drive ground roll rover sports
	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.58
		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 = 30.0
		suspensionDistance = 0.125
		targetPosition = 0.5			
		springRatio = 40
		damperRatio = 1.0
		useDistributedMass = true
	}	
	MODULE
	{
		name = ModuleWheelSteering
		baseModuleIndex = 0
		
		caliperTransformName = SteeringPivot
		autoSteeringAdjust = true
		steeringResponse = 1.5
		
		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 = 59//37 208 kph
		driveResponse = 2
		
		torqueCurve
		{
			key = 0 2.0 0 0
			key = 10 1.4 0 0//2.5 2.0 0 0
			key = 52 0.5 0 0//36 0.5 0 0
			key = 58 0 0 0//38 0 0 0
		}
		RESOURCE
		{
			name = ElectricCharge
			rate = 3.5//7
		}		
		idleDrain = 0.0//0.1////0.5
	}	
	MODULE
	{
		name = ModuleWheelBrakes
		baseModuleIndex = 0
		
		maxBrakeTorque = 3
		brakeResponse = 1
	}	
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		damagedTransformName = bustedwheel
		undamagedTransformName = wheel
		
		stressTolerance = 900
		impactTolerance = 300
		deflectionMagnitude = 1.0
		deflectionSharpness = 2.0
		slipMagnitude = 15
		slipSharpness = 2.0
		
		impactDamageColliderName = collisionEnhancer
		impactDamageVelocity = 25
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = False
		useEvent = True
	}
	MODULE
	{
		name = ModuleCargoPart		
		packedVolume = -1
	}
}