mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-25 05:21:31 +00:00
48 lines
627 B
Text
48 lines
627 B
Text
|
|
|
|
class RedneckCoot : DukeActor
|
|
{
|
|
const COOTSTRENGTH = 50;
|
|
|
|
default
|
|
{
|
|
pic "COOT";
|
|
Strength COOTSTRENGTH;
|
|
+INTERNAL_BADGUY;
|
|
+KILLCOUNT;
|
|
+DESTRUCTOIMMUNE;
|
|
}
|
|
|
|
override void PlayFTASound()
|
|
{
|
|
if (!Raze.isRRRA() && (random(0, 3)) == 2)
|
|
self.PlayActorSound("CT_GET");
|
|
}
|
|
|
|
override void Initialize()
|
|
{
|
|
self.scale = (0.375, 0.28125);
|
|
self.setClipDistFromTile();
|
|
self.clipdist *= 4;
|
|
if (Raze.isRRRA()) bLookAllaround = true;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
class RedneckCootStayput: RedneckCoot
|
|
{
|
|
default
|
|
{
|
|
pic "COOTSTAYPUT";
|
|
+INTERNAL_BADGUY;
|
|
+KILLCOUNT;
|
|
+BADGUYSTAYPUT;
|
|
}
|
|
|
|
override void PlayFTASound()
|
|
{
|
|
}
|
|
|
|
}
|
|
|