mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-30 07:50:54 +00:00
46f7e38e46
This needed 5 actor flags to handle some really inane special cases!
90 lines
1.1 KiB
Text
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.
|
|
}
|
|
|
|
}
|