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

From Kerbal Space Program Wiki
Jump to: navigation, search
(part.cfg for wheelMed)
 
m (Update config)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
PART{name = wheelMedmodule = Partauthor = Squadmesh = model.muscale = 1rescaleFactor = 1node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0cost = 300category = Utilitysubcategory = 0title = TR-2L Ruggedized Vehicular Wheelmanufacturer = Kerbal Motion LLCdescription = 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,0mass = 0.05dragModelType = defaultmaximum_drag = 0.3minimum_drag = 0.2angularDrag = 1crashTolerance = 7maxTemp = 3600 crashTolerance = 100breakingForce = 80breakingTorque = 80MODULE{ 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     wheelColliderName = wheelCollider     suspensionTransformName = suspensionTraverse     suspensionNeutralPointName = suspensionNeutralPoint     damagedObjectName = bustedwheel     rotateX = 1     rotateY = 0     rotateZ = 0 } steeringCurve {   key = 0 10 key = 10 6  key = 30 2 } torqueCurve {   key = 0 100 0 0   key = 2.5 70 0 0   key = 30 0 0 0 }}MODULE{ name = FXModuleConstrainPosition matchRotation = true matchPosition = false CONSTRAINFX { targetName = steering moversName = trackSteering } }}
+
{{Part config|TR-2L Ruggedized Vehicular Wheel|2=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
 +
}
 +
}
 +
}}

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
	}
}