2022-12-20 18:27:25 +00:00
|
|
|
class DukeHorseOnSide : DukeActor
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
2022-12-20 18:27:25 +00:00
|
|
|
pic "HORSEONSIDE";
|
2022-12-16 11:47:30 +00:00
|
|
|
+FORCERUNCON;
|
|
|
|
+CHECKSLEEP;
|
|
|
|
+MOVEFTA_MAKESTANDABLE;
|
2022-12-14 15:24:31 +00:00
|
|
|
}
|
2022-12-20 18:27:25 +00:00
|
|
|
|
2022-12-14 15:24:31 +00:00
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
if (!self.mapSpawned)
|
|
|
|
self.scale = (0.5, 0.5);
|
|
|
|
self.cstat = CSTAT_SPRITE_BLOCK_ALL | randomXFlip();
|
|
|
|
self.clipdist = 18;
|
|
|
|
self.ChangeStat(STAT_ZOMBIEACTOR);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-20 18:27:25 +00:00
|
|
|
|
|
|
|
class DukeExplodingBarrel : DukeHorseOnSide
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
2022-12-20 18:27:25 +00:00
|
|
|
pic "EXPLODINGBARREL";
|
|
|
|
+DOUBLEDMGTHRUST;
|
|
|
|
+BREAKMIRRORS;
|
2022-12-14 15:24:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-20 18:27:25 +00:00
|
|
|
class DukeFireBarrel : DukeHorseOnSide
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "FIREBARREL";
|
|
|
|
}
|
|
|
|
}
|
2022-12-20 18:27:25 +00:00
|
|
|
class DukeNukeBarrel : DukeHorseOnSide
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "NUKEBARREL";
|
2022-12-16 11:47:30 +00:00
|
|
|
+GREENBLOOD;
|
2022-12-14 15:24:31 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-20 18:27:25 +00:00
|
|
|
class DukeFireVase : DukeHorseOnSide
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "FIREVASE";
|
|
|
|
}
|
|
|
|
}
|
2022-12-20 18:27:25 +00:00
|
|
|
class DukeNukeBarrelDented : DukeHorseOnSide
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "NUKEBARRELDENTED";
|
|
|
|
}
|
|
|
|
}
|
2022-12-20 18:27:25 +00:00
|
|
|
class DukeNukeBarrelLeaked : DukeHorseOnSide
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
2022-12-15 09:46:41 +00:00
|
|
|
pic "NUKEBARRELLEAKED";
|
2022-12-14 15:24:31 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-20 18:27:25 +00:00
|
|
|
class DukeWoodenHorse : DukeHorseOnSide
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "WOODENHORSE";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-20 18:27:25 +00:00
|
|
|
class DukeRubberCan : DukeHorseOnSide
|
2022-12-14 15:24:31 +00:00
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "RUBBERCAN";
|
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
super.Initialize();
|
|
|
|
self.extra = 0;
|
|
|
|
}
|
|
|
|
}
|
2022-12-14 18:18:05 +00:00
|
|
|
|
|
|
|
class DukeWaterdripSplash : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "WATERDRIPSPLASH";
|
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.scale = (0.375, 0.375);
|
|
|
|
self.ChangeStat(STAT_STANDABLE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeWaterbubbleMaker : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "WATERBUBBLEMAKER";
|
2022-12-16 11:47:30 +00:00
|
|
|
+FORCERUNCON;
|
2022-12-14 18:18:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.hitag = 0;
|
|
|
|
self.cstat |= CSTAT_SPRITE_INVISIBLE;
|
|
|
|
self.ChangeStat(STAT_STANDABLE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeFeces : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "FECES";
|
2022-12-16 11:47:30 +00:00
|
|
|
+FORCERUNCON;
|
|
|
|
+BROWNBLOOD;
|
2022-12-14 18:18:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
if (!mapSpawned)
|
|
|
|
self.scale = (REPEAT_SCALE, REPEAT_SCALE);
|
|
|
|
self.ChangeStat(STAT_MISC);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeBlood : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
2022-12-16 11:47:30 +00:00
|
|
|
pic "BLOOD";
|
|
|
|
+FORCERUNCON;
|
2022-12-14 18:18:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.pos.Z -= 26;
|
|
|
|
if (!mapSpawned && self.ownerActor && self.ownerActor.pal == 6)
|
|
|
|
self.pal = 6;
|
|
|
|
self.scale = (0.25, 0.25);
|
|
|
|
self.ChangeStat(STAT_MISC);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class RedneckBlood : DukeBlood
|
|
|
|
{
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
Super.Initialize();
|
|
|
|
self.scale = (0.0625, 0.0625);
|
|
|
|
self.pos.Z -= 26;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class DukeBlimp : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "BLIMP";
|
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.cstat |= CSTAT_SPRITE_BLOCK_ALL;
|
|
|
|
self.clipdist = 32;
|
|
|
|
self.ChangeStat(STAT_ACTOR);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeMike : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "MIKE";
|
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.yint = self.hitag;
|
|
|
|
self.ChangeStat(STAT_ACTOR);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeWhispySmoke : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "WHISPYSMOKE";
|
2022-12-16 11:47:30 +00:00
|
|
|
+FORCERUNCON;
|
2022-12-14 18:18:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.pos.X += frandom(-8, 8);
|
|
|
|
self.pos.Y += frandom(-8, 8);
|
|
|
|
self.scale = (0.3125, 0.3125);
|
|
|
|
self.ChangeStat(STAT_MISC);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeSeriousSam : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
2023-04-09 07:34:51 +00:00
|
|
|
pic "SERIOUSSAM";
|
2022-12-14 18:18:05 +00:00
|
|
|
statnum STAT_ZOMBIEACTOR;
|
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.cstat |= CSTAT_SPRITE_BLOCK_ALL;
|
|
|
|
self.extra = 150;
|
|
|
|
self.ChangeStat(STAT_ZOMBIEACTOR);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|