Code: Select all
ACTOR ResurrectingDoomPlayer : DoomPlayer replaces DoomPlayer
{
States
{
Death.Slime:
TNT1 A 0 A_Jump(256, "Resurrection1", "Resurrection2", "Resurrection3", "Resurrection4")
Resurrection1:
PLAY H 10
PLAY I 10 A_PlayerScream
PLAY J 10 A_NoBlocking
PLAY KLM 10
PLAY N 525
TNT1 A -1 A_SpawnItemEx("ResurrectedDoomPlayer", 0, 0, 0, 0, 0, 0, SXF_TELEFRAG|SXF_TRANSFERTRANSLATION)
Stop
Resurrection2:
PLAY H 10
PLAY I 10 A_PlayerScream
PLAY J 10 A_NoBlocking
PLAY KLM 10
PLAY N 1050
TNT1 A -1 A_SpawnItemEx("ResurrectedDoomPlayer", 0, 0, 0, 0, 0, 0, SXF_TELEFRAG|SXF_TRANSFERTRANSLATION)
Stop
Resurrection3:
PLAY H 10
PLAY I 10 A_PlayerScream
PLAY J 10 A_NoBlocking
PLAY KLM 10
PLAY N 1575
TNT1 A -1 A_SpawnItemEx("ResurrectedDoomPlayer", 0, 0, 0, 0, 0, 0, SXF_TELEFRAG|SXF_TRANSFERTRANSLATION)
Stop
Resurrection4:
PLAY H 10
PLAY I 10 A_PlayerScream
PLAY J 10 A_NoBlocking
PLAY KLM 10
PLAY N 2100
TNT1 A -1 A_SpawnItemEx("ResurrectedDoomPlayer", 0, 0, 0, 0, 0, 0, SXF_TELEFRAG|SXF_TRANSFERTRANSLATION)
Stop
}
}
ACTOR ResurrectedDoomPlayer : ZombieMan
{
Health 200
Obituary "$OB_KILLEDSELF"
States
{
Spawn:
RSPL K 10
RSPL JIH 10
Goto Idle
Idle:
RSPL AB 10 A_Look
Loop
See:
RSPL AABBCCDD 4 A_Chase
Loop
Missile:
RSPL E 10 A_FaceTarget
RSPL F 8 A_PosAttack
RSPL E 8
Goto See
Pain:
RSPL G 3
RSPL G 3 A_Pain
Goto See
Death:
RSPL H 10
RSPL I 10 A_Scream
RSPL J 10 A_NoBlocking
RSPL KLM 10
RSPL N -1
Stop
XDeath:
RSPL O 5
RSPL P 5 A_XScream
RSPL Q 5 A_NoBlocking
RSPL RSTUV 5
RSPL W -1
Stop
Raise:
RSPL K 10
RSPL JIH 10
Goto See
}
}