From: MirceaKitsune Date: Sat, 9 Jul 2011 16:14:28 +0000 (+0300) Subject: Regurgitated prey is given 0.5 swallow progress, to simulate being more vulnerable X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cac630cc1fd696f0df5ec388ef49b4d4feeed6b1;p=voretournament%2Fvoretournament.git Regurgitated prey is given 0.5 swallow progress, to simulate being more vulnerable --- diff --git a/data/balanceVT.cfg b/data/balanceVT.cfg index 7e9d9801..78d45239 100644 --- a/data/balanceVT.cfg +++ b/data/balanceVT.cfg @@ -195,6 +195,7 @@ 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_speedcap 1200 "when a predator is going faster than this, their prey is squeezed out of them" +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" set g_balance_vore_regurgitate_delay 0.5 "regurgitation delay" diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index d0abeb65..557b2e1b 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -292,6 +292,10 @@ void Vore_Regurgitate(entity e) e.pusher = e.predator; // allows us to frag players by regurgitating them in deadly pits e.pushltime = time + cvar("g_maxpushtime"); + // regurgitated prey is given this amount of swallow progress, to simulate being more vulnerable + if(cvar("g_balance_vore_swallow_speed_fill")) + e.swallow_progress_prey = cvar("g_balance_vore_regurgitate_swallowprogress"); + PlayerSound(e.predator, playersound_regurgitate, CHAN_VOICE, VOICETYPE_PLAYERSOUND); setanim(e.predator, e.predator.anim_pain1, FALSE, TRUE, TRUE); // looks good for swallowing / regurgitating pointparticles(particleeffectnum("regurgitate"), e.predator.origin, '0 0 0', 1);