2022-12-31 11:03:10 +00:00
|
|
|
|
|
|
|
|
2022-12-12 16:51:02 +00:00
|
|
|
class RedneckCoot : DukeActor
|
|
|
|
{
|
2022-12-31 11:03:10 +00:00
|
|
|
const COOTSTRENGTH = 50;
|
|
|
|
|
2022-12-12 16:51:02 +00:00
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "COOT";
|
2022-12-31 11:03:10 +00:00
|
|
|
Strength COOTSTRENGTH;
|
2022-12-31 17:32:05 +00:00
|
|
|
precacheclass "RedneckCootJibA", "RedneckCootJibB", "RedneckCootJibC";
|
2022-12-20 18:27:25 +00:00
|
|
|
+INTERNAL_BADGUY;
|
|
|
|
+KILLCOUNT;
|
2022-12-30 17:05:44 +00:00
|
|
|
+DESTRUCTOIMMUNE;
|
2022-12-12 16:51:02 +00:00
|
|
|
}
|
|
|
|
|
2022-12-31 14:21:03 +00:00
|
|
|
override void PlayFTASound(int mode)
|
2022-12-12 16:51:02 +00:00
|
|
|
{
|
2023-01-01 17:22:08 +00:00
|
|
|
if (!isRRRA() && (random(0, 3)) == 2)
|
2022-12-12 16:51:02 +00:00
|
|
|
self.PlayActorSound("CT_GET");
|
|
|
|
}
|
|
|
|
|
2023-05-14 10:18:47 +00:00
|
|
|
override void Initialize(DukeActor spawner)
|
2022-12-12 16:51:02 +00:00
|
|
|
{
|
|
|
|
self.scale = (0.375, 0.28125);
|
|
|
|
self.setClipDistFromTile();
|
|
|
|
self.clipdist *= 4;
|
2023-01-01 17:22:08 +00:00
|
|
|
if (isRRRA()) bLookAllaround = true;
|
2022-12-12 16:51:02 +00:00
|
|
|
}
|
2022-12-31 11:03:10 +00:00
|
|
|
|
|
|
|
|
2022-12-12 16:51:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class RedneckCootStayput: RedneckCoot
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "COOTSTAYPUT";
|
2022-12-19 21:40:16 +00:00
|
|
|
+INTERNAL_BADGUY;
|
|
|
|
+KILLCOUNT;
|
2022-12-16 11:47:30 +00:00
|
|
|
+BADGUYSTAYPUT;
|
|
|
|
}
|
|
|
|
|
2022-12-31 14:21:03 +00:00
|
|
|
override void PlayFTASound(int mode)
|
2022-12-16 11:47:30 +00:00
|
|
|
{
|
|
|
|
}
|
2022-12-31 11:03:10 +00:00
|
|
|
|
2022-12-16 11:47:30 +00:00
|
|
|
}
|
|
|
|
|