mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
fddf69e950
Karate Chris. - Added several type checks to the weapon slot code. - Changed: Players no longer respawn in instant death sectors with the 'Respawn where died' flag on. SVN r1101 (trunk)
73 lines
1.1 KiB
Text
73 lines
1.1 KiB
Text
|
|
// Fog Spawner --------------------------------------------------------------
|
|
|
|
ACTOR FogSpawner 10000
|
|
{
|
|
Game Hexen
|
|
+NOSECTOR +NOBLOCKMAP
|
|
+FLOATBOB
|
|
+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
|
|
{
|
|
States
|
|
{
|
|
Spawn:
|
|
FOGM ABCDE 7 A_FogMove
|
|
Loop
|
|
Death:
|
|
FOGS ABCDE 5
|
|
Goto Super::Death
|
|
}
|
|
}
|
|
|
|
// Large Fog Patch ----------------------------------------------------------
|
|
|
|
ACTOR FogPatchLarge : FogPatchMedium 10003
|
|
{
|
|
States
|
|
{
|
|
Spawn:
|
|
FOGL ABCDE 7 A_FogMove
|
|
Loop
|
|
Death:
|
|
FOGM ABCDEF 4
|
|
Goto Super::Death
|
|
}
|
|
}
|