LocomotorTemplate
From TM-Modding-Wiki
ArmorTemplates define how an object moves. An object may use several Locomotors depending on situation.
LocomotorTemplate
<LocomotorTemplateid=""Required Sets the LocomotorTemplate´s name for reference in other Assets; must be unique in the mod; StringName=""OptionalSurfaces="1.0"OptionalMakeTransformNonDirty="false"OptionalMaxSpeedDamaged="100%"Optional Sets the fraction of regular maximum speed at which the object may move when heavily damaged; PercentageMinSpeed="0%"Optional Sets the fraction of regular maximum speed at which the object must at least travel with when moving; PercentageTurnTimeSeconds="1s"Optional Sets the time it takes the object to turn to the opposite moving direction; TimeTurnTimeDamagedSeconds="0s"Optional Sets the time it takes the object to turn to the opposite moving direction when heavily damaged; TimeSlowTurnRadius="0.0"Optional Sets the radius of the turning circle for slow movement; Real, world unitsFastTurnRadius="0.0"Optional Sets the radius of the turning circle for fast movement; Real, world unitsMinRandomTurnRadiusScale="1.0"Optional Sets the minimum fraction of TurnRadius allowed for calculating random TurnRadii; RealMaxRandomTurnRadiusScale="1.0"Optional Sets the maximum fraction of TurnRadius allowed for calculating random TurnRadii; Real
TurnThreshold="15d"Optional AngleTurnThresholdHS="180d"Optional AngleAccelerationSeconds="1.0s"Optional Sets the time it takes the object to accelerate uniformly to its maximum speed; TimeLift="0.0"Optional Sets the speed with which the object may change its height; PercentageLiftDamaged="-1.0"Optional Sets the speed with which the object may change its height when damaged; PercentageBrakingSeconds="1.0s"Optional Sets the time it takes the object to decelerate uniformly from its top speed to halt; TimeMinTurnSpeed="1.0"Optional Sets the fraction of regular maximum speed at which the object must at least move when heavily turning; PercentagePreferredHeight="0.0"Optional Sets the height at which the object will attempt to travel; Real, world unitsPreferredAttackHeight="0.0"Optional Sets the height the object will attempt to attack from; Real, world unitsPreferredHeightDamping="1.0"Optional RealCirclingRadius="0.0"Optional Sets the radius of the turning circle when the object idles; Real, world unitsCirclingSpeed="100%"Optional Sets the fraction of regular maximum speed at which the object will circle while idle; PercentageBehaviorZ="NO_MOTIVE_FORCE"Optional Specifies how PreferredHeight and PreferredAttackHeight are calculated; BehaviorZAppearance="FOUR_WHEELS"Optional Specifies what movement template is used, sets minor variables; AppearanceFormationPriority="MELEE_1"Optional Specifies the positioning of the object in a formation; unverified, possibly not working
AccDecTrigger="0.5"OptionalWalkDistance="0.0"OptionalMaxTurnWithoutReform="360d"OptionalAccelPitchLimit="0d"Optional Sets the angle that limits how far the object may lift or roll from acceleration.; AngleBounceKick="0d"Optional Sets the angle to which the object will pitch to when bouncing; AnglePitchStiffness="0.1"Optional Sets how resistant the object is to rotation on the transverse axis; RealRollStiffness="0.1"Optional Sets how resistant the suspension is to rotation on the longitudinal axis; RealPitchDamping="0.9"Optional Sets how fast the object stops oscillating on the transverse axis; 1.0=instantly 0.0=never; RealRollDamping="0.9"Optional Sets how fast the object stops oscillating on the longitudinal axis; 1.0=instantly 0.0=never; RealPitchByZVelCoef="0"Optional Sets how strong the object will pitch when changing height; Real, unverified, possibly not working
MaxOverlappedHeight="99e99"OptionalForwardVelocityPitchFactor="0.0"Optional Sets how strong the object will pitch depending on speed; RealLateralVelocityRollFactor="0.0"Optional Sets how strong the object will roll depending on angular velocity; RealForwardAccelerationPitchFactor="0.0"Optional Sets how strong the object will pitch depending on acceleration; RealLateralAccelerationRollFactor="0.0"Optional Sets how strong the object will roll depending on angular acceleration; RealUniformAxialDamping="1.0"OptionalTurnPivotOffset="0.0"Optional Sets the position of the turn pivot as a fraction of the object´s radius; RealAirborneTargetingHeight="99999"Optional
CloseEnoughDist="1.0"OptionalIsCloseEnoughDist3D="false"OptionalLocomotorWorksWhenDead="false"Optional Specifies whether the locomotor will still affect the object movement when it´s been killed but still present; BoolAllowMotiveForceWhileAirborne="false"OptionalApply2DFrictionWhenAirborne="false"OptionalDownhillOnly="false"OptionalStickToGround="false"OptionalCanMoveBackward="false"OptionalUpdateWaterWadingConditions="false"Optional
HasSuspension="false"OptionalMaximumWheelExtension="0.0"OptionalMaximumWheelCompression="0.0"OptionalWheelTurnAngle="0.0d"OptionalIsCrewPowered="false"OptionalUseTerrainSmoothing="false"Optional
WanderWidthFactor="0.0"OptionalWanderLengthFactor="1.0"OptionalWanderAboutPointRadius="0.0"OptionalBurniningDeathRadius="0.0"OptionalBurniningDeathIsCavalry="false"Optional
ChargeMaxSpeed="0%"OptionalChargeAvailable="false"OptionalChargeIgnoresCondition="false"OptionalEnableHighSpeedTurnFlags="false"Optional
WaitForFormation="false"Optional
RudderCorrectionDegree="0.0"OptionalRudderCorrectionRate="0.0"OptionalElevatorCorrectionDegree="0.0"OptionalElevatorCorrectionRate="0.0"OptionalAeleronCorrectionDegree="0.0"OptionalAeleronCorrectionRate="0.0"OptionalSwoopStandoffRadius="200.0"OptionalSwoopStandoffHeight="200.0"OptionalSwoopTerminalVelocity="0.07"OptionalSwoopAccelerationRate="0.003"OptionalSwoopSpeedTuningFactor="1.0"Optional
BackingUpSpeed="75%"OptionalBackingUpStopWhenTurning="false"OptionalBackingUpDistanceMin="0.0"OptionalBackingUpDistanceMax="0.0"OptionalBackingUpAngle="0.5"Optional
RiverModifier="100%"Optional
ScalesWalls="false"OptionalTurnWhileMoving="true"OptionalClampOrientationToPathTangent="false"OptionalReorientIfTurnTooSharp="false"OptionalBrakeBeforeReorienting="false"OptionalTakeOffAndLandingSpeed="0.0"OptionalTakeOffAndLandingSlowDownDelta="25.0"OptionalTakeOffAndLandingSlowDownTime="2s"OptionalAttackPathTrailDistance="0"OptionalAttackPathTrailDistanceMinScale="1.0"OptionalAttackPathTrailDistanceMaxScale="1.0"OptionalAbsoluteMinHeightWorldSpace="-1000"Optional
/>
