- reformatting of 3 files.

This commit is contained in:
Christoph Oelckers 2022-12-31 09:24:43 +01:00
parent 6ba100391e
commit 64d096c2c7
3 changed files with 109 additions and 2 deletions

View file

@ -1,6 +1,7 @@
class DukeLizMan : DukeActor
{
const LIZSTRENGTH = 100;
default
{
pic "LIZMAN";
@ -9,31 +10,56 @@ class DukeLizMan : DukeActor
+GREENSLIMEFOOD;
+DONTENTERWATER;
+RANDOMANGLEONWATER;
moveclipdist 18.25;
Strength LIZSTRENGTH;
}
override void PlayFTASound()
{
self.PlayActorSound("CAPT_RECOG");
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizManSpitting : DukeLizMan
{
default
{
pic "LIZMANSPITTING";
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizManFeeding : DukeLizMan
{
// this one has setup code but no implementation.
default
{
pic "LIZMANFEEDING";
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizManJump : DukeLizMan
{
default
@ -42,6 +68,12 @@ class DukeLizManJump : DukeLizMan
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizManStayput : DukeLizMan
{
default

View file

@ -1,27 +1,44 @@
class DukeLizTrooper : DukeActor
{
const TROOPSTRENGTH = 30;
default
{
pic "LIZTROOP";
Strength TROOPSTRENGTH;
+INTERNAL_BADGUY;
+KILLCOUNT;
+GREENSLIMEFOOD;
+TRANSFERPALTOJIBS;
+DONTENTERWATERONGROUND;
}
override void Initialize()
{
if (self.pal == 0 || self.pal == 2) self.pal = 22;
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
override void PlayFTASound()
{
self.PlayActorSound("PRED_RECOG");
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizTrooperToilet : DukeLizTrooper
{
default
@ -32,6 +49,12 @@ class DukeLizTrooperToilet : DukeLizTrooper
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizTrooperSitting : DukeLizTrooper
{
default
@ -42,30 +65,58 @@ class DukeLizTrooperSitting : DukeLizTrooper
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizTrooperShoot : DukeLizTrooper
{
default
{
pic "LIZTROOPSHOOT";
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizTrooperJetpack : DukeLizTrooper
{
default
{
pic "LIZTROOPJETPACK";
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizTrooperDucking : DukeLizTrooper
{
default
{
pic "LIZTROOPDUCKING";
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizTrooperRunning : DukeLizTrooper
{
default
@ -74,6 +125,12 @@ class DukeLizTrooperRunning : DukeLizTrooper
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukeLizTrooperStayput : DukeLizTrooper
{
default

View file

@ -1,19 +1,31 @@
class DukePigCop : DukeActor
{
const PIGCOPSTRENGTH = 100;
default
{
pic "PIGCOP";
+INTERNAL_BADGUY;
+KILLCOUNT;
+GREENSLIMEFOOD;
Strength PIGCOPSTRENGTH;
}
override void PlayFTASound()
{
self.PlayActorSound("PIG_RECOG");
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukePigCopStayput: DukePigCop
{
default
@ -23,6 +35,11 @@ class DukePigCopStayput: DukePigCop
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class DukePigCopDive : DukePigCopStayput
{
@ -34,5 +51,6 @@ class DukePigCopDive : DukePigCopStayput
override void PlayFTASound()
{
}
}