fuaZandroX modding reference

Actor flag

+BURROWDEADENDS

BURROWDEADENDS

Availability

ZandroX only. Does not exist in Zandronum 3.2.

Usage

Set on a burrowing projectile. When the solid it hits has no way out within its BurrowDistance, it digs in anyway, goes as far as that distance takes it, and dies there: in its Burrow.DeadEnd state if it has one, else in Death. It stays where it died for the rest of that state, under gravity or not.

Without this flag it never goes in and explodes at the face as an ordinary projectile.

Notes:

  • A Death state that calls A_Explode explodes inside the solid. Give it a Burrow.DeadEnd state to do something else there.
  • A projectile whose way out closes while it is inside (a door, a lift) also dies inside, flag or not, when the rest of its BurrowDistance finds no other way out.

Examples

A tremor round that buries itself in the ground and goes off underneath:

ACTOR TremorRound
{
    Radius 4
    Height 4
    Speed 16
    Projectile
    +CANBURROWFLOORS
    +BURROWDEADENDS
    BurrowDistance 48
    BurrowEnterTime 6
    States
    {
    Spawn:
        BAL1 A 1
        Loop
    Burrow.DeadEnd:
        TNT1 A 0 Radius_Quake(3, 18, 0, 6, 0)
        TNT1 A 18
        Stop
    Death:
        BAL1 CDE 4
        Stop
    }
}

See also