mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
38 lines
495 B
Text
38 lines
495 B
Text
|
|
||
|
class RatBuddy : Actor
|
||
|
{
|
||
|
Default
|
||
|
{
|
||
|
Health 5;
|
||
|
Speed 13;
|
||
|
Radius 10;
|
||
|
Height 16;
|
||
|
+NOBLOOD +FLOORCLIP +CANPASS
|
||
|
+ISMONSTER +INCOMBAT
|
||
|
MinMissileChance 150;
|
||
|
MaxStepHeight 16;
|
||
|
MaxDropoffHeight 32;
|
||
|
Tag "$TAG_RATBUDDY";
|
||
|
SeeSound "rat/sight";
|
||
|
DeathSound "rat/death";
|
||
|
ActiveSound "rat/active";
|
||
|
}
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
RATT A 10 A_Look;
|
||
|
Loop;
|
||
|
See:
|
||
|
RATT AABB 4 A_Chase;
|
||
|
Loop;
|
||
|
Melee:
|
||
|
RATT A 8 A_Wander;
|
||
|
RATT B 4 A_Wander;
|
||
|
Goto See;
|
||
|
Death:
|
||
|
MEAT Q 700;
|
||
|
Stop;
|
||
|
}
|
||
|
}
|
||
|
|