2022-12-12 16:51:02 +00:00
|
|
|
class RedneckMinion : DukeActor
|
|
|
|
{
|
2022-12-31 11:03:10 +00:00
|
|
|
const MINIONSTRENGTH = 50;
|
|
|
|
const MINIONFREAK = -10;
|
|
|
|
|
2022-12-12 16:51:02 +00:00
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "MINION";
|
2022-12-19 21:40:16 +00:00
|
|
|
+INTERNAL_BADGUY;
|
|
|
|
+KILLCOUNT;
|
2022-12-16 11:47:30 +00:00
|
|
|
+LOOKALLAROUNDWITHPAL8;
|
|
|
|
+TRANSFERPALTOJIBS;
|
2022-12-12 16:51:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.scale = (0.25, 0.25);
|
|
|
|
self.setClipDistFromTile();
|
2022-12-31 11:03:10 +00:00
|
|
|
if (ud.ufospawnsminion)
|
|
|
|
self.pal = 8;
|
|
|
|
if (self.pal == 19)
|
2022-12-29 15:05:38 +00:00
|
|
|
{
|
2022-12-31 11:03:10 +00:00
|
|
|
self.bHitradius_NoEffect = true;
|
|
|
|
self.bMagmaImmune = true;
|
2022-12-29 15:05:38 +00:00
|
|
|
}
|
2022-12-12 16:51:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override bool animate(tspritetype t)
|
|
|
|
{
|
|
|
|
if (Raze.isRRRA() && t.pal == 19)
|
|
|
|
t.shade = -127;
|
|
|
|
return false;
|
|
|
|
}
|
2022-12-31 11:03:10 +00:00
|
|
|
|
2022-12-12 16:51:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class RedneckMinionStayput: RedneckMinion
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "MINIONSTAYPUT";
|
2022-12-31 11:03:10 +00:00
|
|
|
+BADGUYSTAYPUT;
|
2022-12-12 16:51:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void PlayFTASound()
|
|
|
|
{
|
|
|
|
}
|
2022-12-31 11:03:10 +00:00
|
|
|
|
2022-12-12 16:51:02 +00:00
|
|
|
}
|
2022-12-31 11:03:10 +00:00
|
|
|
|