mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-28 06:53:29 +00:00
40 lines
599 B
Text
40 lines
599 B
Text
class RedneckCoot : DukeActor
|
|
{
|
|
default
|
|
{
|
|
pic "COOT";
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
class RedneckCootStayput: RedneckCoot
|
|
{
|
|
default
|
|
{
|
|
pic "COOTSTAYPUT";
|
|
+INTERNAL_BADGUY;
|
|
+KILLCOUNT;
|
|
}
|
|
|
|
override void PlayFTASound()
|
|
{
|
|
}
|
|
|
|
override void initialize()
|
|
{
|
|
super.initialize();
|
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
|
}
|
|
}
|