From: MirceaKitsune Date: Thu, 2 Sep 2010 15:08:00 +0000 (+0300) Subject: It's probably better without randomization though X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2985c27f17fa562c98956ea2395bb45c8ed28bb7;p=voretournament%2Fvoretournament.git It's probably better without randomization though --- diff --git a/data/balance.cfg b/data/balance.cfg index 7de70ecf..22114c91 100644 --- a/data/balance.cfg +++ b/data/balance.cfg @@ -184,8 +184,8 @@ set g_balance_vore_swallow_limit 3 "how many players can fit inside a stomach, s set g_balance_vore_swallow_delay 0.5 "how many seconds must pass before you can swallow someone again" set g_balance_vore_regurgitate_delay 0.135 "regurgitation delay" set g_balance_vore_regurgitate_velocitylimit 1200 "when a predator is going faster than this, the prey is squeezed out of them" -set g_balance_vore_regurgitate_force 500 "regurgitated players rocket out at this speed when released (randomized)" -set g_balance_vore_regurgitate_eaterforce 500 "players are pushed by this amount when regurgitating someone (randomized)" +set g_balance_vore_regurgitate_force 500 "regurgitated players rocket out at this speed when released" +set g_balance_vore_regurgitate_eaterforce 500 "players are pushed by this amount when regurgitating someone" set g_balance_vore_digestion_damage 4 "amount of damage applied to victims during digestion" set g_balance_vore_digestion_vampire 1 "amount of health you gain from each enemy during digestion" set g_balance_vore_digestion_vampire_stable 150 "you stop gaining health past this point (best to keep equal or lower than g_balance_health_rotstable)" diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 40d84e72..037aca00 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -108,14 +108,12 @@ void Vore_Regurgitate(entity e) // velocities local vector oldforward, oldright, oldup; - local float rand; oldforward = v_forward; oldright = v_right; oldup = v_up; - rand = random(); makevectors(e.eater.v_angle); - e.velocity = v_forward * rand * cvar("g_balance_vore_regurgitate_force"); - e.eater.velocity += -v_forward * rand * cvar("g_balance_vore_regurgitate_eaterforce"); + e.velocity = v_forward * cvar("g_balance_vore_regurgitate_force"); + e.eater.velocity += -v_forward * cvar("g_balance_vore_regurgitate_eaterforce"); v_forward = oldforward; v_right = oldright; v_up = oldup;