]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/monsters/monster/zombie.qh
Merge branch 'master' into martin-t/dmgtext2
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / monster / zombie.qh
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, monster_name, string, _("Zombie"));
18 ENDCLASS(Zombie)
19
20 REGISTER_MONSTER(ZOMBIE, NEW(Zombie)) {
21 #ifdef GAMEQC
22     this.mr_precache(this);
23 #endif
24 }