gzdoom-gles/wadsrc/static/zscript/heretic/clink.txt
Alexander b64057b738 add tags for Doom and Heretic monsters
Why? So mods that reveal enemy names don't show internal monster class names.

Tags are based on language.enu lump:
- Tags for Doom/Doom 2 monsters are referring directly to CC_* strings.
- Tags for Heretic monsters are based on obituaries.
- All tags match corresponding obituaries.

(cherry picked from commit 97aba0c416)
2018-06-28 10:45:09 +02:00

49 lines
772 B
Text

class Clink : Actor
{
Default
{
Health 150;
Radius 20;
Height 64;
Mass 75;
Speed 14;
Painchance 32;
Monster;
+NOBLOOD
+FLOORCLIP
SeeSound "clink/sight";
AttackSound "clink/attack";
PainSound "clink/pain";
DeathSound "clink/death";
ActiveSound "clink/active";
Obituary "$OB_CLINK";
Tag "$FN_CLINK";
DropItem "SkullRodAmmo", 84, 20;
}
States
{
Spawn:
CLNK AB 10 A_Look;
Loop;
See:
CLNK ABCD 3 A_Chase;
Loop;
Melee:
CLNK E 5 A_FaceTarget;
CLNK F 4 A_FaceTarget;
CLNK G 7 A_CustomMeleeAttack(random[ClinkAttack](3,9), "clink/attack", "clink/attack");
Goto See;
Pain:
CLNK H 3;
CLNK H 3 A_Pain;
Goto See;
Death:
CLNK IJ 6;
CLNK K 5 A_Scream;
CLNK L 5 A_NoBlocking;
CLNK MN 5;
CLNK O -1;
Stop;
}
}