HoverCraftClass

Classlabel: "hover"

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

Supported Animations:
  • Forward
  • Neutral
  • Reverse

Description:
Hovercraft is a type of Craft that hovers. It usually has standard physics but a few special cases override these physics. Most ships in the game are derived from HoverCraft.

Default ODF Properties:
[CraftClass]
SitAttackAllowCounterattack = true

ODF Properties:
  • [HoverCraftClass]

    setAltitude = 1.0f
    Height above Ground that it tries to maintain. Default is 3.0 for Class: ConstructionRig.

    accelDragStop = 4.0f
    Maximum Drag from friction. (m/s^2)

    alphaDamp = 3.0f
    Pitch/Roll Damping.

    alphaTrack = 10.0f
    Terrain tracking torque

    pitchPitch = 0.3f
    Pitch angle from Pitch Control. How far the object tilts from Piching up/down. Default is 0.0 for Class: AssaultHover.

    pitchThrust = 0.1f
    Pitch angle while Thrusting. Same as pitchPitch but applies while moving.

    rollStrafe = 0.1f
    Roll angle while Strafing.

    rollSteer = 0.1f
    Roll angle while Steering.

    aiAccelDrag = 0.0f
    Similar to AccelDragStop but only applied to AI craft.

    velocForward = 20.0f
    Maximum forward velocity from Thrusting.

    velocReverse = 10.0f
    Maximum reverse velocity from Thrusting.

    velocStrafe = 15.0f
    Maximum strafe velocity from Thrusting.

    accelThrust = 25.0f
    Acceleration rate when Thrusting.

    accelBrake = 75.0f
    Acceleration rate when Braking.

    omegaSpin = 4.0f
    Turn rate while stationary.

    omegaTurn = 1.5f
    Turn rate while Thrusting.

    alphaSteer = 5.0f
    Maximum steering Acceleration rate.

    accelJump = 0.1f
    Maximum Jumping life velocity.

    accelDragEmpty = 30.0f
    Acceleration Drag when not Piloted.

    alphaDampEmpty = 5.0f
    Pitch/Roll Damping when not Piloted.

    alphaTrackEmpty = 15.0f
    Terrain tracking torque when not Piloted.

    soundThrust = "engthrst.wav"
    Sound file played when engine thrust is applied. Plays when thrust is applied. Rate increases with Thrust.

    soundFly = "amb_wind.wav"
    Sound file that plays while this craft is Airborne. Volume changes with height when near the ground.

    soundJump = ""
    If specified, this is the sound file that plays while the Jump control is pressed.

    ScaleDampWithThrust = true
    If this is false, alpha dampening will be constant, and won't reduce with Thrust when Airborne.

    MoreLike12Physics = false
    If this is true, it uses a physics set that is closer to Original version 1.2 code style.

    FlyingPhysics = false
    If this is true, it uses Flying physics similar to APC/Bomber/Artillary/SAV.

    THRUST_PITCH_BASE = 11025.0f
    Base Rate applied to soundThrust.

    THRUST_PITCH_RANGE = 5000.0f
    Maximum range THRUST_PITCH_BASE can change.

    THRUST_VOLUME_BASE_USER = 0.4f
    Base Volume for soundThrust for Player piloted Craft.

    THRUST_VOLUME_RANGE_USER = 0.4f
    Maximum range THRUST_VOLUME_RANGE_USER can change.

    THRUST_VOLUME_BASE_AI = 0.4f
    Base Volume for soundThrust for AI piloted Craft.

    THRUST_VOLUME_RANGE_AI = 0.4f
    Maximum range THRUST_VOLUME_BASE_AI can change.

    LIFT_SPRING = 25.0f
    Lift Spring.

    LIFT_DAMP = 6.25f
    Life Dampening.

    LIFT_SPRING_EMPTY = 3.0f
    Lift Spring when not Piloted.

    LIFT_DAMP_EMPTY = 2.0f
    Life Dampening when not Piloted.

    Physics for over Land, Water, and Airborne:

    OverLandVelocFrontMult = 1.0f
    Forward Velocity multiplier while on Land.

    OverLandVelocSideMult = 1.0f
    Strafe Velocity multiplier while on Land.

    OverLandThrottleMult = 1.0f
    Thrust multiplier while on Land.

    OverWaterVelocFrontMult = 0.75f;
    Forward Velocity multiplier while on Water.

    OverWaterVelocSideMult = 0.75f;
    Strafe Velocity multiplier while on Water.

    OverWaterThrottleMult = 0.8f;
    Thrust multiplier while on Water.

    AirborneVelocFrontMult = 1.0f;
    Forward Velocity multiplier while Airborne.

    AirborneVelocSideMult = 1.0f;
    Strafe Velocity multiplier while Airborne.

    AirborneThrottleMult = 1.0f;
    Thrust multiplier while on Airborne.

    AirborneMinHeightRatio = 2.0f;
    Modifier used with setAltitude for when to use OverLand or OverWater speed and throttle multipliers.

    AirborneMaxHeightRatio = 5.0f;
    Modifier used with setAltitude for when to use Airborne speed and throttle multipliers.

    DeployedOverLandVelocFrontMult = 1.0f;
    Forward Velocity multiplier while on Land when Deployed.

    DeployedOverLandVelocSideMult = 1.0f;
    Strafe Velocity multiplier while on Land when Deployed.

    DeployedOverLandThrottleMult = 1.0f;
    Thrust multiplier while on Land when Deployed.

    DeployedOverWaterVelocFrontMult = 0.75f;
    Forward Velocity multiplier while on Water when Deployed.

    DeployedOverWaterVelocSideMult = 0.75f;
    Strafe Velocity multiplier while on Water when Deployed.

    DeployedOverWaterThrottleMult = 0.8f;
    Thrust multiplier while on Water when Deployed.

    DeployedAirborneVelocFrontMult = 1.0f;
    Forward Velocity multiplier while Airborne when Deployed.

    DeployedAirborneVelocSideMult = 1.0f;
    Strafe Velocity multiplier while Airborne when Deployed.

    DeployedAirborneThrottleMult = 1.0f;
    Thrust multiplier while Airborne when Deployed.

    DeployedAirborneMinHeightRatio = 2.0f;
    Modifier used with setAltitude for when to use OverLand or OverWater speed and throttle multipliers when Deployed.

    DeployedAirborneMaxHeightRatio = 5.0f;
    Modifier used with setAltitude for when to use Airborne speed and throttle multipliers when Deployed.

    UseWaterHeight = true
    If setAltitude uses height over Water, or only height over Terrain.

    DeployedUseWaterHeight = true
    Same as useWaterHeight but only applies during Deployed state.

    terrainLookaheadTime = 0.5f
    Time in seconds to look ahead for Terrain to adjust Altitude accordingly.

    heightLookaheadTime = 0.05f
    How much to adjust the Terrain height value by velocity to reduce ground impacts.

    flattenTrackNormal = 1.0f
    The amount to add to the Y component of the Terrain Normal to flatten it out (higher is flatter).

    minThrustRatio = 0.5f
    Minimum Thrust scale unit gets while fully airborne for "air control"

    minThrustReduce = 0.0f
    Minimum Thrust scale the unit gets when anti-flying thrust reduction is in effect.

    offsetDownwardThrust = 1.0f
    The fraction of Thrust into the ground to offset.
On this page