Xonotic
mlrs_weapon.qh
Go to the documentation of this file.
1
#pragma once
2
3
CLASS
(
MLRSTurretAttack
,
PortoLaunch
)
4
/* flags */
ATTRIB
(
MLRSTurretAttack
,
spawnflags
,
int
,
WEP_FLAG_HIDDEN
|
WEP_FLAG_SPECIALATTACK
);
5
/* impulse */
ATTRIB
(MLRSTurretAttack,
impulse
,
int
, 9);
6
/* refname */
ATTRIB
(MLRSTurretAttack,
netname
,
string
, "turret_mlrs");
7
/* wepname */
ATTRIB
(MLRSTurretAttack,
m_name
,
string
, _("MLRS"));
8
ENDCLASS
(MLRSTurretAttack)
9
REGISTER_WEAPON
(TUR_MLRS,
NEW
(MLRSTurretAttack));
NEW
#define NEW(cname,...)
Definition:
oo.qh:105
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
netname
string netname
Definition:
powerups.qc:20
MLRSTurretAttack
Definition:
mlrs_weapon.qh:3
WEP_FLAG_HIDDEN
const int WEP_FLAG_HIDDEN
Definition:
weapon.qh:200
impulse
float impulse
Definition:
progsdefs.qc:158
spawnflags
float spawnflags
Definition:
progsdefs.qc:191
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
PortoLaunch
Definition:
porto.qh:3
WEP_FLAG_SPECIALATTACK
const int WEP_FLAG_SPECIALATTACK
Definition:
weapon.qh:211
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
REGISTER_WEAPON
REGISTER_WEAPON(TUR_MLRS, NEW(MLRSTurretAttack))
m_name
string m_name
Definition:
scores.qh:135
common
turrets
turret
mlrs_weapon.qh
Generated on Thu Mar 17 2022 17:26:28 for Xonotic by
1.8.13