Difference between revisions of "Parts/Wheel/LandingGear/GearLarge.cfg"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*update to 1.0.4;)
m (Update config)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Part config|LY-99 Large Landing Gear|2=PART
+
{{Part config|LY-60 Large Landing Gear|2=PART
 
{
 
{
name = GearLarge
+
name = GearMedium
 
module = Part
 
module = Part
 
author = Porkjet
 
author = Porkjet
mesh = model.mu
 
 
scale = 1.0
 
scale = 1.0
 
rescaleFactor = 1.0
 
rescaleFactor = 1.0
Line 11: Line 10:
 
entryCost = 6400
 
entryCost = 6400
 
cost = 1200
 
cost = 1200
category = Utility
+
category = Ground
 
subcategory = 0
 
subcategory = 0
title = LY-99 Large Landing Gear
+
title = #autoLOC_500978 //#autoLOC_500978 = LY-60 Large Landing Gear
manufacturer = LightYear Tire Company // it can't all be [C7 Aerospace Division]
+
manufacturer = #autoLOC_501653 //#autoLOC_501653 = LightYear Tire Company
description = Heavy-duty retractable landing gear. With it's four large tires and sturdy assembly it's the gear of choice for heavy cargo planes and airliners.
+
description = #autoLOC_500979 //#autoLOC_500979 = Heavy-duty retractable landing gear. With it's four large tires and sturdy assembly it's the gear of choice for heavy cargo planes and airliners.
attachRules = 1,1,1,1,1
+
attachRules = 1,1,1,1,1,0,0,0
mass = 0.6
+
//mass = 0.01
 +
mass = 0.4
 
thermalMassModifier = 4.0  
 
thermalMassModifier = 4.0  
 
// heatConductivity = 0.06
 
// heatConductivity = 0.06
Line 31: Line 31:
 
// PhysicsSignificance = 1 // I think this should have mass
 
// PhysicsSignificance = 1 // I think this should have mass
 
bulkheadProfiles = srf
 
bulkheadProfiles = srf
DRAG_CUBE
+
tags = #autoLOC_500980 //#autoLOC_500980 = aero (air aircraft ground plane retract roll takeoff taxi wheel
 +
EFFECTS
 
{
 
{
cube = RETRACTED, 2.668421,0.7828922,0.7107495, 2.668421,0.78283,0.7107495, 2.770018,0.8184504,0.7037734, 2.770018,0.7823612,0.7437038, 0.9675053,0.5827737,1.15612, 0.9675053,0.2873546,2.339442, 3.039837E-06,0.08524656,0.1619515, 1.227095,1.072782,3.268359
+
deploy
cube = DEPLOYED, 4.769676,0.8709047,1.2333, 4.770842,0.870423,1.2333, 3.373985,0.7576349,3.416735, 3.373985,0.7137473,3.610135, 2.119894,0.6172727,3.291952, 2.119894,0.5126448,3.05974, 2.980232E-06,-1.40114,0.1545382, 1.815971,3.909752,3.283185
+
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_start
 +
volume = 0 0
 +
volume = 1 0.6
 +
pitch = 0.75
 +
}
 +
AUDIO_LOOP
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_loop
 +
volume = 0 0
 +
volume = 1 0.6
 +
pitch = 0.60
 +
}
 +
}
 +
deployed
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_stop
 +
volume = 0 0
 +
volume = 1 0.6
 +
pitch = 0.55
 +
}
 +
}
 +
retract
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_stop
 +
volume = 0 0
 +
volume = 1 0.6
 +
pitch = 0.75
 +
}
 +
AUDIO_LOOP
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_loop
 +
volume = 0 0
 +
volume = 1 0.6
 +
pitch = 0.55
 +
}
 +
}
 +
retracted
 +
{
 +
AUDIO
 +
{
 +
channel = Ship
 +
clip = Squad/Sounds/elev_start
 +
volume = 0 0
 +
volume = 1 0.6
 +
pitch = 0.75
 +
}
 +
}
 
}
 
}
 
MODEL
 
MODEL
 
{
 
{
 
model = Squad/Parts/Wheel/LandingGear/GearLarge
 
model = Squad/Parts/Wheel/LandingGear/GearLarge
scale = 1.25, 1.25, 1.25
+
//scale = 1.0, 1.0, 1.0
 
}
 
}
 
MODULE
 
MODULE
 
{
 
{
name = ModuleLandingGear
+
name = ModuleWheelBase
animationName = LandingGearLargeDeploy
+
BrakeTorque = 12
+
wheelColliderTransformName = WheelCollider
BrakeSpeed = 3
+
wheelTransformName = wheels1
startingState = DEPLOYED
+
useNewFrictionModel = true
wheelName = wheel
+
wheelType = FREE
suspensionParentName = WheelRetract
+
 
statusLightName = Spotlight
+
// setting this to true will override the radius and center parameters
reverseAnimation = true
+
FitWheelColliderToMesh = False
StartDeployed = true
+
radius = 0.3
 +
center = 0,0,0
 +
mass = 0.160
 +
groundHeightOffset = 2.38
 +
 +
TooltipTitle = #autoLOC_502079 //#autoLOC_502079 = Retractable Landing Gear
 +
TooltipPrimaryField = #autoLOC_6004046 //#autoLOC_6004046 = Retractable
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelSuspension
 +
baseModuleIndex = 0
 +
suspensionTransformName = SuspensionPivot
 +
maximumLoad = 60.0
 +
suspensionDistance = 0.5
 +
targetPosition = 1
 +
springRatio = 45
 +
damperRatio = 7.0
 +
useDistributedMass = true
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelBrakes
 +
baseModuleIndex = 0
 +
 +
maxBrakeTorque = 16
 +
brakeResponse = 1
 +
 +
statusLightModuleIndex = 6
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelDeployment
 +
baseModuleIndex = 0
 +
 +
animationTrfName = Large
 +
animationStateName = LandingGearLargeDeploy
 +
deployedPosition = 1
 +
deployTargetTransformName = deployTgt
 +
 +
TsubSys = 1.0
 +
useStandInCollider = True
 +
slaveModules = 8
 +
 +
fxDeploy = deploy
 +
fxRetract = retract
 +
fxDeployed = deployed
 +
fxRetracted = retracted
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelBogey
 +
baseModuleIndex = 0
 +
 +
wheelTransformRefName = wheels1
 +
wheelTransformBaseName = wheels2
 +
bogeyTransformName = WheelBogey
 +
bogeyRefTransformName = deployTgt
 +
deployModuleIndex = 3
 +
 +
maxPitch = 25
 +
minPitch = -25
 +
restPitch = -25
 +
pitchResponse = 100
 +
 +
bogeyAxis = 1, 0, 0
 
}
 
}
 
MODULE
 
MODULE
Line 67: Line 191:
 
rotatorsName = link2
 
rotatorsName = link2
 
}
 
}
 +
}
 +
MODULE
 +
{
 +
name = ModuleStatusLight
 +
//lightObjName = StatusLight
 +
lightMeshRendererName = BrakeIndicator
 +
lightMatPropertyName = _EmissiveColor
 +
colorOn = #ff4433
 +
colorOff = #000000
 +
}
 +
MODULE
 +
{
 +
name = ModuleTestSubject
 +
environments = 15
 +
useStaging = False
 +
useEvent = True
 +
}
 +
MODULE
 +
{
 +
name = ModuleLight
 +
lightName = Spotlight
 +
lightMeshRendererName = Lamp
 +
useAnimationDim = True
 +
lightBrightenSpeed = 2.5
 +
lightDimSpeed = 2.5
 +
resourceAmount = 0.03
 +
animationName = LandingGearLargeSpotlight
 +
useResources = True
 +
}
 +
MODULE
 +
{
 +
name = ModuleWheelDamage
 +
baseModuleIndex = 0
 +
 +
stressTolerance = 18000
 +
impactTolerance = 4800
 +
deflectionMagnitude = 10
 +
deflectionSharpness = 2.0
 +
slipMagnitude = 15
 +
slipSharpness = 2.0
 +
explodeMultiplier = 1.0
 +
}
 +
MODULE
 +
{
 +
name = ModuleDragModifier
 +
dragCubeName = Deployed
 +
dragModifier = 2
 +
}
 +
MODULE
 +
{
 +
name = ModuleDragModifier
 +
dragCubeName = Retracted
 +
dragModifier = 0.5
 +
}
 +
MODULE
 +
{
 +
name = ModuleCargoPart
 +
stackableQuantity = 1
 +
packedVolume = -1
 
}
 
}
 
}
 
}
 
 
}}
 
}}

Latest revision as of 15:13, 13 October 2024

This is the configuration file for LY-60 Large Landing Gear.
PART
{
	name = GearMedium
	module = Part
	author = Porkjet
	scale = 1.0
	rescaleFactor = 1.0
	node_attach = 0.00, 0.0, 0.0, 0.0, 1.0, 0.0, 1
	TechRequired = heavyLanding
	entryCost = 6400
	cost = 1200
	category = Ground
	subcategory = 0
	title = #autoLOC_500978 //#autoLOC_500978 = LY-60 Large Landing Gear
	manufacturer = #autoLOC_501653 //#autoLOC_501653 = LightYear Tire Company
	description = #autoLOC_500979 //#autoLOC_500979 = Heavy-duty retractable landing gear. With it's four large tires and sturdy assembly it's the gear of choice for heavy cargo planes and airliners.
	attachRules = 1,1,1,1,1,0,0,0	
	//mass = 0.01
	mass = 0.4
	thermalMassModifier = 4.0 
	// heatConductivity = 0.06
	emissiveConstant = 0.95
	dragModelType = default
	maximum_drag = 0.3
	minimum_drag = 0.2
	angularDrag = 1
	maxTemp = 2700
	crashTolerance = 70
	breakingForce = 50
	breakingTorque = 50
	// PhysicsSignificance = 1		// I think this should have mass
	bulkheadProfiles = srf
	tags = #autoLOC_500980 //#autoLOC_500980 = aero (air aircraft ground plane retract roll takeoff taxi wheel
	EFFECTS
	{
		deploy
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_start
				volume = 0 0
				volume = 1 0.6
				pitch = 0.75
			}
			AUDIO_LOOP
			{
				channel = Ship
				clip = Squad/Sounds/elev_loop
				volume = 0 0
				volume = 1 0.6
				pitch = 0.60
			}
		}
		deployed
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_stop
				volume = 0 0
				volume = 1 0.6
				pitch = 0.55
			}
		}
		retract
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_stop
				volume = 0 0
				volume = 1 0.6
				pitch = 0.75
			}
			AUDIO_LOOP
			{
				channel = Ship
				clip = Squad/Sounds/elev_loop
				volume = 0 0
				volume = 1 0.6
				pitch = 0.55
			}
		}
		retracted
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_start
				volume = 0 0
				volume = 1 0.6
				pitch = 0.75
			}
		}
	}
	MODEL
	{
		model = Squad/Parts/Wheel/LandingGear/GearLarge
		//scale = 1.0, 1.0, 1.0
	}
	MODULE
	{
		name = ModuleWheelBase
		
		wheelColliderTransformName = WheelCollider		
		wheelTransformName = wheels1
		useNewFrictionModel = true
		wheelType = FREE

		// setting this to true will override the radius and center parameters
		FitWheelColliderToMesh = False		
		radius = 0.3
		center = 0,0,0
		mass = 0.160
		groundHeightOffset = 2.38
						
		TooltipTitle = #autoLOC_502079 //#autoLOC_502079 = Retractable Landing Gear
		TooltipPrimaryField = #autoLOC_6004046 //#autoLOC_6004046 = Retractable
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = SuspensionPivot
		maximumLoad = 60.0
		suspensionDistance = 0.5
		targetPosition = 1		
		springRatio = 45
		damperRatio = 7.0
		useDistributedMass = true
	}	
	MODULE
	{
		name = ModuleWheelBrakes
		baseModuleIndex = 0
		
		maxBrakeTorque = 16
		brakeResponse = 1
		
		statusLightModuleIndex = 6
	}
	MODULE
	{
		name = ModuleWheelDeployment
		baseModuleIndex = 0
		
		animationTrfName = Large
		animationStateName = LandingGearLargeDeploy
		deployedPosition = 1
		deployTargetTransformName = deployTgt
		
		TsubSys = 1.0
		useStandInCollider = True
		slaveModules = 8
		
		fxDeploy = deploy
		fxRetract = retract
		fxDeployed = deployed
		fxRetracted = retracted
	}
	MODULE
	{
		name = ModuleWheelBogey
		baseModuleIndex = 0
		
		wheelTransformRefName = wheels1
		wheelTransformBaseName = wheels2
		bogeyTransformName = WheelBogey
		bogeyRefTransformName = deployTgt
		deployModuleIndex = 3
		
		maxPitch = 25
		minPitch = -25
		restPitch = -25
		pitchResponse = 100
		
		bogeyAxis = 1, 0, 0
	}
	MODULE
	{
		name = FXModuleLookAtConstraint
		CONSTRAINLOOKFX
		{
			targetName = anchor2
			rotatorsName = link1
		}
		CONSTRAINLOOKFX
		{
			targetName = anchor1
			rotatorsName = link2
		}
	}
	MODULE
	{
		name = ModuleStatusLight		
		//lightObjName = StatusLight
		lightMeshRendererName = BrakeIndicator
		lightMatPropertyName = _EmissiveColor
		colorOn = #ff4433
		colorOff = #000000
	}
	MODULE
	{
		name = ModuleTestSubject
		environments = 15
		useStaging = False
		useEvent = True
	}
	MODULE
	{
		name = ModuleLight
		lightName = Spotlight
		lightMeshRendererName = Lamp
		useAnimationDim = True
		lightBrightenSpeed = 2.5
		lightDimSpeed = 2.5
		resourceAmount = 0.03
		animationName = LandingGearLargeSpotlight
		useResources = True
	}
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		stressTolerance = 18000
		impactTolerance = 4800
		deflectionMagnitude = 10
		deflectionSharpness = 2.0
		slipMagnitude = 15
		slipSharpness = 2.0
		explodeMultiplier = 1.0
	}
	MODULE
	{
		name = ModuleDragModifier
		dragCubeName = Deployed
		dragModifier = 2
	}
	MODULE
	{
		name = ModuleDragModifier
		dragCubeName = Retracted
		dragModifier = 0.5
	}	
	MODULE
	{
		name = ModuleCargoPart	
		stackableQuantity = 1
		packedVolume = -1
	}
}