Difference between revisions of "Parts/Utility/landingLegLT-5/landingLegLT-5.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-5 Micro Landing Strut|2=PART
+
{{Part config|LT-05 Micro Landing Strut|2=PART
 
{
 
{
// Kerbal Space Program - Part Config
+
name = miniLandingLeg
 +
module = Part
 +
author = NovaSilisko
 +
mesh = model.mu
 +
rescaleFactor = 1
 +
node_attach = 0.0256775, 0.05144107, 0.0, 1.0, 0.0, 0.0
 +
TechRequired = survivability
 +
entryCost = 820
 +
cost = 200
 +
category = Ground
 +
subcategory = 0
 +
title = #autoLOC_500879 //#autoLOC_500879 = LT-05 Micro Landing Strut
 +
manufacturer = #autoLOC_501651 //#autoLOC_501651 = Moving Parts Experts Group
 +
description = #autoLOC_500880 //#autoLOC_500880 = A small landing leg designed for space probes or lightweight landers. Basically made of toothpicks... erm, Space-grade toothpicks mind you, but be careful with them anyway.
 +
attachRules = 0,1,0,0,0
 +
mass = 0.015
 +
// heatConductivity = 0.06 // half default
 +
emissiveConstant = 0.8 // a bit better than usual, because conduction needs some work
 +
dragModelType = default
 +
maximum_drag = 0.2
 +
minimum_drag = 0.2
 +
angularDrag = 2
 +
crashTolerance = 10
 +
maxTemp = 1200 // = 2900
 +
explosionPotential = 0
 +
bulkheadProfiles = srf
 +
tags = #autoLOC_500881 //#autoLOC_500881 = ground land leg support
 +
EFFECTS
 +
{
 +
deploy
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_start
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.95
 +
}
 +
AUDIO_LOOP
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_loop
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.95
 +
}
 +
}
 +
deployed
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_stop
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.95
 +
}
 +
}
 +
retract
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_start
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.95
 +
}
 +
AUDIO_LOOP
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_loop
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 0.95
 +
}
 +
}
 +
retracted
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_stop
 +
volume = 0 0
 +
volume = 1 0.5
 +
pitch = 1.35
 +
}
 +
}
 +
}
 +
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.1
 +
center = 0,0,0
 +
mass = 0.040
 +
autoFrictionAvailable = False
 +
clipObject = leg_collider
 +
tireForceSharpness = 1
 +
TooltipTitle = #autoLOC_502076 //#autoLOC_502076 = Landing Leg
 +
TooltipPrimaryField =
 +
 +
groundHeightOffset = 1
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelSuspension
 +
baseModuleIndex = 0
 +
suspensionTransformName = leg
 +
 +
suspensionDistance = 0.8
 +
suspensionOffset = -0.8
 +
 +
targetPosition = 1.0
 +
springRatio = 40
 +
damperRatio = 2.2
 +
boostRatio = 0.75
 +
maximumLoad = 3.0
 +
extendDurationFactor = 1.0
 +
retractDuractionFactor = 1.0
 +
useDistributedMass = true
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelDeployment
 +
baseModuleIndex = 0
 +
 +
animationTrfName = miniLeg
 +
animationStateName = probeleg
 +
deployedPosition = 1
 +
deployTargetTransformName = deployTgt
 +
retractTransformName = leg
 +
 +
TsubSys = 0.8
  
// --- general parameters ---
+
fxDeploy = deploy
name = miniLandingLeg
+
fxRetract = retract
module = Part
+
fxDeployed = deployed
author = NovaSilisko
+
fxRetracted = retracted
 
+
}
// --- asset parameters ---
+
MODULE
mesh = model.mu
+
{
rescaleFactor = 1
+
name = ModuleWheelLock
 
+
maxTorque = 50
// animationName = probeleg
+
}
 
+
MODULE
// --- node definitions ---
+
{
node_attach = 0.0256775, 0.05144107, 0.0, 1.0, 0.0, 0.0
+
name = ModuleWheelDamage
 
+
baseModuleIndex = 0
// --- editor parameters ---
+
TechRequired = landing
+
stressTolerance = 99999999
entryCost = 2200
+
impactTolerance = 40
cost = 200
+
deflectionMagnitude = 1
category = Utility
+
deflectionSharpness = 2.0
subcategory = 0
+
slipMagnitude = 0
title = LT-5 Micro Landing Strut
+
slipSharpness = 2.0
manufacturer = Moving Parts Experts Group
+
explodeMultiplier = 1.0
description = A small landing leg designed for space probes or lightweight landers. Basically made of toothpicks... erm, Space-grade toothpicks mind you, but be careful with them anyway.
+
}
 
+
MODULE
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
+
{
attachRules = 0,1,0,0,0
+
name = ModuleCargoPart
 
+
packedVolume = 80
// --- standard part parameters ---
+
}
mass = 0.015
 
dragModelType = default
 
maximum_drag = 0.2
 
minimum_drag = 0.2
 
angularDrag = 2
 
crashTolerance = 10
 
maxTemp = 2900
 
 
 
 
 
explosionPotential = 0
 
 
 
MODULE
 
{
 
name = ModuleLandingLeg
 
 
 
animationName = probeleg
 
wheelColliderName = wheelCollider
 
suspensionTransformName = leg
 
suspensionUpperLimit = 0.65
 
impactTolerance = 150
 
suspensionSpring = 1
 
suspensionDamper = 1
 
 
}
 
}
 
}
 
 
 
}}
 
}}

Latest revision as of 15:09, 13 October 2024

This is the configuration file for LT-05 Micro Landing Strut.
PART
{
	name = miniLandingLeg
	module = Part
	author = NovaSilisko
	mesh = model.mu
	rescaleFactor = 1
	node_attach = 0.0256775, 0.05144107, 0.0, 1.0, 0.0, 0.0
	TechRequired = survivability
	entryCost = 820
	cost = 200
	category = Ground
	subcategory = 0
	title = #autoLOC_500879 //#autoLOC_500879 = LT-05 Micro Landing Strut
	manufacturer = #autoLOC_501651 //#autoLOC_501651 = Moving Parts Experts Group
	description = #autoLOC_500880 //#autoLOC_500880 = A small landing leg designed for space probes or lightweight landers. Basically made of toothpicks... erm, Space-grade toothpicks mind you, but be careful with them anyway.
	attachRules = 0,1,0,0,0
	mass = 0.015
	// heatConductivity = 0.06 // half default
	emissiveConstant = 0.8 // a bit better than usual, because conduction needs some work
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 10
	maxTemp = 1200 // = 2900
	explosionPotential = 0
	bulkheadProfiles = srf
	tags = #autoLOC_500881 //#autoLOC_500881 = ground land leg support
	EFFECTS
	{
		deploy
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_start
				volume = 0 0
				volume = 1 0.5
				pitch = 0.95
			}
			AUDIO_LOOP
			{
				channel = Ship
				clip = Squad/Sounds/elev_loop
				volume = 0 0
				volume = 1 0.5
				pitch = 0.95
			}
		}
		deployed
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_stop
				volume = 0 0
				volume = 1 0.5
				pitch = 0.95
			}
		}
		retract
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_start
				volume = 0 0
				volume = 1 0.5
				pitch = 0.95
			}
			AUDIO_LOOP
			{
				channel = Ship
				clip = Squad/Sounds/elev_loop
				volume = 0 0
				volume = 1 0.5
				pitch = 0.95
			}
		}
		retracted
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_stop
				volume = 0 0
				volume = 1 0.5
				pitch = 1.35
			}
		}
	}
	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.1
		center = 0,0,0
		mass = 0.040
		autoFrictionAvailable = False
		clipObject = leg_collider
		tireForceSharpness = 1				
		TooltipTitle = #autoLOC_502076 //#autoLOC_502076 = Landing Leg
		TooltipPrimaryField = 
		
		groundHeightOffset = 1
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = leg
		
		suspensionDistance = 0.8
		suspensionOffset = -0.8
		
		targetPosition = 1.0			
		springRatio = 40
		damperRatio = 2.2
		boostRatio = 0.75
		maximumLoad = 3.0
		extendDurationFactor = 1.0
		retractDuractionFactor = 1.0
		useDistributedMass = true
	}
	MODULE
	{
		name = ModuleWheelDeployment
		baseModuleIndex = 0
		
		animationTrfName = miniLeg
		animationStateName = probeleg
		deployedPosition = 1
		deployTargetTransformName = deployTgt
		retractTransformName = leg
		
		TsubSys = 0.8

		fxDeploy = deploy
		fxRetract = retract
		fxDeployed = deployed
		fxRetracted = retracted
	}
	MODULE
	{
		name = ModuleWheelLock
		maxTorque = 50
	}
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		stressTolerance = 99999999
		impactTolerance = 40
		deflectionMagnitude = 1
		deflectionSharpness = 2.0
		slipMagnitude = 0
		slipSharpness = 2.0
		explodeMultiplier = 1.0
	}
	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 80
	}
}