Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
golem.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
../all.qh
"
4
5
#ifdef GAMEQC
6
MODEL
(MON_GOLEM,
M_Model
(
"golem.dpm"
));
7
#endif
8
9
CLASS
(
Golem
,
Monster
)
10
#ifdef SVQC
11
ATTRIB
(
Golem
,
spawnflags
,
int
,
MON_FLAG_SUPERMONSTER
|
MON_FLAG_MELEE
|
MON_FLAG_RANGED
);
12
ATTRIB
(
Golem
,
m_mins
,
vector
,
'-24 -24 -20'
);
13
ATTRIB
(
Golem
,
m_maxs
,
vector
,
'24 24 88'
);
14
#endif
15
#ifdef GAMEQC
16
ATTRIB
(
Golem
,
m_model
,
Model
, MDL_MON_GOLEM);
17
#endif
18
ATTRIB
(
Golem
,
netname
,
string
,
"golem"
);
19
ATTRIB
(
Golem
,
m_name
,
string
, _(
"Golem"
));
20
ENDCLASS
(
Golem
)
21
22
REGISTER_MONSTER
(GOLEM,
NEW
(
Golem
));
Golem
Definition
golem.qh:9
Golem::m_name
string m_name
Definition
golem.qh:19
Golem::spawnflags
int spawnflags
Definition
golem.qh:11
Golem::m_model
Model m_model
Definition
golem.qh:16
Golem::m_mins
vector m_mins
Definition
golem.qh:12
Golem::netname
string netname
Definition
golem.qh:18
Golem::m_maxs
vector m_maxs
Definition
golem.qh:13
Model
Definition
model.qh:3
Monster
Definition
monster.qh:35
MODEL
#define MODEL(name, path)
Definition
all.qh:8
M_Model
string M_Model(string m_mdl)
Definition
all.qc:4
all.qh
REGISTER_MONSTER
#define REGISTER_MONSTER(id, inst)
Definition
all.qh:11
MON_FLAG_RANGED
const int MON_FLAG_RANGED
monster shoots projectiles
Definition
monster.qh:10
MON_FLAG_MELEE
const int MON_FLAG_MELEE
Definition
monster.qh:11
MON_FLAG_SUPERMONSTER
const int MON_FLAG_SUPERMONSTER
incredibly powerful monster
Definition
monster.qh:9
NEW
#define NEW(cname,...)
Definition
oo.qh:117
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
ATTRIB
#define ATTRIB(...)
Definition
oo.qh:148
vector
vector
Definition
self.qh:92
common
monsters
monster
golem.qh
Generated on
for Xonotic QuakeC by
1.14.0