2022-12-14 14:28:03 +00:00
|
|
|
class DukeDrone : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "DRONE";
|
2022-12-19 21:40:16 +00:00
|
|
|
+INTERNAL_BADGUY;
|
|
|
|
+KILLCOUNT;
|
2022-12-16 11:47:30 +00:00
|
|
|
+NOWATERDIP;
|
|
|
|
+FLOATING;
|
2022-12-21 15:31:51 +00:00
|
|
|
falladjustz 0;
|
2022-12-14 14:28:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void PlayFTASound()
|
|
|
|
{
|
|
|
|
self.PlayActorSound("DRON_RECOG");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeTurret : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "ORGANTIC";
|
2022-12-19 21:40:16 +00:00
|
|
|
+INTERNAL_BADGUY;
|
|
|
|
+KILLCOUNT;
|
2022-12-21 15:31:51 +00:00
|
|
|
aimoffset 32;
|
2022-12-14 14:28:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void PlayFTASound()
|
|
|
|
{
|
|
|
|
self.PlayActorSound("TURR_RECOG");
|
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeRotateGun : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "ROTATEGUN";
|
2022-12-19 21:40:16 +00:00
|
|
|
+INTERNAL_BADGUY;
|
|
|
|
+KILLCOUNT;
|
2022-12-16 11:47:30 +00:00
|
|
|
+NODAMAGEPUSH;
|
|
|
|
+NORADIUSPUSH;
|
2022-12-23 07:55:13 +00:00
|
|
|
sparkoffset -8;
|
2022-12-21 15:31:51 +00:00
|
|
|
aimoffset 32;
|
2022-12-14 14:28:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
2022-12-16 11:47:30 +00:00
|
|
|
self.vel.Z = 0;
|
2022-12-14 14:28:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class DukeShark : DukeActor
|
|
|
|
{
|
|
|
|
default
|
|
|
|
{
|
|
|
|
pic "SHARK";
|
2022-12-19 21:40:16 +00:00
|
|
|
+INTERNAL_BADGUY;
|
2022-12-16 11:47:30 +00:00
|
|
|
+DONTDIVEALIVE;
|
|
|
|
+FLOATING;
|
2022-12-14 14:28:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
override void Initialize()
|
|
|
|
{
|
|
|
|
// override some defaults.
|
|
|
|
self.scale = (0.9375, 0.9375);
|
|
|
|
self.clipdist = 10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|