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

87 lines
1.1 KiB
Text
Raw Normal View History

2022-12-14 14:28:03 +00:00
class DukeDrone : DukeActor
{
default
{
pic "DRONE";
+INTERNAL_BADGUY;
+KILLCOUNT;
+NOWATERDIP;
+FLOATING;
+QUICKALTERANG;
+NOJIBS;
falladjustz 0;
floating_floordist 30;
floating_ceilingdist 50;
2022-12-14 14:28:03 +00:00
}
override void PlayFTASound()
{
self.PlayActorSound("DRON_RECOG");
}
}
class DukeTurret : DukeActor
{
default
{
pic "ORGANTIC";
+INTERNAL_BADGUY;
+KILLCOUNT;
+NOVERTICALMOVE;
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";
+INTERNAL_BADGUY;
+KILLCOUNT;
+NODAMAGEPUSH;
+NORADIUSPUSH;
2022-12-23 21:32:37 +00:00
+SHOOTCENTERED;
+NOVERTICALMOVE;
+MOVE_NOPLAYERINTERACT;
sparkoffset -8;
aimoffset 32;
2022-12-23 21:32:37 +00:00
shootzoffset 0;
2022-12-14 14:28:03 +00:00
}
override void Initialize()
{
self.vel.Z = 0;
2022-12-14 14:28:03 +00:00
}
}
class DukeShark : DukeActor
{
default
{
pic "SHARK";
+INTERNAL_BADGUY;
+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;
}
}