Xonotic
plasma_weapon.qh
Go to the documentation of this file.
1 #pragma once
2 
5 /* impulse */ ATTRIB(PlasmaAttack, impulse, int, 5);
6 /* refname */ ATTRIB(PlasmaAttack, netname, string, "turret_plasma");
7 /* wepname */ ATTRIB(PlasmaAttack, m_name, string, _("Plasma"));
8 ENDCLASS(PlasmaAttack)
9 REGISTER_WEAPON(PLASMA, NEW(PlasmaAttack));
#define NEW(cname,...)
Definition: oo.qh:105
CLASS(Object) Object
Definition: oo.qh:318
string netname
Definition: powerups.qc:20
REGISTER_WEAPON(PLASMA, NEW(PlasmaAttack))
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
string m_name
Definition: scores.qh:135