]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/monsters/lib/monsters_early.qh
Properly fix monsters thinking they're fish
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / lib / monsters_early.qh
1 // for definitions used outside the monsters folder
2
3 #ifdef SVQC
4 .string spawnmob;
5 .float monster_attack;
6
7 float monster_skill;
8 float spawncode_first_load; // used to tell the player the monster database is loading (TODO: fix this?)
9
10 .entity monster_owner; // new monster owner entity, fixes non-solid monsters
11 .float monstercount; // per player monster count
12
13 .float stat_monsters_killed; // stats
14 .float stat_monsters_total;
15 float monsters_total;
16 float monsters_killed;
17 void monsters_setstatus(); // monsters.qc
18 .float monster_moveflags; // checks where to move when not attacking
19
20 #endif // SVQC
21
22 #ifndef MENUQC
23
24 .float anim_start_time;
25
26 float MSF_UPDATE       = 2;
27 float MSF_STATUS       = 4;
28 float MSF_SETUP        = 8;
29 float MSF_ANG          = 16;
30 float MSF_MOVE         = 32;
31 float MSF_ANIM         = 64;
32
33 float MSF_FULL_UPDATE  = 16777215;
34
35 #endif // CSQC/SVQC