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
ATTRIB
(
Golem
,
spawnflags
,
int
,
MON_FLAG_SUPERMONSTER
|
MON_FLAG_MELEE
|
MON_FLAG_RANGED
);
11
ATTRIB
(
Golem
,
m_mins
,
vector
, '-24 -24 -20');
12
ATTRIB
(
Golem
,
m_maxs
,
vector
, '24 24 88');
13
#ifdef GAMEQC
14
ATTRIB
(
Golem
,
m_model
,
Model
, MDL_MON_GOLEM);
15
#endif
16
ATTRIB
(
Golem
,
netname
,
string
,
"golem"
);
17
ATTRIB
(
Golem
,
m_name
,
string
, _(
"Golem"
));
18
ENDCLASS
(
Golem
)
19
20
REGISTER_MONSTER
(GOLEM,
NEW
(
Golem
));
Golem
Definition
golem.qh:9
Golem::m_name
string m_name
Definition
golem.qh:17
Golem::spawnflags
int spawnflags
Definition
golem.qh:10
Golem::m_model
Model m_model
Definition
golem.qh:14
Golem::m_mins
vector m_mins
Definition
golem.qh:11
Golem::netname
string netname
Definition
golem.qh:16
Golem::m_maxs
vector m_maxs
Definition
golem.qh:12
Model
Definition
model.qh:3
Monster
Definition
monster.qh:35
Monster::ATTRIB
ATTRIB(Monster, m_icon, string)
icon
MODEL
#define MODEL(name, path)
Definition
all.qh:8
M_Model
string M_Model(string m_mdl)
Definition
all.qc:3
all.qh
REGISTER_MONSTER
#define REGISTER_MONSTER(id, inst)
Definition
all.qh:9
MON_FLAG_RANGED
const int MON_FLAG_RANGED
Definition
monster.qh:13
MON_FLAG_MELEE
const int MON_FLAG_MELEE
Definition
monster.qh:14
MON_FLAG_SUPERMONSTER
const int MON_FLAG_SUPERMONSTER
Definition
monster.qh:12
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