PoweredBuildingClass

Classlabel: "powered"

Class Tree: Entity->GameObject->Building->PoweredBuilding

Supported Animations:
  • Deploy

Description:
Powered buildings default to consuming 1 Power, and support a Deploy animation and Taps.

Default ODF Properties:
[GameObjectClass]
powerCost = 1
buildRequire = "B"
buildSupport = "B"

ODF Properties:
  • [PoweredBuildingClass]

    powerName = ""
    If specified, this is used as the powerName for all Taps not otherwise specified.

    powerTap1 ... powerTap8 = ""
    Model piece name for this Tap object.

    powerName1 ... powerName8 = powerName
    The ODF name for each Tap object. Must be a GameObject Class. Default is powerName if not specified.

    AutoBuildTap1 ... AutoBuildTap8 = true
    If this is false, it won't automatically spawn the Tap when this object is created.

    PoweredByTaps = true
    If this is false, Taps don't count towards this Object's Power Cost.

    DestroyTapsWithParent = true
    If this is false, Taps aren't destroyed when this object dies.

    detectRange = 200.0f
    Range at which it shows Enemies on Radar.

    CanBasepanelSelect = false

    PanelIcon = ""
    If specified, this is the icon that is displayed in the Base Panel, if this object occupies a Base 1 - 9 slot.

    SoundSelect = ""
    Sound file played when this object is Selected using the Base Panel.

    SoundDeselect = ""
    Sound file played when this object is Deselected.

    SoundSwitchOn = ""
    Sound file played when this object is switched to Powered On state.

    SoundSwitchOff = ""
    Sound file played when this object is switched to Powered Off state.

    SoundTerminalSwitchOn = ""
    Sound file played when this object's Terminal is activated.

    SoundTerminalSwitchOff = ""
    Sound file played when this object's Terminal is deactivated.

    CanAlliesUse = false
    If this is true, Allies can login to the Terminal.

    PauseAnimOnUnpowered = true
    If this is true, animations will Pause while this object is Powered Off.

    ShowIcon = true
    If this is false, it won't show an Icon.
On this page