From 4cc6f1abbe551cfb21566994f05de77ee154f1ec Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Fri, 10 Sep 2010 00:20:14 +0300 Subject: [PATCH] These two are balance cvars --- data/balance.cfg | 2 ++ data/defaultVoretournament.cfg | 2 -- data/qcsrc/server/cl_player.qc | 2 +- data/qcsrc/server/vore.qc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/balance.cfg b/data/balance.cfg index b4420c1e..91f9da0d 100644 --- a/data/balance.cfg +++ b/data/balance.cfg @@ -182,6 +182,8 @@ set g_balance_grabber_secondary_radius 75 set g_balance_vore_swallow_range 50 "distance below which you can swallow another player when facing them" set g_balance_vore_swallow_limit 3 "how many players can fit inside a stomach (should not be greater than 3 due to the number of stomach state models for players)" set g_balance_vore_swallow_delay 0.8 "how many seconds must pass before you can swallow again, after swallowing or regurgitating another player" +set g_balance_vore_swallow_stealprey 0.5 "probability of stealing someone's prey when eating them (when true their prey joins your stomach rather than popping out). 0 = never, 1 = always" +set g_balance_vore_swallow_dropweapon 0.75 "probability of dropping your weapon when swallowed. 0 = never and 1 = always, does not apply to team mates" 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_force 500 "regurgitated players rocket out at this speed when released" set g_balance_vore_regurgitate_predatorforce 250 "players are pushed back by this amount when regurgitating someone" diff --git a/data/defaultVoretournament.cfg b/data/defaultVoretournament.cfg index c4cfaac8..7d394e4a 100644 --- a/data/defaultVoretournament.cfg +++ b/data/defaultVoretournament.cfg @@ -1502,8 +1502,6 @@ set g_vore_regurgitatecolor_release "0.875 1 0.375" "the color players will have set g_vore_regurgitatecolor_digest "0.125 0.25 0" "the color players will have when digested" set g_vore_gurglesound 1 "predators make an ambient gurgling sound" set g_vore_biggergut 1 "when enabled, a player can't swallow someone with more players in their stomach than them" -set g_vore_stealprey 0.5 "probability of stealing someone's prey when eating them (when true their prey joins your stomach rather than popping out). 0 = never, 1 = always" -set g_vore_dropweapon 0.75 "probability of dropping your weapon when swallowed. 0 = never and 1 = always, does not apply to team mates" set g_vore_showpreyhealth 1 "when enabled, a predator can see their prey's health on the stomach board, and prey can see the health of players he's joining in the stomach" set g_vore_soundocclusion 0.25 "directional player sounds are cut to this amount of their initial volume for eaten players (simulates hearing harder from the stomach)" diff --git a/data/qcsrc/server/cl_player.qc b/data/qcsrc/server/cl_player.qc index 26b50d44..740cc6a9 100644 --- a/data/qcsrc/server/cl_player.qc +++ b/data/qcsrc/server/cl_player.qc @@ -750,7 +750,7 @@ void UpdateSelectedPlayer() { if(!self.dropweapon_check) if(self.predator.team != self.team) // don't disarm team mates when swallowing them - if(random() < cvar("g_vore_dropweapon")) + if(random() < cvar("g_balance_vore_swallow_dropweapon")) SpawnThrownWeapon (self.origin + (self.mins + self.maxs) * 0.5, self.switchweapon); self.dropweapon_check = TRUE; } diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 21897883..1c8b2d05 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -335,7 +335,7 @@ void Vore() Vore_Regurgitate(self); // now steal our prey's prey if this probability applies - if(random() < cvar("g_vore_stealprey")) + if(random() < cvar("g_balance_vore_swallow_stealprey")) { oldself = self; self = target_predator_predator; -- 2.39.2