mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-11 13:21:49 +00:00
39 lines
565 B
Text
39 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.
|
||
|
}
|
||
|
}
|