]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/monsters/monster/zombie.qh
Monsters, turrets, vehicles: move definitions to headers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / monster / zombie.qh
1 #pragma once
2
3 #ifdef GAMEQC
4 MODEL(MON_ZOMBIE, M_Model("zombie.dpm"));
5 #endif
6
7 CLASS(Zombie, Monster)
8     ATTRIB(Zombie, spawnflags, int, MON_FLAG_MELEE | MON_FLAG_RIDE);
9     ATTRIB(Zombie, mins, vector, '-18 -18 -25');
10     ATTRIB(Zombie, maxs, vector, '18 18 47');
11 #ifdef GAMEQC
12     ATTRIB(Zombie, m_model, Model, MDL_MON_ZOMBIE);
13 #endif
14     ATTRIB(Zombie, netname, string, "zombie");
15     ATTRIB(Zombie, monster_name, string, _("Zombie"));
16 ENDCLASS(Zombie)
17
18 REGISTER_MONSTER(ZOMBIE, NEW(Zombie)) {
19 #ifdef GAMEQC
20     this.mr_precache(this);
21 #endif
22 }