BomberClass

Classlabel: "bomber"

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

Supported Animations:
  • Forward
  • Neutral
  • Reverse
  • Deploy

Description:
Bomber is a type of Hovercraft that is a Flier. It uses [HoverCraftClass] but has it's own unique physics.

Default ODF Properties:
[GameObjectClass]
categoryTypeOverride = 27 //TEAM_SLOT_BOMBER
isSingle = true
tuggable = 0

[CraftClass]
canRescue = false

Recommended AI Process:
aiName = "BomberProcess"
aiName2 = "BomberProcess"

ODF Properties:
  • [BomberClass]

    flightAltitude = 100.0f
    Altitude above ground that it flies.

    timeDeploy = 5.0f
    Time in seconds to Deploy.

    timeUndeploy = 5.0f
    Time in seconds to Undeploy.

    soundDeploy = "trdeploy.wav"
    Sound file played when it Deploys.

    soundUndeploy = "trundepl.wav"
    Sound file played when it Undeploys.

    reloadTime = 5.0f
    Time it takes to Reload at the Bomber Bay before it can be re-ordered to Attack.

    TargetEngageRange = 50.0f
    Used to tell how close to the target the Bomber has to be to drop the bomb.

    bombName = "apwrck"
    ODF name of the Bomb. Must be a GameObject Class.

    repairRate = 10.0f
    The amount of health repaired per second while landed on the Bomber Bay.

    OverWater = true
    Setting for if setAltitude is over Water height or Terrain height.

    AltitudeLookahead = 2.0f
    This is the number of seconds to lookAhead for adjusting Altitude.

    BayConfig = ""
    This is the ODF of the Bomber Bay to use.
    Note: If the BomberBay has a CategoryTypeOverride this must be used to make it match.

    AiCommandToBomb = 3
    This is the AI Command given to the Bomb dropped by this bomber. Default is 3 (CMD_GO)
    Note: Most Commands probably won't work as expected.

    AddPilotToBomb = false
    If this is true, gives the Bomb a Pilot.
On this page