Parts/Wheel/LandingGear/GearSmall.cfg
< Parts
PART
{
name = SmallGearBay
module = Part
author = Porkjet
scale = 1.0
rescaleFactor = 1.0
node_attach = 0.00, 0.00, 0.00, 0.0, 1.0, 0.0, 1
TechRequired = landing
entryCost = 3800
cost = 600
category = Ground
subcategory = 0
title = #autoLOC_500984 //#autoLOC_500984 = LY-10 Small Landing Gear
manufacturer = #autoLOC_501653 //#autoLOC_501653 = LightYear Tire Company
description = #autoLOC_500985 //#autoLOC_500985 = High performance retractable landing gear. Comes with shock absorber, steering and a built-in spotlights. If we didn't tell you, you'd never know that most of those components were salvaged from scrapped machinery... oh.
attachRules = 1,1,1,1,1,0,0,0
//mass = 0.01
mass = 0.045
thermalMassModifier = 4.0
// heatConductivity = 0.06
emissiveConstant = 0.95
dragModelType = default
maximum_drag = 0.3
minimum_drag = 0.2
angularDrag = 1
maxTemp = 2600
crashTolerance = 50
breakingForce = 50
breakingTorque = 50
// PhysicsSignificance = 1 // I think this should have mass
bulkheadProfiles = srf
tags = #autoLOC_500986 //#autoLOC_500986 = 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.5
pitch = 0.95
}
AUDIO_LOOP
{
channel = Ship
clip = Squad/Sounds/elev_loop
volume = 0 0
volume = 1 0.5
pitch = 0.75
}
}
deployed
{
AUDIO
{
channel = Ship
clip = Squad/Sounds/elev_stop
volume = 0 0
volume = 1 0.5
pitch = 0.75
}
}
retract
{
AUDIO
{
channel = Ship
clip = Squad/Sounds/elev_stop
volume = 0 0
volume = 1 0.5
pitch = 1.0
}
AUDIO_LOOP
{
channel = Ship
clip = Squad/Sounds/elev_loop
volume = 0 0
volume = 1 0.5
pitch = 0.75
}
}
retracted
{
AUDIO
{
channel = Ship
clip = Squad/Sounds/elev_start
volume = 0 0
volume = 1 0.5
pitch = 0.95
}
}
}
MODEL
{
model = Squad/Parts/Wheel/LandingGear/GearSmall
}
MODULE
{
name = ModuleWheelBase
wheelColliderTransformName = WheelCollider
wheelTransformName = WheelPivot
useNewFrictionModel = true
wheelType = FREE
// setting this to true will override the radius and center parameters
FitWheelColliderToMesh = False
radius = 0.18
center = 0,0,0
mass = 0.040
groundHeightOffset = 1.15
TooltipTitle = #autoLOC_502079 //#autoLOC_502079 = Retractable Landing Gear
TooltipPrimaryField = #autoLOC_6004046 //#autoLOC_6004046 = Retractable
}
MODULE
{
name = ModuleWheelSuspension
baseModuleIndex = 0
suspensionTransformName = SuspensionPivot
maximumLoad = 10.0
suspensionDistance = 0.12
suspensionOffset = 0.0
targetPosition = 0.0
springRatio = 60
damperRatio = 2.0
useDistributedMass = true
}
MODULE
{
name = ModuleWheelSteering
baseModuleIndex = 0
caliperTransformName = SteeringPivot
steeringResponse = 2
steeringCurve
{
key = 0 30
key = 25 20
key = 100 15
}
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.003959382 -0.003959382
key = 30 0.1 -0.001822412 -0.001822412
key = 100 0.01 -0.0007683467 -0.0007683467
}
}
MODULE
{
name = ModuleWheelBrakes
baseModuleIndex = 0
maxBrakeTorque = 4
brakeResponse = 1
statusLightModuleIndex = 4
}
MODULE
{
name = ModuleStatusLight
lightMeshRendererName = BrakeIndicator
lightMatPropertyName = _EmissiveColor
colorOn = #ff4433
colorOff = #000000
}
MODULE
{
name = ModuleWheelDeployment
baseModuleIndex = 0
animationTrfName = Small
animationStateName = LandingGearSmallDeploy
deployedPosition = 1
deployTargetTransformName = deployTgt
TsubSys = 1.0
useStandInCollider = True
slaveModules = 8
fxDeploy = deploy
fxRetract = retract
fxDeployed = deployed
fxRetracted = retracted
}
MODULE
{
name = FXModuleConstrainPosition // match rotation of the upper scissor link to the steered section
matchRotation = true
matchPosition = false
CONSTRAINFX
{
targetName = SteeringPivot
moversName = SteeringActuator
}
}
MODULE
{
name = FXModuleLookAtConstraint // scissor links
CONSTRAINLOOKFX
{
targetName = anchor2
rotatorsName = link1
}
CONSTRAINLOOKFX
{
targetName = anchor1
rotatorsName = link2
}
}
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.01
animationName = LandingGearSmallSpotlight
useResources = True
}
MODULE
{
name = ModuleWheelDamage
baseModuleIndex = 0
stressTolerance = 5600
impactTolerance = 2000
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
packedVolume = 140
}
}