6 MODEL(MON_SPIDER, M_Model("spider.dpm"));
10 ATTRIB(Spider, spawnflags, int, MON_FLAG_MELEE | MON_FLAG_RANGED | MON_FLAG_RIDE);
11 ATTRIB(Spider, m_mins, vector, '-18 -18 -25');
12 ATTRIB(Spider, m_maxs, vector, '18 18 30');
14 ATTRIB(Spider, m_model, Model, MDL_MON_SPIDER);
16 ATTRIB(Spider, netname, string, "spider");
17 ATTRIB(Spider, monster_name, string, _("Spider"));
20 REGISTER_MONSTER(SPIDER, NEW(Spider)) {
22 this.mr_precache(this);
26 #include <common/weapons/_all.qh>
28 CLASS(SpiderAttack, PortoLaunch)
29 /* flags */ ATTRIB(SpiderAttack, spawnflags, int, WEP_TYPE_OTHER | WEP_FLAG_HIDDEN | WEP_FLAG_MUTATORBLOCKED);
30 /* impulse */ ATTRIB(SpiderAttack, impulse, int, 9);
31 /* refname */ ATTRIB(SpiderAttack, netname, string, "spider");
32 /* wepname */ ATTRIB(SpiderAttack, m_name, string, _("Spider attack"));
33 ENDCLASS(SpiderAttack)
34 REGISTER_WEAPON(SPIDER_ATTACK, NEW(SpiderAttack));