mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
97aba0c416
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.
121 lines
1.8 KiB
Text
121 lines
1.8 KiB
Text
|
|
// Beast --------------------------------------------------------------------
|
|
|
|
class Beast : Actor
|
|
{
|
|
Default
|
|
{
|
|
Health 220;
|
|
Radius 32;
|
|
Height 74;
|
|
Mass 200;
|
|
Speed 14;
|
|
Painchance 100;
|
|
Monster;
|
|
+FLOORCLIP
|
|
SeeSound "beast/sight";
|
|
AttackSound "beast/attack";
|
|
PainSound "beast/pain";
|
|
DeathSound "beast/death";
|
|
ActiveSound "beast/active";
|
|
Obituary "$OB_BEAST";
|
|
Tag "$FN_BEAST";
|
|
DropItem "CrossbowAmmo", 84, 10;
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
BEAS AB 10 A_Look;
|
|
Loop;
|
|
See:
|
|
BEAS ABCDEF 3 A_Chase;
|
|
Loop;
|
|
Missile:
|
|
BEAS H 10 A_FaceTarget;
|
|
BEAS I 10 A_CustomComboAttack("BeastBall", 32, random[BeastAttack](1,8)*3, "beast/attack");
|
|
Goto See;
|
|
Pain:
|
|
BEAS G 3;
|
|
BEAS G 3 A_Pain;
|
|
Goto See;
|
|
Death:
|
|
BEAS R 6;
|
|
BEAS S 6 A_Scream;
|
|
BEAS TUV 6;
|
|
BEAS W 6 A_NoBlocking;
|
|
BEAS XY 6;
|
|
BEAS Z -1;
|
|
Stop;
|
|
XDeath:
|
|
BEAS J 5;
|
|
BEAS K 6 A_Scream;
|
|
BEAS L 5;
|
|
BEAS M 6;
|
|
BEAS N 5;
|
|
BEAS O 6 A_NoBlocking;
|
|
BEAS P 5;
|
|
BEAS Q -1;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
// Beast ball ---------------------------------------------------------------
|
|
|
|
class BeastBall : Actor
|
|
{
|
|
Default
|
|
{
|
|
Radius 9;
|
|
Height 8;
|
|
Speed 12;
|
|
FastSpeed 20;
|
|
Damage 4;
|
|
Projectile;
|
|
-ACTIVATEIMPACT
|
|
-ACTIVATEPCROSS
|
|
-NOBLOCKMAP
|
|
+WINDTHRUST
|
|
+SPAWNSOUNDSOURCE
|
|
+ZDOOMTRANS
|
|
RenderStyle "Add";
|
|
SeeSound "beast/attack";
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
FRB1 AABBCC 2 A_SpawnItemEx("Puffy", random2[BeastPuff]()*0.015625, random2[BeastPuff]()*0.015625, random2[BeastPuff]()*0.015625,
|
|
0,0,0,0,SXF_ABSOLUTEPOSITION, 64);
|
|
Loop;
|
|
Death:
|
|
FRB1 DEFGH 4;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
// Puffy --------------------------------------------------------------------
|
|
|
|
class Puffy : Actor
|
|
{
|
|
Default
|
|
{
|
|
Radius 6;
|
|
Height 8;
|
|
Speed 10;
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+MISSILE
|
|
+NOTELEPORT
|
|
+DONTSPLASH
|
|
+ZDOOMTRANS
|
|
RenderStyle "Add";
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
FRB1 DEFGH 4;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
|
|
|