Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
mage.qh
Go to the documentation of this file.
1#pragma once
2
3#include "../all.qh"
4
5#ifdef GAMEQC
6MODEL(MON_MAGE, M_Model("nanomage.dpm"));
7#endif
8
10#ifdef SVQC
12 ATTRIB(Mage, m_mins, vector, '-16 -16 -24');
13 ATTRIB(Mage, m_maxs, vector, '16 16 55');
14#endif
15#ifdef GAMEQC
16 ATTRIB(Mage, m_model, Model, MDL_MON_MAGE);
17#endif
18 ATTRIB(Mage, netname, string, "mage");
19 ATTRIB(Mage, m_name, string, _("Mage"));
21
23
24#include <common/weapons/_all.qh>
25#include <common/items/_mod.qh>
26
29/* impulse */ ATTRIB(MageSpike, impulse, int, 9);
30/* refname */ ATTRIB(MageSpike, netname, string, "magespike");
31/* wepname */ ATTRIB(MageSpike, m_name, string, _("Mage spike"));
int impulse
Definition mage.qh:29
string netname
Definition mage.qh:30
string m_name
Definition mage.qh:31
int spawnflags
Definition mage.qh:28
Definition mage.qh:9
Model m_model
Definition mage.qh:16
vector m_mins
Definition mage.qh:12
int spawnflags
Definition mage.qh:11
string m_name
Definition mage.qh:19
vector m_maxs
Definition mage.qh:13
string netname
Definition mage.qh:18
Definition model.qh:3
ATTRIB(Weapon, m_canonical_spawnfunc, string)
the canonical spawnfunc name
#define MODEL(name, path)
Definition all.qh:8
string M_Model(string m_mdl)
Definition all.qc:4
#define REGISTER_MONSTER(id, inst)
Definition all.qh:11
const int MON_FLAG_RANGED
monster shoots projectiles
Definition monster.qh:10
const int MON_FLAG_MELEE
Definition monster.qh:11
#define NEW(cname,...)
Definition oo.qh:117
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define ATTRIB(...)
Definition oo.qh:148
vector
Definition self.qh:92
#define REGISTER_WEAPON(id, inst)
Definition all.qh:136
const int WEP_FLAG_HIDDEN
Definition weapon.qh:258
const int WEP_FLAG_SPECIALATTACK
Definition weapon.qh:269