+METHOD(Wyvern, mr_death, bool(Wyvern this, entity actor))
+{
+ TC(Wyvern, this);
+ setanim(actor, actor.anim_die1, false, true, true);
+ actor.velocity_x = -200 + 400 * random();
+ actor.velocity_y = -200 + 400 * random();
+ actor.velocity_z = 100 + 100 * random();
+ return true;
+}
+#endif
+#ifndef MENUQC
+METHOD(Wyvern, mr_anim, bool(Wyvern this, entity actor))
+{
+ TC(Wyvern, this);
+ vector none = '0 0 0';
+ actor.anim_die1 = animfixfps(actor, '4 1 0.5', none); // 2 seconds
+ actor.anim_walk = animfixfps(actor, '1 1 1', none);
+ actor.anim_idle = animfixfps(actor, '0 1 1', none);
+ actor.anim_pain1 = animfixfps(actor, '3 1 2', none); // 0.5 seconds
+ actor.anim_shoot = animfixfps(actor, '2 1 5', none); // analyze models and set framerate
+ actor.anim_run = animfixfps(actor, '1 1 1', none);
+ return true;
+}
+#endif
+#ifdef SVQC
+spawnfunc(item_cells);
+METHOD(Wyvern, mr_setup, bool(Wyvern this, entity actor))
+{
+ TC(Wyvern, this);
+ if(!actor.health) actor.health = (autocvar_g_monster_wyvern_health);
+ if(!actor.speed) { actor.speed = (autocvar_g_monster_wyvern_speed_walk); }
+ if(!actor.speed2) { actor.speed2 = (autocvar_g_monster_wyvern_speed_run); }
+ if(!actor.stopspeed) { actor.stopspeed = (autocvar_g_monster_wyvern_speed_stop); }
+ if(!actor.damageforcescale) { actor.damageforcescale = (autocvar_g_monster_wyvern_damageforcescale); }