2016-10-14 08:46:15 +00:00
|
|
|
|
2017-01-13 22:17:04 +00:00
|
|
|
class TeleportFog : Actor
|
2016-10-14 08:46:15 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOTELEPORT
|
|
|
|
+NOGRAVITY
|
2017-06-02 16:41:03 +00:00
|
|
|
+ZDOOMTRANS
|
2016-10-14 08:46:15 +00:00
|
|
|
RenderStyle "Add";
|
|
|
|
}
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
TFOG ABABCDEFGHIJ 6 Bright;
|
|
|
|
Stop;
|
|
|
|
|
|
|
|
Raven:
|
|
|
|
TELE ABCDEFGHGFEDC 6 Bright;
|
|
|
|
Stop;
|
|
|
|
|
|
|
|
Strife:
|
|
|
|
TFOG ABCDEFEDCB 6 Bright;
|
|
|
|
Stop;
|
|
|
|
}
|
2017-01-13 22:17:04 +00:00
|
|
|
|
|
|
|
override void PostBeginPlay ()
|
|
|
|
{
|
|
|
|
Super.PostBeginPlay ();
|
2020-01-04 13:15:32 +00:00
|
|
|
A_StartSound ("misc/teleport", CHAN_BODY);
|
2017-01-19 16:40:34 +00:00
|
|
|
switch (gameinfo.gametype)
|
2017-01-13 22:17:04 +00:00
|
|
|
{
|
|
|
|
case GAME_Hexen:
|
|
|
|
case GAME_Heretic:
|
|
|
|
SetStateLabel("Raven");
|
|
|
|
break;
|
|
|
|
|
|
|
|
case GAME_Strife:
|
|
|
|
SetStateLabel("Strife");
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-14 08:46:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TeleportDest : Actor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOSECTOR
|
|
|
|
+DONTSPLASH
|
2021-09-12 11:18:40 +00:00
|
|
|
+NOTONAUTOMAP
|
2016-10-14 08:46:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class TeleportDest2 : TeleportDest
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
+NOGRAVITY
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class TeleportDest3 : TeleportDest2
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
-NOGRAVITY
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|