TrackedVehicleClass

Classlabel: "tracked"

Class Tree: Entity->GameObject->Craft->TrackedVehicle

Tracked Vehicles are Craft that require model pieces named Tractor_l / Tractor_r and attached Tread_l / Tread_r respectively.

Default ODF Properties:
[GameObjectClass]
categoryTypeOverride = 24 //TEAM_SLOT_UTILITY
canSnipe = false
isAssault = true

ODF Properties:
  • [TrackedVehicleClass]

    omegaSpin = 5.0f
    Turn rate while stationary.

    omegaTurn = 2.0f
    Turn rate while moving.

    alphaSteer = 5.0f
    Steering Acceleration.

    velocForward = 10.0f
    Maximum forward velocity from Thrusting.

    velocReverse = 5.0f
    Maximum reverse velocity from Thrusting.

    accelThrust = 5.0f
    Acceleration rate when Thrusting.

    treadSound = "engthrst.wav"
    Sound file played when the Thrusting. Ramps up with Throttle.

    engineSound = "engthrst.wav"
    Sound file played when not Thrusting.

    pitchThrust = 0.0f
    Pitch from Thrusting.

    rollSteer = 0.0f
    Roll from Steering.

    alphaTrack = 0.0f
    Terrain tracking acceleration.

    NormalTrackFactor = 0.0f
    Terrain Normal Traction modifier for alphaTrack.

    alphaDampX = 0.0f
    Acceleration Damping on the X Axis.

    alphaDampZ = 0.0f
    Acceleration Damping on the Z Axis.

    LiftSpring = 5.0f
    Lift Spring while Airborne.

    TreadForceFeedback = 1.0f
    Multiplier on how much of the Acceleration effects the rotation of the Body.

    LevelForce = 10.0f
    Leveling force applied to Acceleration.

    ThrustTrack = 0.0f
    Modifier for how much Thrusting affects PitchThrust/RollSteer.

    CENTER_SHIFT = -0.4f
    Vertical position Modifier for Center of Gravity of the craft. Valid values: -1.0 for bottom, 0.0 for center, +1.0 for top

    SUSPENSION_MIN = -0.2f
    Minimum Suspension Spring.

    SUSPENSION_MAX = 0.3f
    Maximum Suspension Spring.

    SPRING_FACTOR = 2.0f
    Suspension Spring stiffness factor.

    DAMPING_FACTOR = 2.0f
    Suspension Dampening stiffness factor.

    TREAD_STATIC_FRICTION = 1.0f
    Track Friction multiplier on Spring force.

    UseGlobalFriction = false
    If this is true, it uses an alternate friction code path, and the following parameters are used.

    GlobalFrictionMaxThrottle = 0.04f
    Maximum Throttle for the code to take effect.

    GlobalFrictionMaxHeight = 2.0f
    Maximum height for the code to take effect.

    GlobalFrictionStaticCoeff = 0.4f
    Static Friction Coefficient.

    GlobalFrictionDynamicCoeff = 0.24f
    Dynamic Friction Coefficient.

    CanWaterDamage = true
    If false, won't take Damage from being submerged in Water.

    WaterDamageMinDepth = 1.0f
    If CanWaterDamage is true, the minimum Depth below Water this object must be to take Damage.

    WaterDamageMultiplier = 100.0f
    If CanWaterDamage is true, and this is the Damage multiplier by current Depth to apply Damage per second.

    LimitVelocity = -1
    If this is > 0.0001, then horizontal velocity is clamped to this.

    LimitVelocityDamage = 0
    If limitVelocity is > 0, this is the damage done to the unit per second when it's Velocity exceeds the value of limitVelocity.

    Use13Treads = true
    If false, uses the old 1.2 Tread code path, which only uses omegaSpin, not both omegaSpin+omegaTurn. Also the model piece for the Treads needs __h appended to it in the non 13 code path.

    AI Only Physics Parameters:
    AIomegaSpin = omegaSpin
    AIomegaTurn = omegaTurn
    AIalphaSteer = alphaSteer
    AIvelocForward = velocForward
    AIvelocReverse = velocReverse
    AIaccelThrust = accelThrust
    Note: These parameters default to the normal versions, and do NOT support ODF Inheritance.
On this page