]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/turrets/turret/hk.qh
Merge branch 'master' into TimePath/scrollpanel
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / turret / hk.qh
1 #pragma once
2
3 //#define TURRET_DEBUG_HK
4
5 #include "hk_weapon.qh"
6
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));