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
6MODEL(MON_ZOMBIE, M_Model("zombie.dpm"));
7#endif
8
10#ifdef SVQC
12 ATTRIB(Zombie, m_mins, vector, '-18 -18 -25');
13 ATTRIB(Zombie, m_maxs, vector, '18 18 47');
14#endif
15#ifdef GAMEQC
16 ATTRIB(Zombie, m_model, Model, MDL_MON_ZOMBIE);
17#endif
18 ATTRIB(Zombie, netname, string, "zombie");
19 ATTRIB(Zombie, m_name, string, _("Zombie"));
21
Definition model.qh:3
Model m_model
Definition zombie.qh:16
vector m_maxs
Definition zombie.qh:13
string m_name
Definition zombie.qh:19
vector m_mins
Definition zombie.qh:12
string netname
Definition zombie.qh:18
int spawnflags
Definition zombie.qh:11
#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_MELEE
Definition monster.qh:11
const int MON_FLAG_RIDE
monster can be ridden in special modes
Definition monster.qh:13
const int MONSTER_TYPE_UNDEAD
monster is by most definitions a zombie (doesn't fully die unless gibbed)
Definition monster.qh:16
#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