set g_monsters_skill_hard 5 "Monster hard skill level (used for skill based functions)"
set g_monsters_skill_insane 7 "Monster insane skill level (used for skill based functions)"
set g_monsters_skill_nightmare 10 "Monster nightmare skill level (used for skill based functions)"
+set g_monsters_spawn_list "ogre demon shambler knight soldier scrag dog spawn hellknight fish vore enforcer zombie spawner spider" "monsters not listed here will spawn as knights"
// Enforcer
set g_monster_enforcer 1 "Enable Enforcers"
float autocvar_g_monsters_skill_hard;
float autocvar_g_monsters_skill_insane;
float autocvar_g_monsters_skill_nightmare;
+string autocvar_g_monsters_spawn_list;
\ No newline at end of file
if(tospawn == "list")
{
sprint(self, "Available monsters:\n");
- sprint(self, strcat(monsterlist(), "\n"));
+ sprint(self, strcat(autocvar_g_monsters_spawn_list, "\n"));
return;
}
float monsters_total;
float monsters_killed;
void monsters_setstatus(); // monsters.qc
-string monsterlist();
setorigin(e, orig);
- if not(spawnmonster_checkinlist(monster, monsterlist()))
+ if not(spawnmonster_checkinlist(monster, autocvar_g_monsters_spawn_list))
monster = "knight";
e.realowner = spawnedby;
#include "monster/zombie.qc"
#include "monster/spider.qc"
#include "monster/spawner.qc"
-string monsterlist () { return "ogre demon shambler knight soldier scrag dog spawn hellknight fish vore enforcer zombie spawner spider"; }
\ No newline at end of file