]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Regurgitated prey is given 0.5 swallow progress, to simulate being more vulnerable
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 9 Jul 2011 16:14:28 +0000 (19:14 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 9 Jul 2011 16:14:28 +0000 (19:14 +0300)
data/balanceVT.cfg
data/qcsrc/server/vore.qc

index 7e9d98018caefdb65e13388e989c89ccc742333a..78d45239cddd50eecad17ccc6a47759ca5dbb13a 100644 (file)
@@ -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"\r
 set g_balance_vore_swallow_punchangle 12 "your view gets tilted by this amount when swallowing someone"\r
 set g_balance_vore_regurgitate_speedcap 1200 "when a predator is going faster than this, their prey is squeezed out of them"\r
+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)"\r
 set g_balance_vore_regurgitate_force 600 "regurgitated players rocket out at this speed, in the direction the predator is facing"\r
 set g_balance_vore_regurgitate_predatorforce 450 "players are pushed back by this amount when regurgitating someone, opposite of the direction they are facing"\r
 set g_balance_vore_regurgitate_delay 0.5 "regurgitation delay"\r
index d0abeb65659279c267c1929c83d68cf66e4500d9..557b2e1bf0b4ab2b5ee085b84aeb3c01c12fb972 100644 (file)
@@ -292,6 +292,10 @@ void Vore_Regurgitate(entity e)
        e.pusher = e.predator; // allows us to frag players by regurgitating them in deadly pits\r
        e.pushltime = time + cvar("g_maxpushtime");\r
 \r
+       // regurgitated prey is given this amount of swallow progress, to simulate being more vulnerable\r
+       if(cvar("g_balance_vore_swallow_speed_fill"))\r
+               e.swallow_progress_prey = cvar("g_balance_vore_regurgitate_swallowprogress");\r
+\r
        PlayerSound(e.predator, playersound_regurgitate, CHAN_VOICE, VOICETYPE_PLAYERSOUND);\r
        setanim(e.predator, e.predator.anim_pain1, FALSE, TRUE, TRUE); // looks good for swallowing / regurgitating\r
        pointparticles(particleeffectnum("regurgitate"), e.predator.origin, '0 0 0', 1);\r