raze/wadsrc/static/zscript/games/duke/actors/dukeenemies/liztroop.zs

150 lines
2.5 KiB
Text
Raw Normal View History

2022-12-14 11:48:45 +00:00
class DukeLizTrooper : DukeActor
{
2022-12-31 08:24:43 +00:00
const TROOPSTRENGTH = 30;
2022-12-14 11:48:45 +00:00
default
{
pic "LIZTROOP";
2022-12-31 08:24:43 +00:00
Strength TROOPSTRENGTH;
precacheclass "DukeHeadJib1", "DukeArmJib1", "DukeLegJib1";
2022-12-31 08:24:43 +00:00
+INTERNAL_BADGUY;
+KILLCOUNT;
+GREENSLIMEFOOD;
+TRANSFERPALTOJIBS;
+DONTENTERWATERONGROUND;
2022-12-31 08:24:43 +00:00
2022-12-14 11:48:45 +00:00
}
override void Initialize(DukeActor spawner)
2022-12-14 11:48:45 +00:00
{
if (self.pal == 0 || self.pal == 2) self.pal = 22;
2022-12-14 11:48:45 +00:00
}
2022-12-31 08:24:43 +00:00
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
override void PlayFTASound(int mode)
2022-12-14 11:48:45 +00:00
{
self.PlayActorSound("PRED_RECOG");
}
2022-12-31 08:24:43 +00:00
2022-12-14 11:48:45 +00:00
}
2022-12-31 08:24:43 +00:00
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
2022-12-14 11:48:45 +00:00
class DukeLizTrooperToilet : DukeLizTrooper
{
default
{
pic "LIZTROOPONTOILET";
StartAction "none";
2022-12-14 11:48:45 +00:00
}
2022-12-14 11:48:45 +00:00
}
2022-12-31 08:24:43 +00:00
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
2022-12-14 11:48:45 +00:00
class DukeLizTrooperSitting : DukeLizTrooper
{
default
{
pic "LIZTROOPJUSTSIT";
StartAction "none";
2022-12-14 11:48:45 +00:00
}
2022-12-14 11:48:45 +00:00
}
2022-12-31 08:24:43 +00:00
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
2022-12-14 11:48:45 +00:00
class DukeLizTrooperShoot : DukeLizTrooper
{
default
{
pic "LIZTROOPSHOOT";
}
2022-12-31 08:24:43 +00:00
2022-12-14 11:48:45 +00:00
}
2022-12-31 08:24:43 +00:00
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
2022-12-14 11:48:45 +00:00
class DukeLizTrooperJetpack : DukeLizTrooper
{
default
{
pic "LIZTROOPJETPACK";
}
2022-12-31 08:24:43 +00:00
2022-12-14 11:48:45 +00:00
}
2022-12-31 08:24:43 +00:00
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
2022-12-14 11:48:45 +00:00
class DukeLizTrooperDucking : DukeLizTrooper
{
default
{
pic "LIZTROOPDUCKING";
}
2022-12-31 08:24:43 +00:00
2022-12-14 11:48:45 +00:00
}
2022-12-31 08:24:43 +00:00
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
2022-12-14 11:48:45 +00:00
class DukeLizTrooperRunning : DukeLizTrooper
{
default
{
pic "LIZTROOPRUNNING";
}
}
2022-12-31 08:24:43 +00:00
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
2022-12-14 11:48:45 +00:00
class DukeLizTrooperStayput : DukeLizTrooper
{
default
{
pic "LIZTROOPSTAYPUT";
+BADGUYSTAYPUT;
+BADGUYSTAYPUT;
2022-12-14 11:48:45 +00:00
}
override void PlayFTASound(int mode)
2022-12-14 11:48:45 +00:00
{
}
}