From 8a13633ddd74a46f8563a04b3e09face74981e32 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Wed, 8 Sep 2010 19:05:03 +0300 Subject: [PATCH] Better cvar comments and names --- data/defaultVoretournament.cfg | 12 ++++++------ data/qcsrc/server/vore.qc | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/data/defaultVoretournament.cfg b/data/defaultVoretournament.cfg index 41704be8..3e7b2ccf 100644 --- a/data/defaultVoretournament.cfg +++ b/data/defaultVoretournament.cfg @@ -1494,14 +1494,14 @@ seta g_ghost_items_color "-1 -1 -1" "color of ghosted items, 0 0 0 leaves the co set cl_vore_stomachmodel 1 "when enabled, we see the stomach model around us when eaten. -1 = disabled, 1 = enabled, anything between 0 and 1 = alpha" set cl_vore_cameraspeed 1.5 "speed at which you see yourself sliding down when getting swallowed, 0 disables" -set g_vore_regurgitatecolor_released "0.75 1 0.5" "the color players will have when released from the stomach alive" -set g_vore_regurgitatecolor_digested "-0.125 0.25 0" "the color players will have when released from the stomach digested" +set g_vore_regurgitatecolor_release "0.75 1 0.5" "the color players will have when regurgitated alive" +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 the prey from someone you are eating (when true their prey joins your stomach rather than popping out). 0 = never and 1 = always" -set g_vore_dropweapon 0.75 "probability of dropping your weapon when being 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" -set g_vore_soundocclusion 0.25 "directional player sounds are played at this amount of their normal volume for eaten players (simulates hearing harder from the stomach)" +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)" set sv_weaponstats_damagefile "" "when set to a file name, per-weapon damage stats get written to that file" set sv_weaponstats_killfile "" "when set to a file name, per-weapon kill stats get written to that file" diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 9526959b..cbda0690 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -128,8 +128,8 @@ void Vore_Swallow(entity e) Vore_CameraEffect_Set(e); - if(stov(cvar_string("g_vore_regurgitatecolor_released"))) - e.colormod = stov(cvar_string("g_vore_regurgitatecolor_released")); + if(stov(cvar_string("g_vore_regurgitatecolor_release"))) + e.colormod = stov(cvar_string("g_vore_regurgitatecolor_release")); if(e.team == e.predator.team && teamplay) { @@ -233,8 +233,8 @@ void Vore_Digest() } if(self.health <= 0) - if(stov(cvar_string("g_vore_regurgitatecolor_digested"))) - self.colormod = stov(cvar_string("g_vore_regurgitatecolor_digested")); + if(stov(cvar_string("g_vore_regurgitatecolor_digest"))) + self.colormod = stov(cvar_string("g_vore_regurgitatecolor_digest")); } .float teamheal_step; -- 2.39.2