3 //#define TURRET_DEBUG_HK
5 #include "hk_weapon.qh"
7 CLASS(HunterKiller, Turret)
8 /* spawnflags */ ATTRIB(HunterKiller, spawnflags, int, TUR_FLAG_SPLASH | TUR_FLAG_MEDPROJ | TUR_FLAG_PLAYER | TUR_FLAG_RECIEVETARGETS);
9 /* mins */ ATTRIB(HunterKiller, m_mins, vector, '-32 -32 0');
10 /* maxs */ ATTRIB(HunterKiller, m_maxs, vector, '32 32 64');
11 /* modelname */ ATTRIB(HunterKiller, mdl, string, "base.md3");
12 /* model */ ATTRIB_STRZONE(HunterKiller, model, string, strcat("models/turrets/", this.mdl));
13 /* head_model */ ATTRIB_STRZONE(HunterKiller, head_model, string, strcat("models/turrets/", "hk.md3"));
14 /* netname */ ATTRIB(HunterKiller, netname, string, "hk");
15 /* fullname */ ATTRIB(HunterKiller, turret_name, string, _("Hunter-Killer Turret"));
16 ATTRIB(HunterKiller, m_weapon, Weapon, WEP_HK);
17 ENDCLASS(HunterKiller)
18 REGISTER_TURRET(HK, NEW(HunterKiller));