]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/monsters/lib/monsters_early.qh
Rename tarbaby to slime & begin cleanup of monster_attack_melee function
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / 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 #endif // SVQC
20
21 #ifndef MENUQC
22 .float monsterid;
23 // Monster IDs
24 float MONSTER_FIRST             = 1;
25 float MONSTER_ZOMBIE            = 2;
26 float MONSTER_OGRE                      = 3;
27 float MONSTER_DEMON             = 4;
28 float MONSTER_SHAMBLER          = 5;
29 float MONSTER_KNIGHT            = 6;
30 float MONSTER_MARINE            = 7;
31 float MONSTER_SCRAG             = 8;
32 float MONSTER_DOG                       = 9;
33 float MONSTER_SLIME             = 10;
34 float MONSTER_HELLKNIGHT        = 11;
35 float MONSTER_FISH                      = 12;
36 float MONSTER_MAGE                      = 13;
37 float MONSTER_SPIDER            = 14;
38 float MONSTER_LAST                      = 15;
39
40 float MSF_UPDATE       = 2;
41 float MSF_STATUS       = 4;
42 float MSF_SETUP        = 8;
43 float MSF_ANG          = 16;
44 float MSF_MOVE         = 32;
45 .float anim_start_time;
46 float MSF_ANIM         = 64;
47 float MSF_SIZE             = 128;
48
49 float MSF_FULL_UPDATE  = 16777215;
50
51 #endif // CSQC/SVQC