Difference between revisions of "Parts/Utility/landingLegLT-2/landingLegLT-2.cfg"

From Kerbal Space Program Wiki
< Parts‎ | Utility
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|LT-2 Landing Strut|2=PART
 
{{Part config|LT-2 Landing Strut|2=PART
 
{
 
{
// Kerbal Space Program - Part Config
+
name = landingLeg1-2
 +
module = Part
 +
author = Squad
 +
mesh = model.mu
 +
rescaleFactor = 1.25
 +
PhysicsSignificance = 0
 +
node_attach = 0.0, 0.4271562, 0.0632596, 0.0, 0.5735765, 0.819152
 +
TechRequired = advLanding
 +
entryCost = 4100
 +
cost = 340
 +
category = Ground
 +
subcategory = 0
 +
title = #autoLOC_500876 //#autoLOC_500876 = LT-2 Landing Strut
 +
manufacturer = #autoLOC_501651 //#autoLOC_501651 = Moving Parts Experts Group
 +
description = #autoLOC_500877 //#autoLOC_500877 = The LT-2 Landing Strut offers a heavy-duty method for planting yourself firmly on the ground, without the severe consequences that usually accompany planting yourself firmly on the ground.
 +
attachRules = 0,1,0,0,0
 +
mass = 0.1
 +
thermalMassModifier = 3.0
 +
// heatConductivity = 0.06 // half default
 +
emissiveConstant = 0.8 // a bit better than usual, because conduction needs some work
 +
initRotation = 95.187980000, -0.2879681,-0.9133175,-0.287968
 +
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.2
 +
angularDrag = 2
 +
crashTolerance = 12
 +
maxTemp = 2000 // = 2900
 +
CoMOffset = 0, 0, 0.1
 +
breakingForce = 80
 +
breakingTorque = 80
 +
bulkheadProfiles = srf
 +
tags = #autoLOC_500878 //#autoLOC_500878 = ground land leg support
 +
EFFECTS
 +
{
 +
deploy
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_start
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.5
 +
}
 +
AUDIO_LOOP
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_loop
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.5
 +
}
 +
}
 +
deployed
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_stop
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.5
 +
}
 +
}
 +
retract
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_start
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.5
 +
}
 +
AUDIO_LOOP
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_loop
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.6
 +
}
 +
}
 +
retracted
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_stop
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.75
 +
}
 +
}
 +
}
  
// --- general parameters ---
+
MODULE
name = landingLeg1-2
+
{
module = Part
+
name = ModuleWheelBase
author = Squad
+
 +
wheelColliderTransformName = wheelCollider
 +
useNewFrictionModel = true
 +
wheelType = LEG
 +
adherentStart = 0.01
 +
frictionAdherent = 0.1
 +
peakStart = 2
 +
frictionPeak = 1.0
 +
limitStart = 7.0
 +
frictionLimit = 1.0
 +
// setting this to true will override the radius and center parameters
 +
FitWheelColliderToMesh = False
 +
radius = 0.12
 +
center = 0,0,0
 +
mass = 0.040
 +
autoFrictionAvailable = False
 +
clipObject = piston_collider
 +
 +
TooltipTitle = #autoLOC_502076 //#autoLOC_502076 = Landing Leg
 +
TooltipPrimaryField =
 +
 +
groundHeightOffset = 1.37
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelSuspension
 +
baseModuleIndex = 0
 +
suspensionTransformName = piston
 +
suspensionColliderName = piston_collider
 +
 +
suspensionDistance = 0.95
 +
suspensionOffset = -0.95
 +
maximumLoad = 40.0
 +
targetPosition = 1.0
 +
springRatio = 33
 +
damperRatio = 2.2
 +
boostRatio = 0.7
 +
useDistributedMass = true
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelDeployment
 +
baseModuleIndex = 0
 +
 +
animationTrfName = leg
 +
animationStateName = newlandingleg
 +
deployedPosition = 1
 +
deployTargetTransformName = deployTgt
 +
retractTransformName = piston
 +
 +
TsubSys = 0.83
 +
 +
extendDurationFactor = 0.5
 +
retractDuractionFactor = 0.3
  
// --- asset parameters ---
+
fxDeploy = deploy
mesh = model.mu
+
fxRetract = retract
rescaleFactor = 1
+
fxDeployed = deployed
 
+
fxRetracted = retracted
// animationName = newlandingleg
+
}
 
+
MODULE
PhysicsSignificance = 0
+
{
 
+
name = ModuleWheelLock
// --- node definitions ---
+
maxTorque = 500
node_attach = 0.0, -0.05577543, -0.1288447, 0.0, 0.0, 1.0
+
}
 
+
MODULE
// --- editor parameters ---
+
{
TechRequired = advLanding
+
name = ModuleWheelBogey
entryCost = 4100
+
baseModuleIndex = 0
cost = 340
+
category = Utility
+
bogeyTransformName = foot
subcategory = 0
+
deployModuleIndex = 2
title = LT-2 Landing Strut
+
manufacturer = Moving Parts Experts Group
+
maxPitch = 160
description = The LT-2 Landing Strut offers a heavy-duty method for planting yourself firmly on the ground, without the severe consequences that usually accompany planting yourself firmly on the ground.
+
minPitch = -160
 
+
restPitch = 0
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
pitchResponse = 100
attachRules = 0,1,0,0,0
+
 
+
bogeyAxis = 1, 0, 0
// --- standard part parameters ---
+
bogeyUpAxis = 0, 0, -1
mass = 0.1
+
}
dragModelType = default
+
MODULE
maximum_drag = 0.2
+
{
minimum_drag = 0.2
+
name = ModuleWheelDamage
angularDrag = 2
+
baseModuleIndex = 0
crashTolerance = 12
+
maxTemp = 2900
+
stressTolerance = 99999999
 
+
impactTolerance = 600
CoMOffset = 0, 0, 0.1
+
deflectionMagnitude = 1
 
+
deflectionSharpness = 2.0
breakingForce = 80
+
slipMagnitude = 0
breakingTorque = 80
+
slipSharpness = 2.0
 
+
explodeMultiplier = 1.0
 
+
}
MODULE
+
MODULE
{
+
{
+
name = ModuleCargoPart
name = ModuleLandingLeg
+
packedVolume = 300
 
+
}
animationName = newlandingleg
 
wheelColliderName = wheelCollider
 
suspensionTransformName = piston
 
orientFootToGround = true
 
landingFootName = foot
 
// Axis is aligned forward instead of up
 
alignFootUp = false
 
suspensionUpperLimit = 0.47
 
impactTolerance = 450
 
suspensionSpring = 5
 
suspensionDamper = 2
 
 
}
 
}
 
}
 
 
 
}}
 
}}

Latest revision as of 15:11, 13 October 2024

This is the configuration file for LT-2 Landing Strut.
PART
{
	name = landingLeg1-2
	module = Part
	author = Squad
	mesh = model.mu
	rescaleFactor = 1.25
	PhysicsSignificance = 0
	node_attach = 0.0, 0.4271562, 0.0632596, 0.0, 0.5735765, 0.819152
	TechRequired = advLanding
	entryCost = 4100
	cost = 340
	category = Ground
	subcategory = 0
	title = #autoLOC_500876 //#autoLOC_500876 = LT-2 Landing Strut
	manufacturer = #autoLOC_501651 //#autoLOC_501651 = Moving Parts Experts Group
	description = #autoLOC_500877 //#autoLOC_500877 = The LT-2 Landing Strut offers a heavy-duty method for planting yourself firmly on the ground, without the severe consequences that usually accompany planting yourself firmly on the ground.
	attachRules = 0,1,0,0,0
	mass = 0.1
	thermalMassModifier = 3.0
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.8 // a bit better than usual, because conduction needs some work
	initRotation = 95.187980000, -0.2879681,-0.9133175,-0.287968	
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 12
	maxTemp = 2000 // = 2900
	CoMOffset = 0, 0, 0.1
	breakingForce = 80
	breakingTorque = 80
	bulkheadProfiles = srf
	tags = #autoLOC_500878 //#autoLOC_500878 = ground land leg support
	EFFECTS
	{
		deploy
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_start
				volume = 0 0
				volume = 1 0.5
				pitch = 0.5
			}
			AUDIO_LOOP
			{
				channel = Ship
				clip = Squad/Sounds/elev_loop
				volume = 0 0
				volume = 1 0.5
				pitch = 0.5
			}
		}
		deployed
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_stop
				volume = 0 0
				volume = 1 0.5
				pitch = 0.5
			}
		}
		retract
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_start
				volume = 0 0
				volume = 1 0.5
				pitch = 0.5
			}
			AUDIO_LOOP
			{
				channel = Ship
				clip = Squad/Sounds/elev_loop
				volume = 0 0
				volume = 1 0.5
				pitch = 0.6
			}
		}
		retracted
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_stop
				volume = 0 0
				volume = 1 0.5
				pitch = 0.75
			}
		}
	}

	MODULE
	{
		name = ModuleWheelBase
		
		wheelColliderTransformName = wheelCollider		
		useNewFrictionModel = true
		wheelType = LEG
		adherentStart = 0.01
		frictionAdherent = 0.1
		peakStart = 2
		frictionPeak = 1.0
		limitStart = 7.0
		frictionLimit = 1.0
		// setting this to true will override the radius and center parameters
		FitWheelColliderToMesh = False		
		radius = 0.12
		center = 0,0,0
		mass = 0.040
		autoFrictionAvailable = False
		clipObject = piston_collider
				
		TooltipTitle = #autoLOC_502076 //#autoLOC_502076 = Landing Leg
		TooltipPrimaryField = 
		
		groundHeightOffset = 1.37
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = piston
		suspensionColliderName = piston_collider
		
		suspensionDistance = 0.95
		suspensionOffset = -0.95		
		maximumLoad = 40.0
		targetPosition = 1.0			
		springRatio = 33
		damperRatio = 2.2
		boostRatio = 0.7
		useDistributedMass = true
	}
	MODULE
	{
		name = ModuleWheelDeployment
		baseModuleIndex = 0
		
		animationTrfName = leg
		animationStateName = newlandingleg
		deployedPosition = 1
		deployTargetTransformName = deployTgt
		retractTransformName = piston
		
		TsubSys = 0.83
		
		extendDurationFactor = 0.5
		retractDuractionFactor = 0.3

		fxDeploy = deploy
		fxRetract = retract
		fxDeployed = deployed
		fxRetracted = retracted
	}
	MODULE
	{
		name = ModuleWheelLock
		maxTorque = 500
	}
	MODULE
	{
		name = ModuleWheelBogey
		baseModuleIndex = 0
		
		bogeyTransformName = foot
		deployModuleIndex = 2
		
		maxPitch = 160
		minPitch = -160
		restPitch = 0
		pitchResponse = 100
		
		bogeyAxis = 1, 0, 0
		bogeyUpAxis = 0, 0, -1
	}
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		stressTolerance = 99999999
		impactTolerance = 600
		deflectionMagnitude = 1
		deflectionSharpness = 2.0
		slipMagnitude = 0
		slipSharpness = 2.0
		explodeMultiplier = 1.0
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 300
	}
}