\r
mjumpheight = cvar("sv_jumpvelocity");\r
if(self.scale) // we are smaller or larger, so we jump lower or higher\r
- mjumpheight *= (1 - cvar("g_healthsize_movementfactor")) + cvar("g_healthsize_movementfactor") * self.scale; \r
+ mjumpheight *= (1 - cvar("g_healthsize_movementfactor")) + cvar("g_healthsize_movementfactor") * self.scale;\r
+ if(self.swallow_progress_prey) // cut jumping based on swallow progress\r
+ mjumpheight *= 1 - (self.swallow_progress_prey * cvar("g_balance_vore_swallow_speed_cutspd"));\r
+\r
if (self.waterlevel >= WATERLEVEL_SWIMMING)\r
{\r
if (self.watertype == CONTENT_WATER)\r
\r
if(self.scale) // we are smaller or larger, so we run slower or faster\r
wishspeed *= (1 - cvar("g_healthsize_movementfactor")) + cvar("g_healthsize_movementfactor") * self.scale; \r
+ if(self.swallow_progress_prey) // cut speed based on swallow progress\r
+ wishspeed *= 1 - (self.swallow_progress_prey * cvar("g_balance_vore_swallow_speed_cutspd"));\r
\r
if(cvar("sv_gameplayfix_q2airaccelerate"))\r
wishspeed0 = wishspeed;\r
maxspd_mod *= swampspd_mod; // only one common speed modder please!\r
if(cvar("g_balance_vore_weight_gravity") > 0)\r
maxspd_mod *= 1 - bound(0, self.stomach_load * cvar("g_balance_vore_weight_speed"), 1); // apply stomach weight\r
- if(self.swallow_progress_prey && cvar("g_balance_vore_swallow_speed_cutspd"))\r
- maxspd_mod *= 1 - (self.swallow_progress_prey * cvar("g_balance_vore_swallow_speed_cutspd")); // cut speed based on swallow progress\r
swampspd_mod = 1;\r
\r
// if dead, behave differently\r