ConstructionRigClass

Classlabel: constructionrig

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

Supported Animations:
  • Idle
  • Idle2
  • Idle3
  • Walk
  • Run
  • Turn
  • Sitdown
  • Death
  • Death2
  • Death3
  • Cons
  • Cons2
  • Cons3

Description:
Construction Rigs are a unique type of Hovercraft, which are actually Walkers. They use [HoverCraftClass] settings, but have their own unique physics/animation support. There is also an ODF property to set the unit as a Hover rig, as opposed to the walker type.

Default ODF Properties:
[GameObjectClass]
categoryTypeOverride = 26 //TEAM_SLOT_CONSTRUCT
needPilot = false

[CraftClass]
canRescue = false

[HoverCraftClass]
setAltitude = 3.0f

Recommended AI Process:
aiName = "RigFriend"
aiName2 = "RigEnemy"

ODF Properties:
  • [ConstructionRigClass]

    stepSound = ""
    Sound of stepping on Terrain.

    splashSound = ""
    Sound of stepping on Water.

    soundBuild = ""
    Sound file played while building.

    soundFinish = ""
    Sound file played when building finishes.

    ChromeEffect = false
    If true, builds using Chrome method. Default is true for Race f.

    ChromeTexture = ""
    Environment texture applied to Chrome effect. Default is the world's environment texture.

    BuildSparkConfig = "sparker"
    Render name for the Build effect. Only used if ChromeEffect is false.

    LineStartColor = "0 127 255 255"
    Starting color for Build effect's Extrude lines.

    LineFinishColor = "0 0 255 0"
    Finish color for Build effect's Extrude lines.

    BeamColor = "0 127 255 31"
    Color for Build effect's beams that go from hp_special on constructor object to Extrude lines)

    lineSolidColor = "0 63 255 127"
    LOD line Color for Build effect.

    SolidColorDistance = 150.0f
    LOD distance for Build effect's Extrude to switch to lineSolidColor.

    MaxLineDistance = 250.0f
    Max distance for Build effect's Extrude efffect.

    HoverRig = false
    If true, does the normal HoverCraft stuff. (including Animations of Deployable / HoverCraft)

    buildItem1 ... buildItem10 = ""
    The ODF name to build. If no BuildGroup is specified, it uses these as the top level build items.

For each Build Group...

  • [BuildGroup] ... [BuildGroup]

    buildLabel = ""
    The name for this BuildGroup displayed in the Command Panel window.

    buildItem1 ... buildItem10 = ""
    The ODF name to build.
On this page