From: MirceaKitsune Date: Wed, 8 Sep 2010 16:27:06 +0000 (+0300) Subject: Fix more cvar comments X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7517d70dd51415627774cc03d287d6615bd03a8f;p=voretournament%2Fvoretournament.git Fix more cvar comments --- diff --git a/data/balance.cfg b/data/balance.cfg index 26950ead..b1599b05 100644 --- a/data/balance.cfg +++ b/data/balance.cfg @@ -179,22 +179,22 @@ set g_balance_grabber_secondary_force 175 set g_balance_grabber_secondary_radius 75 // }}} // {{{ stomach -set g_balance_vore_swallow_range 50 "distance at 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 states for player models" -set g_balance_vore_swallow_delay 0.5 "how many seconds must pass before you can swallow someone, after having swallowed or regurgitated another player" -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_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.5 "how many seconds must pass before you can swallow again, after swallowing or regurgitating another player" +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_eaterforce 250 "players are pushed by this amount when regurgitating someone" +set g_balance_vore_regurgitate_predatorforce 250 "players are pushed back by this amount when regurgitating someone" +set g_balance_vore_regurgitate_delay 0.135 "regurgitation delay" 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)" +set g_balance_vore_digestion_vampire 1 "amount of health you gain from digestion" +set g_balance_vore_digestion_vampire_stable 150 "maximum amount of health you can gain from digestion (best kept equal or less than g_balance_health_rotstable)" set g_balance_vore_teamheal 1 "when enabled, having a team mate in your stomach will keep healing them by this amount" -set g_balance_vore_teamheal_stable 150 "maximum amount of health you can get from a teamheal" +set g_balance_vore_teamheal_stable 150 "maximum amount of health you can gain from a teamheal (best kept equal or less than g_balance_health_rotstable)" set g_balance_vore_weight_gravity 1 "you get this heavier the more you eat, at 1 each meal makes you two times heavier" set g_balance_vore_weight_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_kick_damage_min 10 "minimum amount of damage you can do during a stomach kick" -set g_balance_vore_kick_damage_max 30 "maximum amount of damage you can do during a stomach kick" +set g_balance_vore_kick_damage_min 10 "minimum amount of damage you can do with a stomach kick" +set g_balance_vore_kick_damage_max 30 "maximum amount of damage you can do with a stomach kick" set g_balance_vore_kick_delay 1 "how many seconds must pass before you can perform another stomach kick" -set g_balance_vore_kick_escapeprobability 0.25 "probability to get regurgitated while performing scomach kicks (0 = never, 1 = always)" +set g_balance_vore_kick_escapeprobability 0.25 "probability of getting regurgitated while performing stomach kicks (0 = never, 1 = always)" // }}} diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 00ba629b..90c8472c 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -27,7 +27,7 @@ float Swallow_condition_check(entity prey) // checks the necessary conditions for swallowing another player if(prey.classname == "player" && prey.predator.classname != "player" && prey.deadflag == DEAD_NO) // we can't swallow someone who's already in someone else's stomach if(self.classname == "player" && self.predator.classname != "player" && self.deadflag == DEAD_NO) // we can't swallow players while inside someone's stomach ourselves - if not(vlen(self.velocity) > cvar("g_balance_vore_regurgitate_velocitylimit")) + if not(vlen(self.velocity) > cvar("g_balance_vore_regurgitate_speedcap")) { if(self.stomach_load >= cvar("g_balance_vore_swallow_limit")) { @@ -165,7 +165,7 @@ void Vore_Regurgitate(entity e) oldup = v_up; makevectors(e.predator.v_angle); e.velocity = v_forward * cvar("g_balance_vore_regurgitate_force"); - e.predator.velocity += -v_forward * cvar("g_balance_vore_regurgitate_eaterforce"); + e.predator.velocity += -v_forward * cvar("g_balance_vore_regurgitate_predatorforce"); v_forward = oldforward; v_right = oldright; v_up = oldup; @@ -403,7 +403,7 @@ void Vore() self = oldself; } } - else if(vlen(self.predator.velocity) > cvar("g_balance_vore_regurgitate_velocitylimit")) + else if(vlen(self.predator.velocity) > cvar("g_balance_vore_regurgitate_speedcap")) Vore_Regurgitate(self); // apply delayed regurgitating