Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
zombie.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
../all.qh
"
4
5
#ifdef GAMEQC
6
MODEL
(MON_ZOMBIE,
M_Model
(
"zombie.dpm"
));
7
#endif
8
9
CLASS
(
Zombie
,
Monster
)
10
ATTRIB
(
Zombie
,
spawnflags
,
int
,
MONSTER_TYPE_UNDEAD
|
MON_FLAG_MELEE
|
MON_FLAG_RIDE
);
11
ATTRIB
(
Zombie
,
m_mins
,
vector
, '-18 -18 -25');
12
ATTRIB
(
Zombie
,
m_maxs
,
vector
, '18 18 47');
13
#ifdef GAMEQC
14
ATTRIB
(
Zombie
,
m_model
,
Model
, MDL_MON_ZOMBIE);
15
#endif
16
ATTRIB
(
Zombie
,
netname
,
string
,
"zombie"
);
17
ATTRIB
(
Zombie
,
m_name
,
string
, _(
"Zombie"
));
18
ENDCLASS
(
Zombie
)
19
20
REGISTER_MONSTER
(ZOMBIE,
NEW
(
Zombie
));
Model
Definition
model.qh:3
Monster
Definition
monster.qh:35
Monster::ATTRIB
ATTRIB(Monster, m_icon, string)
icon
Zombie
Definition
zombie.qh:9
Zombie::m_model
Model m_model
Definition
zombie.qh:14
Zombie::m_maxs
vector m_maxs
Definition
zombie.qh:12
Zombie::m_name
string m_name
Definition
zombie.qh:17
Zombie::m_mins
vector m_mins
Definition
zombie.qh:11
Zombie::netname
string netname
Definition
zombie.qh:16
Zombie::spawnflags
int spawnflags
Definition
zombie.qh:10
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_MELEE
const int MON_FLAG_MELEE
Definition
monster.qh:14
MON_FLAG_RIDE
const int MON_FLAG_RIDE
Definition
monster.qh:16
MONSTER_TYPE_UNDEAD
const int MONSTER_TYPE_UNDEAD
Definition
monster.qh:19
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
zombie.qh
Generated on
for Xonotic QuakeC by
1.14.0