CLASS(Mage, Monster)
ATTRIB(Mage, spawnflags, int, MON_FLAG_MELEE | MON_FLAG_RANGED);
- ATTRIB(Mage, mins, vector, '-16 -16 -24');
- ATTRIB(Mage, maxs, vector, '16 16 55');
- ATTRIB(Mage, m_mins, vector, '-36 -36 -24');
- ATTRIB(Mage, m_maxs, vector, '36 36 50');
++ ATTRIB(Mage, m_mins, vector, '-16 -16 -24');
++ ATTRIB(Mage, m_maxs, vector, '16 16 55');
#ifdef GAMEQC
ATTRIB(Mage, m_model, Model, MDL_MON_MAGE);
#endif
CLASS(Spider, Monster)
ATTRIB(Spider, spawnflags, int, MON_FLAG_MELEE | MON_FLAG_RANGED | MON_FLAG_RIDE);
- ATTRIB(Spider, mins, vector, '-30 -30 -25');
- ATTRIB(Spider, maxs, vector, '30 30 30');
- ATTRIB(Spider, m_mins, vector, '-18 -18 -25');
- ATTRIB(Spider, m_maxs, vector, '18 18 30');
++ ATTRIB(Spider, m_mins, vector, '-30 -30 -25');
++ ATTRIB(Spider, m_maxs, vector, '30 30 30');
#ifdef GAMEQC
ATTRIB(Spider, m_model, Model, MDL_MON_SPIDER);
#endif
--- /dev/null
- ATTRIB(Troll, mins, vector, '-45 -45 -24');
- ATTRIB(Troll, maxs, vector, '45 45 160');
+#pragma once
+
+#ifdef GAMEQC
+MSG_INFO_NOTIF(DEATH_SELF_MON_TROLL_MELEE, 1, 2, 1, "s1 s2loc spree_lost", "s1", "notify_death", "^BG%s^K1 was ripped apart by a Troll%s%s", "")
+MSG_MULTI_NOTIF(DEATH_SELF_MON_TROLL_MELEE, 1, NULL, INFO_DEATH_SELF_MON_TROLL_MELEE, CENTER_DEATH_SELF_MONSTER)
+REGISTER_DEATHTYPE(MONSTER_TROLL_MELEE, DEATH_SELF_MON_TROLL_MELEE, DEATH_MURDER_MONSTER, "monster")
+#endif
+
+#ifdef GAMEQC
+MODEL(MON_TROLL, M_Model("troll.dpm"));
+#endif
+
+CLASS(Troll, Monster)
+ ATTRIB(Troll, spawnflags, int, MON_FLAG_SUPERMONSTER | MON_FLAG_MELEE);
++ ATTRIB(Troll, m_mins, vector, '-45 -45 -24');
++ ATTRIB(Troll, m_maxs, vector, '45 45 160');
+#ifdef GAMEQC
+ ATTRIB(Troll, m_model, Model, MDL_MON_TROLL);
+#endif
+ ATTRIB(Troll, netname, string, "troll");
+ ATTRIB(Troll, monster_name, string, _("Troll"));
+ENDCLASS(Troll)
+
+REGISTER_MONSTER(TROLL, NEW(Troll)) {
+#ifdef GAMEQC
+ this.mr_precache(this);
+#endif
+}
#endif
CLASS(Wyvern, Monster)
- ATTRIB(Wyvern, spawnflags, int, MONSTER_TYPE_FLY | MONSTER_SIZE_BROKEN | MON_FLAG_RANGED | MON_FLAG_RIDE);
- ATTRIB(Wyvern, m_mins, vector, '-20 -20 -58');
- ATTRIB(Wyvern, m_maxs, vector, '20 20 20');
+ ATTRIB(Wyvern, spawnflags, int, MONSTER_TYPE_FLY | MON_FLAG_RANGED | MON_FLAG_RIDE);
- ATTRIB(Wyvern, mins, vector, '-30 -30 -24');
- ATTRIB(Wyvern, maxs, vector, '30 30 30');
++ ATTRIB(Wyvern, m_mins, vector, '-30 -30 -24');
++ ATTRIB(Wyvern, m_maxs, vector, '30 30 30');
#ifdef GAMEQC
ATTRIB(Wyvern, m_model, Model, MDL_MON_WYVERN);
#endif