Xonotic
weapon.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/weapons/_all.qh
>
4
5
CLASS
(
BallStealer
,
PortoLaunch
)
6
/* flags */
ATTRIB
(
BallStealer
,
spawnflags
,
int
,
WEP_TYPE_OTHER
|
WEP_FLAG_MUTATORBLOCKED
|
WEP_FLAG_NOTRUEAIM
);
7
/* impulse */
ATTRIB
(BallStealer,
impulse
,
int
, 0);
8
/* refname */
ATTRIB
(BallStealer,
netname
,
string
, "ballstealer");
9
/* wepname */
ATTRIB
(BallStealer,
m_name
,
string
, _("Ball Stealer"));
10
ENDCLASS
(BallStealer)
11
REGISTER_WEAPON
(NEXBALL,
NEW
(BallStealer));
NEW
#define NEW(cname,...)
Definition:
oo.qh:105
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
netname
string netname
Definition:
powerups.qc:20
impulse
float impulse
Definition:
progsdefs.qc:158
spawnflags
float spawnflags
Definition:
progsdefs.qc:191
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
BallStealer
Definition:
weapon.qh:5
PortoLaunch
Definition:
porto.qh:3
WEP_TYPE_OTHER
const int WEP_TYPE_OTHER
Definition:
weapon.qh:195
REGISTER_WEAPON
REGISTER_WEAPON(NEXBALL, NEW(BallStealer))
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
WEP_FLAG_NOTRUEAIM
const int WEP_FLAG_NOTRUEAIM
Definition:
weapon.qh:210
_all.qh
WEP_FLAG_MUTATORBLOCKED
const int WEP_FLAG_MUTATORBLOCKED
Definition:
weapon.qh:203
m_name
string m_name
Definition:
scores.qh:135
common
gamemodes
gamemode
nexball
weapon.qh
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13