raze/wadsrc/static/zscript/games/duke/actors/redneckenemies.zs
2023-04-23 17:25:43 +02:00

325 lines
4.7 KiB
Text

class RedneckBikerBV2 : DukeActor
{
default
{
pic "BIKERBV2";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
watermovefactor 0.5;
gravityfactor 0.125;
}
override void Initialize()
{
self.scale = (0.4375, 0.34375);
self.clipdist = 18;
}
}
class RedneckBikerB : DukeActor
{
default
{
pic "BIKERB";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
watermovefactor 0.5;
gravityfactor 0.25;
}
override void Initialize()
{
self.scale = (0.4375, 0.34375);
self.clipdist = 18;
}
}
class RedneckBiker : DukeActor
{
default
{
pic "BIKER";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
}
override void Initialize()
{
self.scale = (0.4375, 0.34375);
self.setClipDistFromTile();
}
}
class RedneckMakeout : DukeActor
{
default
{
pic "MAKEOUT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
}
override void Initialize()
{
self.scale = (0.40625, 0.40625);
self.setClipDistFromTile();
}
}
class RedneckCheerleaderB : DukeActor
{
default
{
pic "CHEERB";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
watermovefactor 0.5;
gravityfactor 0.25;
}
override void Initialize()
{
self.scale = (0.4375, 0.34375);
self.clipdist = 18;
}
}
class RedneckCheerleader : DukeActor
{
default
{
pic "CHEER";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+ALTPROJECTILESPRITE; // owed to CON's shittiness. Todo: Think of something better.
jumptoplayer_factor 1.6;
}
override void Initialize()
{
self.scale = (0.3125, 0.3125);
self.setClipDistFromTile();
}
}
class RedneckCootplay : DukeActor
{
default
{
pic "COOTPLAY";
+INTERNAL_BADGUY;
+LOOKALLAROUND;
+NORADIUSPUSH;
}
override void Initialize()
{
self.scale = (0.375, 0.28128);
self.setClipDistFromTile();
self.clipdist *= 4;
}
}
class RedneckBillyPlay : DukeActor
{
default
{
pic "BILLYPLAY";
+INTERNAL_BADGUY;
+LOOKALLAROUND;
+NORADIUSPUSH;
}
override void Initialize()
{
self.scale = (0.390625, 0.328125);
self.setClipDistFromTile();
}
}
class RedneckMinionBoat : DukeActor
{
default
{
pic "MINIONBOAT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+DONTDIVE;
falladjustz 3;
landmovefactor 0.5;
}
override void Initialize()
{
self.scale = (0.25, 0.25);
self.setClipDistFromTile();
}
}
class RedneckHulkBoat : DukeActor
{
default
{
pic "HULKBOAT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+DONTDIVE;
falladjustz 12;
landmovefactor 0.5;
}
override void Initialize()
{
self.scale = (0.75, 0.75);
self.setClipDistFromTile();
}
}
class RedneckCheerBoat : DukeActor
{
default
{
pic "CHEERBOAT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+DONTDIVE;
falladjustz 6;
landmovefactor 0.5;
}
override void Initialize()
{
self.scale = (0.5, 0.5);
self.setClipDistFromTile();
}
}
class RedneckRock : DukeActor
{
default
{
pic "ROCK";
+INTERNAL_BADGUY;
}
override void Initialize()
{
self.scale = (1, 1);
self.setClipDistFromTile();
}
}
class RedneckRock2 : RedneckRock
{
default
{
pic "ROCK2";
+INTERNAL_BADGUY;
}
}
class RedneckMamaCloud : DukeActor
{
default
{
pic "MAMACLOUD";
+NORADIUSPUSH;
}
override void Initialize()
{
self.scale = (1, 1);
self.cstat = CSTAT_SPRITE_TRANSLUCENT | CSTAT_SPRITE_TRANS_FLIP;
self.pos.X += frandom(-64, 64);
self.pos.Y += frandom(-64, 64);
self.pos.Z += frandom(-4, 4);
}
}
class RedneckMama : DukeActor
{
default
{
pic "MAMA";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+NORADIUSPUSH;
+SPAWNRABBITGUTS; // owed to CON's shittiness. Todo: Think of something better.
justjump1_factor 1.83;
justjump2_factor 2.286;
}
override void Initialize()
{
if (self.pal == 30)
{
self.scale = (0.40625, 0.40625);
self.clipdist = 18.75;
}
else if (self.pal == 31)
{
self.scale = (0.5625, 0.5625);
self.clipdist = 25;
}
else if (self.pal == 32)
{
self.scale = (0.78125, 0.78125);
self.clipdist = 25;
}
else
{
self.scale = (0.78125, 0.78125);
self.clipdist = 25;
}
}
}
class RedneckSBSwipe : DukeActor
{
default
{
pic "SBSWIPE";
+BADGUYSTAYPUT;
+INTERNAL_BADGUY;
+KILLCOUNT;
}
override void initialize()
{
self.actorstayput = self.sector; // make this a flag once everything has been exported.
self.scale = (0.390625, 0.328125);
self.setClipDistFromTile();
}
}
class RedneckCheerStayput : RedneckCheerleader
{
default
{
pic "CHEERSTAYPUT";
jumptoplayer_factor 2.0;
}
override void initialize()
{
super.initialize();
self.actorstayput = self.sector; // make this a flag once everything has been exported.
}
}
class RedneckBoulder : DukeActor
{
default
{
pic "BOULDER";
+INTERNAL_BADGUY;
}
}
class RedneckBoulder1 : DukeActor
{
default
{
pic "BOULDER1";
+INTERNAL_BADGUY;
}
}