Parts/Wheel/LandingGear/GearExtraLarge.cfg

From Kerbal Space Program Wiki
< Parts
Revision as of 15:14, 13 October 2024 by ArnePeirs (talk | contribs) (Update config)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This is the configuration file for LY-99 Extra Large Landing Gear.
PART
{
	name = GearLarge
	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 = 8000
	cost = 1700
	category = Ground
	subcategory = 0
	title = #autoLOC_500969 //#autoLOC_500969 = LY-99 Extra Large Landing Gear
	manufacturer = #autoLOC_501653 //#autoLOC_501653 = LightYear Tire Company
	description = #autoLOC_500970 //#autoLOC_500970 = Heavy-duty retractable landing gear. With it's six 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.6
	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
	bulkheadProfiles = srf
	tags = #autoLOC_500971 //#autoLOC_500971 = 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.7
				pitch = 0.75
			}
			AUDIO_LOOP
			{
				channel = Ship
				clip = Squad/Sounds/elev_loop
				volume = 0 0
				volume = 1 0.7
				pitch = 0.55
			}
		}
		deployed
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_stop
				volume = 0 0
				volume = 1 0.7
				pitch = 0.50
			}
		}
		retract
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_stop
				volume = 0 0
				volume = 1 0.7
				pitch = 0.60
			}
			AUDIO_LOOP
			{
				channel = Ship
				clip = Squad/Sounds/elev_loop
				volume = 0 0
				volume = 1 0.7
				pitch = 0.50
			}
		}
		retracted
		{
			AUDIO
			{
				channel = Ship
				clip = Squad/Sounds/elev_start
				volume = 0 0
				volume = 1 0.7
				pitch = 0.75
			}
		}
	}
	MODEL
	{
		model = Squad/Parts/Wheel/LandingGear/GearExtraLarge
	}
	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.375
		center = 0,0,0
		mass = 0.160
		groundHeightOffset = 3.25
				
		TooltipTitle = #autoLOC_502079 //#autoLOC_502079 = Retractable Landing Gear
		TooltipPrimaryField = #autoLOC_6004046 //#autoLOC_6004046 = Retractable
	}
	MODULE
	{
		name = ModuleWheelSuspension
		baseModuleIndex = 0
		suspensionTransformName = SuspensionPivot
		suspensionColliderName = DamperCollider
		maximumLoad = 90.0
		suspensionDistance = 0.5
		targetPosition = 0.8		
		springRatio = 45
		damperRatio = 7.0
		useDistributedMass = true
	}	
	MODULE
	{
		name = ModuleWheelBrakes
		baseModuleIndex = 0
		
		maxBrakeTorque = 32
		brakeResponse = 1
		
		statusLightModuleIndex = 6
	}
	MODULE
	{
		name = ModuleWheelDeployment
		baseModuleIndex = 0
		
		animationTrfName = extraLarge
		animationStateName = LandingGearExtraLargeDeploy2
		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 = LandingGearExtraLargeSpotlight
		useResources = True
	}
	MODULE
	{
		name = ModuleWheelDamage
		baseModuleIndex = 0
		
		stressTolerance = 55000
		impactTolerance = 13000
		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
	}
}