gzdoom/wadsrc/static/zscript/actors/shared/dog.zs

49 lines
667 B
Text
Raw Normal View History

class MBFHelperDog : Actor
{
default
{
Health 500;
Speed 10;
PainChance 180;
Radius 12;
Height 28;
Mass 100;
Monster;
+JUMPDOWN
ActiveSound "dog/active";
AttackSound "dog/attack";
DeathSound "dog/death";
PainSound "dog/pain";
SeeSound "dog/sight";
Obituary "$OB_DOG";
Tag "$FN_DOG";
}
States
{
Spawn:
DOGS AB 10 A_Look;
Loop;
See:
DOGS AABBCCDD 2 A_Chase;
Loop;
Melee:
DOGS EF 8 A_FaceTarget;
DOGS G 8 A_SargAttack;
Goto See;
Pain:
DOGS H 2;
DOGS H 2 A_Pain;
Goto See;
Death:
DOGS I 8;
DOGS J 8 A_Scream;
DOGS K 4;
DOGS L 4 A_Fall;
DOGS M 4;
DOGS N -1;
Raise:
DOGS NMLKJI 5;
Goto See;
}
}