LocomotorTemplate - TM-Modding-Wiki

LocomotorTemplate

From TM-Modding-Wiki

Jump to: navigation, search

ArmorTemplates define how an object moves. An object may use several Locomotors depending on situation.

LocomotorTemplate

<LocomotorTemplate
id="" Required Sets the LocomotorTemplate´s name for reference in other Assets; must be unique in the mod; String
Name="" Optional
Surfaces="1.0" Optional
MakeTransformNonDirty="false" Optional
MaxSpeedDamaged="100%" Optional Sets the fraction of regular maximum speed at which the object may move when heavily damaged; Percentage
MinSpeed="0%" Optional Sets the fraction of regular maximum speed at which the object must at least travel with when moving; Percentage
TurnTimeSeconds="1s" Optional Sets the time it takes the object to turn to the opposite moving direction; Time
TurnTimeDamagedSeconds="0s" Optional Sets the time it takes the object to turn to the opposite moving direction when heavily damaged; Time
SlowTurnRadius="0.0" Optional Sets the radius of the turning circle for slow movement; Real, world units
FastTurnRadius="0.0" Optional Sets the radius of the turning circle for fast movement; Real, world units
MinRandomTurnRadiusScale="1.0" Optional Sets the minimum fraction of TurnRadius allowed for calculating random TurnRadii; Real
MaxRandomTurnRadiusScale="1.0" Optional Sets the maximum fraction of TurnRadius allowed for calculating random TurnRadii; Real
TurnThreshold="15d" Optional Angle
TurnThresholdHS="180d" Optional Angle
AccelerationSeconds="1.0s" Optional Sets the time it takes the object to accelerate uniformly to its maximum speed; Time
Lift="0.0" Optional Sets the speed with which the object may change its height; Percentage
LiftDamaged="-1.0" Optional Sets the speed with which the object may change its height when damaged; Percentage
BrakingSeconds="1.0s" Optional Sets the time it takes the object to decelerate uniformly from its top speed to halt; Time
MinTurnSpeed="1.0" Optional Sets the fraction of regular maximum speed at which the object must at least move when heavily turning; Percentage
PreferredHeight="0.0" Optional Sets the height at which the object will attempt to travel; Real, world units
PreferredAttackHeight="0.0" Optional Sets the height the object will attempt to attack from; Real, world units
PreferredHeightDamping="1.0" Optional Real
CirclingRadius="0.0" Optional Sets the radius of the turning circle when the object idles; Real, world units
CirclingSpeed="100%" Optional Sets the fraction of regular maximum speed at which the object will circle while idle; Percentage
BehaviorZ="NO_MOTIVE_FORCE" Optional Specifies how PreferredHeight and PreferredAttackHeight are calculated; BehaviorZ
Appearance="FOUR_WHEELS" Optional Specifies what movement template is used, sets minor variables; Appearance
FormationPriority="MELEE_1" Optional Specifies the positioning of the object in a formation; unverified, possibly not working
AccDecTrigger="0.5" Optional
WalkDistance="0.0" Optional
MaxTurnWithoutReform="360d" Optional
AccelPitchLimit="0d" Optional Sets the angle that limits how far the object may lift or roll from acceleration.; Angle
BounceKick="0d" Optional Sets the angle to which the object will pitch to when bouncing; Angle
PitchStiffness="0.1" Optional Sets how resistant the object is to rotation on the transverse axis; Real
RollStiffness="0.1" Optional Sets how resistant the suspension is to rotation on the longitudinal axis; Real
PitchDamping="0.9" Optional Sets how fast the object stops oscillating on the transverse axis; 1.0=instantly 0.0=never; Real
RollDamping="0.9" Optional Sets how fast the object stops oscillating on the longitudinal axis; 1.0=instantly 0.0=never; Real
PitchByZVelCoef="0" Optional Sets how strong the object will pitch when changing height; Real, unverified, possibly not working
YawStiffness="0.0" Optional Sets how resistant the object is to rotation on the yaw axis; Real, unverified, possibly not working
YawDamping="0.0" Optional Sets how fast the object stops oscillating on the yaw axis; 1.0=instantly 0.0=never; Real, unverified, possibly not working
MaxOverlappedHeight="99e99" Optional
ForwardVelocityPitchFactor="0.0" Optional Sets how strong the object will pitch depending on speed; Real
LateralVelocityRollFactor="0.0" Optional Sets how strong the object will roll depending on angular velocity; Real
ForwardAccelerationPitchFactor="0.0" Optional Sets how strong the object will pitch depending on acceleration; Real
LateralAccelerationRollFactor="0.0" Optional Sets how strong the object will roll depending on angular acceleration; Real
UniformAxialDamping="1.0" Optional
TurnPivotOffset="0.0" Optional Sets the position of the turn pivot as a fraction of the object´s radius; Real
AirborneTargetingHeight="99999" Optional
CloseEnoughDist="1.0" Optional
IsCloseEnoughDist3D="false" Optional
LocomotorWorksWhenDead="false" Optional Specifies whether the locomotor will still affect the object movement when it´s been killed but still present; Bool
AllowMotiveForceWhileAirborne="false" Optional
Apply2DFrictionWhenAirborne="false" Optional
DownhillOnly="false" Optional
StickToGround="false" Optional
CanMoveBackward="false" Optional
UpdateWaterWadingConditions="false" Optional
HasSuspension="false" Optional
MaximumWheelExtension="0.0" Optional
MaximumWheelCompression="0.0" Optional
WheelTurnAngle="0.0d" Optional
IsCrewPowered="false" Optional
UseTerrainSmoothing="false" Optional
WanderWidthFactor="0.0" Optional
WanderLengthFactor="1.0" Optional
WanderAboutPointRadius="0.0" Optional
BurniningDeathRadius="0.0" Optional
BurniningDeathIsCavalry="false" Optional
ChargeMaxSpeed="0%" Optional
ChargeAvailable="false" Optional
ChargeIgnoresCondition="false" Optional
EnableHighSpeedTurnFlags="false" Optional
WaitForFormation="false" Optional
RudderCorrectionDegree="0.0" Optional
RudderCorrectionRate="0.0" Optional
ElevatorCorrectionDegree="0.0" Optional
ElevatorCorrectionRate="0.0" Optional
AeleronCorrectionDegree="0.0" Optional
AeleronCorrectionRate="0.0" Optional
SwoopStandoffRadius="200.0" Optional
SwoopStandoffHeight="200.0" Optional
SwoopTerminalVelocity="0.07" Optional
SwoopAccelerationRate="0.003" Optional
SwoopSpeedTuningFactor="1.0" Optional
BackingUpSpeed="75%" Optional
BackingUpStopWhenTurning="false" Optional
BackingUpDistanceMin="0.0" Optional
BackingUpDistanceMax="0.0" Optional
BackingUpAngle="0.5" Optional
RiverModifier="100%" Optional
ScalesWalls="false" Optional
TurnWhileMoving="true" Optional
ClampOrientationToPathTangent="false" Optional
ReorientIfTurnTooSharp="false" Optional
BrakeBeforeReorienting="false" Optional
TakeOffAndLandingSpeed="0.0" Optional
TakeOffAndLandingSlowDownDelta="25.0" Optional
TakeOffAndLandingSlowDownTime="2s" Optional
AttackPathTrailDistance="0" Optional
AttackPathTrailDistanceMinScale="1.0" Optional
AttackPathTrailDistanceMaxScale="1.0" Optional
AbsoluteMinHeightWorldSpace="-1000" Optional
/>
Personal tools
languages