set g_balance_vore_swallow_range 100 "distance below which you can swallow another player when facing them"\r
set g_balance_vore_swallow_limit 3 "how many players can fit in the stomach at a time, may range between 1 and 9"\r
set g_balance_vore_swallow_speed_fill 2 "how long it takes to swallow a player, 0 is instant"\r
-set g_balance_vore_swallow_speed_decrease 0.5 "how fast the swallow progress decreases, when the predator is no longer swallowing"\r
-set g_balance_vore_swallow_speed_cutspd 1 "if enabled, prey walks slower the closer they are to being swallowed"\r
+set g_balance_vore_swallow_speed_decrease 0.25 "how fast the swallow progress decreases, when the predator is no longer swallowing"\r
+set g_balance_vore_swallow_speed_cutspd 0.5 "prey movement slows down by this amount the closer they are to being swallowed"\r
set g_balance_vore_swallow_speed 1 "how long it takes to swallow a player"\r
set g_balance_vore_swallow_stealprey 0.7 "probability of stealing someone's prey when eating them (when true their prey joins your stomach rather than popping out). 0 = never, 1 = always"\r
set g_balance_vore_swallow_dropweapon 0.6 "probability of dropping your weapon when swallowed. 0 = never and 1 = always, does not apply to team mates"\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; // cut speed based on swallow progress\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
}\r
\r
// the swallow progress of prey and preds idly decrease by this amount\r
- if(self.swallow_progress_pred)\r
+ if(cvar("g_balance_vore_swallow_speed_decrease"))\r
{\r
- self.swallow_progress_pred -= cvar("g_balance_vore_swallow_speed_decrease") * frametime;\r
- if(self.swallow_progress_pred < 0)\r
- self.swallow_progress_pred = 0;\r
- }\r
- if(self.swallow_progress_prey)\r
- {\r
- self.swallow_progress_prey -= cvar("g_balance_vore_swallow_speed_decrease") * frametime;\r
- if(self.swallow_progress_prey < 0)\r
- self.swallow_progress_prey = 0;\r
+ if(self.swallow_progress_pred)\r
+ {\r
+ self.swallow_progress_pred -= cvar("g_balance_vore_swallow_speed_decrease") * frametime;\r
+ if(self.swallow_progress_pred < 0)\r
+ self.swallow_progress_pred = 0;\r
+ }\r
+ if(self.swallow_progress_prey)\r
+ {\r
+ self.swallow_progress_prey -= cvar("g_balance_vore_swallow_speed_decrease") * frametime;\r
+ if(self.swallow_progress_prey < 0)\r
+ self.swallow_progress_prey = 0;\r
+ }\r
}\r
\r
// apply delays and skip the vore system under some circumstances\r