]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/monsters/lib/defs.qh
Remove all scale modifiers (networking scale changes is too broken)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / monsters / lib / defs.qh
index 79d3903d83ca44c7820ef516e3ce6eacccb543cf..f6f03ddc285068bf32719a63235ce32f7b0833c3 100644 (file)
@@ -1,16 +1,16 @@
-.float sprite_height;
-
 .void()                attack_melee;
 .float()       attack_ranged;
 .float()       checkattack;
 
 .float candrop;
 
+.float spawn_time; // stop monster from moving around right after spawning
+
 .string oldtarget2;
+.float lastshielded;
 
-.float respawnflags;
-const float MONSTER_RESPAWN_SPAWNPOINT = 0; // re-spawn at original spawn point
-const float MONSTER_RESPAWN_DEATHPOINT = 1; // re-spawn where we died
+const float MONSTER_RESPAWN_SPAWNPOINT = 10; // re-spawn at original spawn point
+const float MONSTER_RESPAWN_DEATHPOINT = 11; // re-spawn where we died
 
 .float monster_respawned; // used to make sure we're not recounting respawned monster stats
 
@@ -22,12 +22,12 @@ const float MONSTERSKILL_NOTHARD = 1024; // monster will not spawn on skill 4
 const float MONSTERSKILL_NOTINSANE = 2048; // monster will not spawn on skill 5
 const float MONSTERSKILL_NOTNIGHTMARE = 4096; // monster will not spawn on skill >= 6
 
+// legacy flags
 const float MONSTERFLAG_NORESPAWN = 2;
 const float MONSTERFLAG_MINIBOSS = 64;  // monster spawns as mini-boss (also has a chance of naturally becoming one)
 const float MONSTERFLAG_NOWANDER = 128; // disable wandering around (currently unused)
 const float MONSTERFLAG_APPEAR = 256; // delay spawn until triggered
-const float MONSTERFLAG_GIANT = 512; // experimental giant monsters feature
-const float MONSTERFLAG_SPAWNED = 1024; // flag for spawned monsters
+const float MONSTERFLAG_SPAWNED = 512; // flag for spawned monsters
 
 .float msound_delay; // restricts some monster sounds
 .string msound_idle;