Xonotic
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 
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, monster_name, string, _("Zombie"));
18 ENDCLASS(Zombie)
19 
20 REGISTER_MONSTER(ZOMBIE, NEW(Zombie));
#define NEW(cname,...)
Definition: oo.qh:105
CLASS(Object) Object
Definition: oo.qh:318
string netname
Definition: powerups.qc:20
string M_Model(string m_mdl)
Definition: all.qc:3
float spawnflags
Definition: progsdefs.qc:191
#define ATTRIB(...)
Definition: oo.qh:136
Definition: zombie.qh:9
const int MONSTER_TYPE_UNDEAD
Definition: monster.qh:15
const int MON_FLAG_RIDE
Definition: monster.qh:12
Definition: model.qh:3
#define MODEL(name, path)
Definition: all.qh:8
vector(float skel, float bonenum) _skel_get_boneabs_hidden
const int MON_FLAG_MELEE
Definition: monster.qh:10
#define ENDCLASS(cname)
Definition: oo.qh:269
REGISTER_MONSTER(ZOMBIE, NEW(Zombie))