APCClass

Classlabel: "apc"

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

Supported Animations:
  • Forward
  • Neutral
  • Reverse
  • Deploy

Description:
APC Class is a high Flying type of object. It uses [HoverCraftClass] parameters but has it's own unique flight physics. It starts out immobile in a Deployed state. It Undeploys to move. When it lands, it ejects Soldiers in a star pattern around it. When it Undeploys, it waits for the Soldiers to return to it before lifting off.

Default ODF Properties:
[GameObjectClass]
categoryTypeOverride = 22

[CraftClass]
canRescue = false

Recommended AI Process:
aiName = "APCProcess"

ODF Properties:
  • [APCClass]

    flightAltitude = 100.0f
    How high above ground it flies when Undeployed.

    timeDeploy = 5.0f
    How long in seconds it takes to Deploy.

    timeUndeploy = 5.0f
    How long in seconds it takes to Undeploy.

    maxUndeployTime = 20.0f
    How many seconds it will wait for Soldiers to return, before instantly returning them and lifting off.

    soundDeploy = "trdeploy.wav"
    Sound file to play when Deploying.

    soundUndeploy = "trundepl.wav"
    Sound file to play when Undeploying.

    soldierCount = 1
    How many soldiers to spit out when Deployed. Max is 16.

    soldierDelay = 1.0f
    How many seconds between each soldier ejecting out when Deploying.

    SoldierExtraLife = 120.0f
    How many seconds the APC's Soldiers can exist after the APC is destroyed.

    SoldierAltitude = 50.0f
    The Altitude while Deploying at which Soldiers start spitting out.

    InternalSoldiersAreAmmo = false
    If this is true, Ammo amount shows how many Soldiers are in the APC.

    soldierType = ""
    The ODF name of this APC's "soldier". Can be any GameObjectClass.

    OverWater = true
    If false, Altitude ignores water height.

    AltitudeLookahead = 1.0f
    # of seconds it will look ahead for adjusting Altitude.

    CanReloadAtRecycler = true
    If false, can't reload at a Recycler.

    reloadClass = ""
    If set, will reload here instead of Barracks.

    HovercraftPhysicsWhenUndeployed = false
    If this is true, it uses HoverCraft physics while it is Undeployed.
    Note: This does not include transition states of Deploying and Undeploying, only when fully Undeployed.

    UseRecallSoldiers = true
    If this is false, won't try to make soldiers return to a star pattern around the APC when idle.

    RecallSoldiersTimeout = 30.0f
    Time out of RecallSoldiers around APC.
On this page