Classes:ZombieMan
Classes: Actor → ZombieMan
→StealthZombieMan
→DeadZombieMan
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Former Human | |||
---|---|---|---|
Actor type | Monster | Game | ![]() |
DoomEd Number | 3004 | Class Name | ZombieMan |
Spawn ID | 4 | Identifier | T_ZOMBIE |
The Pistol Zombie, also known as Troopers or Former Humans, are the least threatening monster in Doom. They are very weak, terrible shots, and their weapons are not particularly damaging even in instances when they do hit.
ZScript definition
Note: The ZScript definition below is for reference and may be different in the current version of GZDoom.The most up-to-date version of this code can be found on GZDoom GitHub. |
class ZombieMan : Actor { Default { Health 20; Radius 20; Height 56; Speed 8; PainChance 200; Monster; +FLOORCLIP SeeSound "grunt/sight"; AttackSound "grunt/attack"; PainSound "grunt/pain"; DeathSound "grunt/death"; ActiveSound "grunt/active"; Obituary "$OB_ZOMBIE"; Tag "$FN_ZOMBIE"; DropItem "Clip"; } States { Spawn: POSS AB 10 A_Look; Loop; See: POSS AABBCCDD 4 A_Chase; Loop; Missile: POSS E 10 A_FaceTarget; POSS F 8 A_PosAttack; POSS E 8; Goto See; Pain: POSS G 3; POSS G 3 A_Pain; Goto See; Death: POSS H 5; POSS I 5 A_Scream; POSS J 5 A_NoBlocking; POSS K 5; POSS L -1; Stop; XDeath: POSS M 5; POSS N 5 A_XScream; POSS O 5 A_NoBlocking; POSS PQRST 5; POSS U -1; Stop; Raise: POSS K 5; POSS JIH 5; Goto See; } }
DECORATE definition
Note: This is legacy code, kept here for reference only. DECORATE is still supported but no longer used by GZDoom. GZDoom internally uses the ZScript definition above. |
ACTOR ZombieMan { Health 20 Radius 20 Height 56 Speed 8 PainChance 200 Monster +FLOORCLIP SeeSound "grunt/sight" AttackSound "grunt/attack" PainSound "grunt/pain" DeathSound "grunt/death" ActiveSound "grunt/active" Obituary "$OB_ZOMBIE" // "%o was killed by a zombieman." DropItem "Clip" States { Spawn: POSS AB 10 A_Look Loop See: POSS AABBCCDD 4 A_Chase Loop Missile: POSS E 10 A_FaceTarget POSS F 8 A_PosAttack POSS E 8 Goto See Pain: POSS G 3 POSS G 3 A_Pain Goto See Death: POSS H 5 POSS I 5 A_Scream POSS J 5 A_NoBlocking POSS K 5 POSS L -1 Stop XDeath: POSS M 5 POSS N 5 A_XScream POSS O 5 A_NoBlocking POSS PQRST 5 POSS U -1 Stop Raise: POSS K 5 POSS JIH 5 Goto See } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.