mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-11 13:21:49 +00:00
513de38723
Using ownerActor is not robust, for some actors this will have unwanted side effects.
42 lines
No EOL
635 B
Text
42 lines
No EOL
635 B
Text
|
|
class RedneckBillyRay : DukeActor
|
|
{
|
|
const BILLYRAYSTRENGTH = 100;
|
|
default
|
|
{
|
|
pic "BILLYRAY";
|
|
+INTERNAL_BADGUY;
|
|
+KILLCOUNT;
|
|
precacheclass "RedneckBillyJibA", "RedneckBillyJibB";
|
|
Strength BILLYRAYSTRENGTH;
|
|
|
|
}
|
|
|
|
override void PlayFTASound(int mode)
|
|
{
|
|
if (mode == 0) self.PlayActorSound("BR_RECOG");
|
|
else self.PlayActorSound("FART1");
|
|
}
|
|
|
|
override void Initialize(DukeActor spawner)
|
|
{
|
|
self.scale = (0.390625, 0.328125);
|
|
self.setClipDistFromTile();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
class RedneckBillyRayStayput: RedneckBillyRay
|
|
{
|
|
default
|
|
{
|
|
pic "BILLYRAYSTAYPUT";
|
|
+BADGUYSTAYPUT
|
|
}
|
|
|
|
override void PlayFTASound(int mode)
|
|
{
|
|
}
|
|
|
|
} |