From ea386778bf9db0748806d25998cfc5a2f98d6969 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 18 Jul 2011 14:00:17 +0300 Subject: [PATCH] Adjust some more cvars to the new system --- data/balanceVT.cfg | 6 +++--- data/qcsrc/server/vore.qc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/balanceVT.cfg b/data/balanceVT.cfg index ddb3f473..bcfe3491 100644 --- a/data/balanceVT.cfg +++ b/data/balanceVT.cfg @@ -186,8 +186,9 @@ set g_balance_grabber_reload_time 2 // {{{ stomach set g_balance_vore_load_pred_capacity 100 "capacity percent a player's stomach has, influenced by player size" -set g_balance_vore_load_pred_weight 1 "you get this heavier the more you eat, at 1 each meal makes you two times heavier" -set g_balance_vore_load_pred_speed 0.15 "you get this slower the more you eat, at 0.5 each meal makes you two times slower" +set g_balance_vore_load_pred_weight 0.01 "you get this heavier the more you eat, at 1 each meal makes you two times heavier" +set g_balance_vore_load_pred_speed 0.0015 "you get this slower the more you eat, at 0.5 each meal makes you two times slower" +set g_balance_vore_load_pred_speedcap 34 "when a predator is going faster than this, their prey is squeezed out of them, multiplied by stomach load" set g_balance_vore_load_prey_mass 30 "prey mass, influenced by player size" set g_balance_vore_swallow_range 140 "distance below which you can swallow another player when facing them" set g_balance_vore_swallow_speed_fill 2.5 "how long it takes to swallow a player, 0 is instant" @@ -201,7 +202,6 @@ set g_balance_vore_swallow_stealprey 0.7 "probability of stealing someone's prey 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" set g_balance_vore_swallow_punchangle 12 "your view gets tilted by this amount when swallowing someone" set g_balance_vore_regurgitate_damage 5 "predators take this amount of damage whenever regurgitating someone (influenced by player scale difference)" -set g_balance_vore_regurgitate_speedcap 3400 "when a predator is going faster than this, their prey is squeezed out of them, multiplied by stomach load" set g_balance_vore_regurgitate_swallowprogress 0.5 "regurgitated prey is given this amount of swallow progress, to simulate being more vulnerable (if slow swallowing is enabled)" set g_balance_vore_regurgitate_force 600 "regurgitated players rocket out at this speed, in the direction the predator is facing" set g_balance_vore_regurgitate_predatorforce 450 "players are pushed back by this amount when regurgitating someone, opposite of the direction they are facing" diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 4fdb7ea4..a683fc65 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -40,7 +40,7 @@ float Swallow_condition_check(entity prey) if(prey.classname == "player" && !prey.stat_eaten && prey.deadflag == DEAD_NO) // we can't swallow someone who's already in someone else's stomach if(self.classname == "player" && !self.stat_eaten && self.deadflag == DEAD_NO) // we can't swallow players while inside someone's stomach ourselves if(!self.BUTTON_REGURGITATE && time > self.action_delay) - if not(vlen(self.velocity) > cvar("g_balance_vore_regurgitate_speedcap") / (1 + self.stomach_load)) + if not(vlen(self.velocity) > cvar("g_balance_vore_load_pred_speedcap") / (1 + self.stomach_load)) { string swallow_complain; if(teams_matter && prey.team == self.team && !cvar("g_vore_teamvore")) @@ -883,7 +883,7 @@ void Vore() if(self.predator.deadflag != DEAD_NO) Vore_Regurgitate(self); - else if(vlen(self.predator.velocity) > cvar("g_balance_vore_regurgitate_speedcap") / (1 + self.predator.stomach_load)) + else if(vlen(self.predator.velocity) > cvar("g_balance_vore_load_pred_speedcap") / (1 + self.predator.stomach_load)) Vore_Regurgitate(self); // apply delayed regurgitating if it was scheduled -- 2.39.2