gzdoom-gles/wadsrc/static/actors/hexen/fog.txt
Randy Heit 62ffe7e4e2 Add NOGRAVITY to every Raven actor with FLOATBOB
- Fixed: Heretic and Hexen completely skip all normal Z processing on
  mobjs with FLOATBOB set. To emulate that, we need to add NOGRAVITY to
  everything with that flag set.
2013-11-19 19:42:13 -06:00

76 lines
1.1 KiB
Text

// Fog Spawner --------------------------------------------------------------
ACTOR FogSpawner 10000
{
Game Hexen
+NOSECTOR +NOBLOCKMAP
+FLOATBOB
+NOGRAVITY
+INVISIBLE
action native A_FogSpawn();
States
{
Spawn:
TNT1 A 20 A_FogSpawn
Loop
}
}
// Small Fog Patch ----------------------------------------------------------
ACTOR FogPatchSmall 10001
{
Game Hexen
Speed 1
+NOBLOCKMAP +NOGRAVITY +NOCLIP +FLOAT
+NOTELEPORT
RenderStyle Translucent
Alpha 0.6
action native A_FogMove();
States
{
Spawn:
FOGS ABCDE 7 A_FogMove
Loop
Death:
FOGS E 5
Stop
}
}
// Medium Fog Patch ---------------------------------------------------------
ACTOR FogPatchMedium : FogPatchSmall 10002
{
Game Hexen
States
{
Spawn:
FOGM ABCDE 7 A_FogMove
Loop
Death:
FOGS ABCDE 5
Goto Super::Death
}
}
// Large Fog Patch ----------------------------------------------------------
ACTOR FogPatchLarge : FogPatchMedium 10003
{
Game Hexen
States
{
Spawn:
FOGL ABCDE 7 A_FogMove
Loop
Death:
FOGM ABCDEF 4
Goto Super::Death
}
}