- return true;
- }
- METHOD(Mage, mr_pain, bool(Monster thismon))
- {
- return true;
- }
- METHOD(Mage, mr_death, bool(Monster thismon))
- {
- SELFPARAM();
- setanim(self, self.anim_die1, false, true, true);
- return true;
- }
- #endif
- #ifndef MENUQC
- METHOD(Mage, mr_anim, bool(Monster thismon))
- {
- SELFPARAM();
- vector none = '0 0 0';
- self.anim_die1 = animfixfps(self, '4 1 0.5', none); // 2 seconds
- self.anim_walk = animfixfps(self, '1 1 1', none);
- self.anim_idle = animfixfps(self, '0 1 1', none);
- self.anim_pain1 = animfixfps(self, '3 1 2', none); // 0.5 seconds
- self.anim_shoot = animfixfps(self, '2 1 5', none); // analyze models and set framerate
- self.anim_run = animfixfps(self, '5 1 1', none);
-
- return true;
- }
- #endif
- #ifdef SVQC
- .float speed;
- spawnfunc(item_health_large);
- METHOD(Mage, mr_setup, bool(Monster thismon))
- {
- SELFPARAM();
- if(!self.health) self.health = (autocvar_g_monster_mage_health);
- if(!self.speed) { self.speed = (autocvar_g_monster_mage_speed_walk); }
- if(!self.speed2) { self.speed2 = (autocvar_g_monster_mage_speed_run); }
- if(!self.stopspeed) { self.stopspeed = (autocvar_g_monster_mage_speed_stop); }
- if(!self.damageforcescale) { self.damageforcescale = (autocvar_g_monster_mage_damageforcescale); }