Actor flag
+BURROWGRAVITY
BURROWGRAVITY
Availability
ZandroX only. Does not exist in Zandronum 3.2.
Usage
Set on a burrowing projectile that has gravity (-NOGRAVITY). Inside the solid it keeps
the arc it was flying: it comes out where, and as fast as, the same shot would have been with no solid
in the way.
Without it, gravity stops while it is inside: it crosses in a straight line along the way it was moving when it hit, and comes out with exactly the velocity it hit with, so its arc carries on from there as if no time had passed.
Notes:
- The arc is fixed at the impact.
BurrowEnterTimeandBurrowExitTimechange how fast it moves along it, never its shape. - An arc that dives below the floor on the far side finds no way out there, so it is a dead end.
- No effect on a projectile without gravity.
Examples
A lobbed mortar that tunnels through cover and drops on whoever hides behind it:
ACTOR TunnelMortar
{
Radius 6
Height 6
Speed 14
Damage 20
Projectile
-NOGRAVITY
Gravity 0.4
+CANBURROWWALLS
+BURROWGRAVITY
BurrowDistance 64
States
{
Spawn:
BAL1 A 1
Loop
Death:
BAL1 CDE 4 A_Explode
Stop
}
}