common_factor = 1;\r
\r
new_velocity_gain = self.dodging_velocity_gain - (common_factor * cvar("sv_dodging_horiz_speed"));\r
+\r
+ if(cvar("g_healthsize")) // if we are smaller or larger, we jump lower or higher\r
+ new_velocity_gain *= (1 - cvar("g_healthsize_movementfactor")) + cvar("g_healthsize_movementfactor") * self.scale;\r
+ if(self.swallow_progress_prey) // cut jumping based on swallow progress for prey\r
+ new_velocity_gain *= 1 - (self.swallow_progress_prey * cvar("g_balance_vore_swallow_speed_cutspd_prey"));\r
+ if(self.swallow_progress_pred) // cut jumping based on swallow progress for preds\r
+ new_velocity_gain *= 1 - (self.swallow_progress_pred * cvar("g_balance_vore_swallow_speed_cutspd_pred"));\r
+\r
if (new_velocity_gain < 0)\r
new_velocity_gain = 0;\r
\r