raze/wadsrc/static/zscript/games/duke/actors/redneckenemies.zs

479 lines
6.6 KiB
Text
Raw Normal View History

2022-12-15 09:35:40 +00:00
class RedneckBikerBV2 : DukeActor
{
default
{
pic "BIKERBV2";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.4375, 0.34375);
self.clipdist = 18;
}
}
class RedneckBikerB : DukeActor
{
default
{
pic "BIKERB";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.4375, 0.34375);
self.clipdist = 18;
}
}
class RedneckBiker : DukeActor
{
default
{
pic "BIKER";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.4375, 0.34375);
self.setClipDistFromTile();
}
}
class RedneckMakeout : DukeActor
{
default
{
pic "MAKEOUT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.40625, 0.40625);
self.setClipDistFromTile();
}
}
class RedneckCheerleaderB : DukeActor
{
default
{
pic "CHEERB";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
2022-12-15 09:35:40 +00:00
}
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.
}
2022-12-15 09:35:40 +00:00
override void Initialize()
{
2023-04-15 10:15:38 +00:00
self.scale = (0.3125, 0.3125);
2022-12-15 09:35:40 +00:00
self.setClipDistFromTile();
}
}
class RedneckCootplay : DukeActor
{
default
{
pic "COOTPLAY";
+INTERNAL_BADGUY;
+LOOKALLAROUND;
+NORADIUSPUSH;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.375, 0.28128);
self.setClipDistFromTile();
self.clipdist *= 4;
}
}
class RedneckBillyPlay : DukeActor
{
default
{
pic "BILLYPLAY";
+INTERNAL_BADGUY;
+LOOKALLAROUND;
+NORADIUSPUSH;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.390625, 0.328125);
self.setClipDistFromTile();
}
}
class RedneckMinionBoat : DukeActor
{
default
{
pic "MINIONBOAT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+DONTDIVE;
falladjustz 3;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.25, 0.25);
self.setClipDistFromTile();
}
}
class RedneckHulkBoat : DukeActor
{
default
{
pic "HULKBOAT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+DONTDIVE;
falladjustz 12;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.75, 0.75);
self.setClipDistFromTile();
}
}
class RedneckCheerBoat : DukeActor
{
default
{
pic "CHEERBOAT";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
+DONTDIVE;
falladjustz 6;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.5, 0.5);
self.setClipDistFromTile();
}
}
class RedneckRock : DukeActor
{
default
{
pic "ROCK";
+INTERNAL_BADGUY;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (1, 1);
self.setClipDistFromTile();
}
}
class RedneckRock2 : RedneckRock
{
default
{
pic "ROCK2";
+INTERNAL_BADGUY;
2022-12-15 09:35:40 +00:00
}
}
class RedneckMamaCloud : DukeActor
{
default
{
pic "MAMACLOUD";
+NORADIUSPUSH;
2022-12-15 09:35:40 +00:00
}
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.
2022-12-15 09:35:40 +00:00
}
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;
2022-12-15 09:35:40 +00:00
}
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";
}
override void initialize()
{
super.initialize();
self.actorstayput = self.sector; // make this a flag once everything has been exported.
}
}
class RedneckShitBoss : DukeActor
{
default
{
pic "SBMOVE";
+FULLBRIGHT;
+INTERNAL_BADGUY;
+KILLCOUNT;
+NORADIUSPUSH;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.75, 0.75);
self.setClipDistFromTile();
}
}
class RedneckBubbaStand : DukeActor
{
default
{
pic "BUBBASTAND";
+INTERNAL_BADGUY;
2022-12-15 09:35:40 +00:00
}
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 RedneckHulk : DukeActor
{
default
{
pic "HULK";
+INTERNAL_BADGUY;
+KILLCOUNT;
+NORADIUSPUSH;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.5, 0.5);
self.setClipDistFromTile();
}
}
class RedneckHulkStayput : RedneckHulk
{
default
{
pic "HULKSTAYPUT";
}
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;
2022-12-15 09:35:40 +00:00
}
}
class RedneckBoulder1 : DukeActor
{
default
{
pic "BOULDER1";
+INTERNAL_BADGUY;
2022-12-15 09:35:40 +00:00
}
}
class RedneckTornado : DukeActor
{
default
{
pic "TORNADO";
+INTERNAL_BADGUY;
+NOHITSCANHIT;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (1, 2);
self.setClipDistFromTile();
self.clipdist *= 0.25;
self.cstat = CSTAT_SPRITE_TRANSLUCENT;
}
}
class RedneckDog : DukeActor
{
default
{
pic "DOGRUN";
+INTERNAL_BADGUY;
+KILLCOUNT;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.25, 0.25);
self.setClipDistFromTile();
}
}
class RedneckSheriff : DukeActor
{
default
{
pic "LTH";
+INTERNAL_BADGUY;
+KILLCOUNT;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.375, 0.34375);
self.setClipDistFromTile();
}
}
class RedneckMosquito : DukeActor
{
default
{
pic "DRONE";
+INTERNAL_BADGUY;
+KILLCOUNT;
+NOWATERDIP;
+FLOATING;
falladjustz 0;
2022-12-15 09:35:40 +00:00
}
override void Initialize()
{
self.scale = (0.21875, 0.109375);
self.clipdist = 32;
}
}
class RedneckVixen : DukeActor
{
default
{
pic "VIXEN";
+INTERNAL_BADGUY;
+KILLCOUNT;
+LOOKALLAROUND;
2022-12-15 09:35:40 +00:00
}
2023-04-15 10:15:38 +00:00
override void Initialize()
{
if (self.pal == 34)
{
2023-04-15 11:16:48 +00:00
self.scale = (0.34375, 0.328125);
2023-04-15 10:15:38 +00:00
}
else
{
2023-04-15 11:16:48 +00:00
self.scale = (0.34375, 0.3125);
2023-04-15 10:15:38 +00:00
}
self.setClipDistFromTile();
}
2022-12-15 09:35:40 +00:00
}
// only new thing in Route 66.
class RedneckGator : DukeActor
{
default
{
pic "GATOR";
+INTERNAL_BADGUY;
+KILLCOUNT;
}
}