]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/monsters.qh
Attempt to fix monster vehicle support
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / monsters.qh
index b070a181ccde5de2443ca3dc9b8bdb898e8a2dfe..59ed8f2f097f3828ea7ad75a88219a0b658464c7 100644 (file)
@@ -9,11 +9,13 @@
 entity get_monsterinfo(float id);
 
 // special spawn flags
-const float MONSTER_RESPAWN_DEATHPOINT = 128; // re-spawn where we died
-const float MONSTER_TYPE_FLY = 256;
-const float MONSTER_TYPE_SWIM = 512;
-const float MONSTER_SIZE_BROKEN = 1024; // TODO: remove when bad models are replaced
-const float MON_FLAG_SUPERMONSTER = 2048; // incredibly powerful monster
+const float MONSTER_RESPAWN_DEATHPOINT = 2; // re-spawn where we died
+const float MONSTER_TYPE_FLY = 4;
+const float MONSTER_TYPE_SWIM = 8;
+const float MONSTER_SIZE_BROKEN = 16; // TODO: remove when bad models are replaced
+const float MON_FLAG_SUPERMONSTER = 32; // incredibly powerful monster
+const float MON_FLAG_RANGED = 64; // monster shoots projectiles
+const float MON_FLAG_MELEE = 128;
 
 // entity properties of monsterinfo:
 .float monsterid; // MON_...