mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-24 21:11:26 +00:00
38 lines
565 B
Text
38 lines
565 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";
|
|
}
|
|
|
|
override void PlayFTASound()
|
|
{
|
|
}
|
|
|
|
override void initialize()
|
|
{
|
|
super.initialize();
|
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
|
}
|
|
}
|