MorphTankClass

Classlabel: "morphtank"

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

Supported Animations:
  • Foward2
  • Neutral2
  • Reverse2

Description:
MorphTank Class is a type of HoverCraft that can Deploy. It reads alternate values for several [GameObjectClass] and [CraftClass] values under [MorphTankClass] which are only used while Deployed. The 2nd set of movement Animations are used while Deployed.

When Deployed, it attempts to use a unitStatus image with the number 2 appended to the end. So for instance, wire_fvtank is used when Undeployed, and wire_fvtank2 is used when Deployed.

Default ODF Properties:
categoryTypeOverride = 22 //TEAM_SLOT_OFFENSE

[DeployableClass]
timeDeploy = 3.0f
timeUndeploy = 3.0f

Note: MorphTankClass properties are NOT supported by ODF Inheritance.

ODF Properties:
  • [MorphTankClass]

    The following values are inherited from their [GameObjectClass] versions if not specified:
    maxHealth
    addHealth
    maxAmmo
    addAmmo
    unitName
    weaponMask

    The following values are inherited from their [CraftClass] versions if not specified:
    rangeScan
    periodScan
    steerFactor
    omegaFactor

    The following values are inherited from their [HoverCraftClass] versions if not specified:
    setAltitude
    accelDragStop
    alphaDamp
    alphaTrack
    pitchPitch
    pitchThrust
    rollStrafe
    rollSteer
    velocForward
    velocReverse
    velocStrafe
    accelThrust
    accelBrake
    omegaSpin
    omegaTurn
    alphaSteer
    accelJump
    soundThrust
    soundFly

    unitStatus = ""
    If specified, this is the unitStatus image while Deployed. Overrides default if specified.

    switchMask = "11111"
    This is similar to weaponMask, but identifies which weapon hard points switch to Assault mode when Deployed.

    MorphedEffectsMask
    EffectMask used while Deployed.
    Note: Mission Scripts can override this setting.

    HiddenWhenMorphed = false
    If true, object is Cloaked while Deployed. (Red Field + Phantom VIR + Ignored by AI)

    CanObjectifyWhenHidden = true
    If false, Scouts and MotionSensor can't Objectify it while Deployed.

    UseChromeMesh = true

    Following only used if UseChromeMesh is true:

    MorphAmbientR = 1.0f
    Ambient Red Color for Chrome effect while Morphing.

    MorphAmbientG = 1.0
    Ambient Green Color for Chrome effect while Morphing.

    MorphAmbientB = 1.0
    Ambient Blue Color for Chrome effect while Morphing.

    MorphDiffuseR = 1.0
    Diffuse Red Color for Chrome effect while Morphing.

    MorphDiffuseG = 1.0
    Diffuse Green Color for Chrome effect while Morphing.

    MorphDiffuseB = 1.0
    Diffuse Blue Color for Chrome effect while Morphing.

    MorphEmissiveR = 0.0
    Emissive Red Color for Chrome effect while Morphing.

    MorphEmissiveG = 0.0
    Emissive Green Color for Chrome effect while Morphing.

    MorphEmissiveB = 0.0
    Emissive Blue Color for Chrome effect while Morphing.

    MorphSpecularR = 0.0
    Specular Red Color for Chrome effect while Morphing.

    MorphSpecularG = 0.0
    Specular Green Color for Chrome effect while Morphing.

    MorphSpecularB = 0.0
    Specular Blue Color for Chrome effect while Morphing.

    MorphSpecularA = 1.0
    Specular Alpha Color for Chrome effect while Morphing.

    MorphSpecularP = 0.0
    Specular Power for Chrome effect while Morphing.

    MorphTexture = ""
    Texture filename applied to Chrome effect. If not specified, uses the world's Environment texture.
On this page