MagnetMineClass

Classlabel: "magnet"

Class Tree: Entity->GameObject->Building->Mine->MagnetMine

Description:
Magnet Mine class is a Mine that has a Magnet Field.

Default ODF Properties:
[MineClass]
lifeSpan = 60.0f

ODF Properties:
  • [MagnetMineClass]

    fireSound = ""
    Sound file played when this mine fires it's ordnance.

    triggerDelay = 1.0f
    Time in seconds before it starts emitting ordnance/damage.

    fieldRadius = 20.0f
    How far the field extends outward.

    objPushCenter = 30.0f
    Object push force at Center of field.

    objPushEdge = 3.0f
    Object push force at Edge of field.

    objDragCenter = 0.0f
    Object Drag at Center of field.

    objDragEdge = 0.0f
    Object Drag at Edge of field.

    objDrag = ObjDragCenter.
    If this is set, it is used for both objDragCenter and objDragEdge, and overrides those settings.

    ordPushCenter = 100.0f
    Ordnance push force at Center of field.

    ordPushEdge = 10.0f
    Ordnance push force at Edge of field.

    ordDragCenter = 0.0f
    Ordnance Drag at Center of field.

    ordDragEdge = 0.0f
    Ordnance Drag at Edge of field.

    ordDrag = OrdDragCenter.
    If this is set, it is used for both ordDragCenter and ordDragEdge , and overrides those settings.

    TeamFilter = 0
    Team Filter for what Teams to affect. Valid values are: 0 = all teams, 1 = same team only, 2 = allies, 3 = enemies

    ForceMass = -1
    If this is < 0, default behavior is applied. If this is > 0, then the Force applied to the object is multiplied by (ForceMass / Target's Mass).

    MinForceMassScale = 0.0001
    If ForceMass is > 0, this is the minimum mass it clamps to.

    MaxForceMassScale = 1.0
    If ForceMass is > 0, this is the maximum mass it clamps to.
On this page