Xonotic
hk_weapon.qh
Go to the documentation of this file.
1 #pragma once
2 
5 /* impulse */ ATTRIB(HunterKillerAttack, impulse, int, 9);
6 /* refname */ ATTRIB(HunterKillerAttack, netname, string, "turret_hk");
7 /* wepname */ ATTRIB(HunterKillerAttack, m_name, string, _("Hunter-Killer"));
8 ENDCLASS(HunterKillerAttack)
9 REGISTER_WEAPON(HK, NEW(HunterKillerAttack));
#define NEW(cname,...)
Definition: oo.qh:105
CLASS(Object) Object
Definition: oo.qh:318
string netname
Definition: powerups.qc:20
const int WEP_FLAG_HIDDEN
Definition: weapon.qh:200
float impulse
Definition: progsdefs.qc:158
float spawnflags
Definition: progsdefs.qc:191
#define ATTRIB(...)
Definition: oo.qh:136
const int WEP_FLAG_SPECIALATTACK
Definition: weapon.qh:211
#define ENDCLASS(cname)
Definition: oo.qh:269
REGISTER_WEAPON(HK, NEW(HunterKillerAttack))
string m_name
Definition: scores.qh:135