raze/wadsrc/static/zscript/games/duke/actors/liztroop.zs
Christoph Oelckers 46f7e38e46 - cleaned up movesprite_ex.
This needed 5 actor flags to handle some really inane special cases!
2023-04-23 09:42:27 +02:00

90 lines
1.1 KiB
Text

class DukeLizTrooper : DukeActor
{
default
{
pic "LIZTROOP";
+INTERNAL_BADGUY;
+KILLCOUNT;
+GREENSLIMEFOOD;
+TRANSFERPALTOJIBS;
+DONTENTERWATERONGROUND;
}
override void Initialize()
{
if (pal == 0) pal = 22;
}
override void PlayFTASound()
{
self.PlayActorSound("PRED_RECOG");
}
}
class DukeLizTrooperToilet : DukeLizTrooper
{
default
{
pic "LIZTROOPONTOILET";
}
}
class DukeLizTrooperSitting : DukeLizTrooper
{
default
{
pic "LIZTROOPJUSTSIT";
}
}
class DukeLizTrooperShoot : DukeLizTrooper
{
default
{
pic "LIZTROOPSHOOT";
}
}
class DukeLizTrooperJetpack : DukeLizTrooper
{
default
{
pic "LIZTROOPJETPACK";
}
}
class DukeLizTrooperDucking : DukeLizTrooper
{
default
{
pic "LIZTROOPDUCKING";
}
}
class DukeLizTrooperRunning : DukeLizTrooper
{
default
{
pic "LIZTROOPRUNNING";
}
}
class DukeLizTrooperStayput : DukeLizTrooper
{
default
{
pic "LIZTROOPSTAYPUT";
}
override void PlayFTASound()
{
}
override void initialize()
{
super.initialize();
self.actorstayput = self.sector; // make this a flag once everything has been exported.
}
}