set g_vore_showhealth 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"\r
set g_vore_gurglesound 1 "predators make an ambient gurgling sound"\r
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)"\r
-set g_vore_regurgitatecolor_release "0.875 1 0.375" "the color players will have when regurgitated alive"\r
-set g_vore_regurgitatecolor_digest "0.125 0.25 0" "the color players will have when digested"\r
+set g_vore_regurgitatecolor_release "0.4 0.6 0.1" "the color players will have when regurgitated alive"\r
+set g_vore_regurgitatecolor_release_fade 0.01 "how quickly the regurgitation color washes off players once they leave the stomach"\r
+set g_vore_regurgitatecolor_digest "0.15 0.25 0" "the color players will have when digested"\r
\r
set sv_weaponstats_damagefile "" "when set to a file name, per-weapon damage stats get written to that file"\r
set sv_weaponstats_killfile "" "when set to a file name, per-weapon kill stats get written to that file"\r
return;\r
}\r
\r
+ // wash the goo away from players once they leave the stomach\r
+ if(self.predator.classname != "player")\r
+ if(stov(cvar_string("g_vore_regurgitatecolor_release")))\r
+ if(self.colormod)\r
+ if(cvar("g_vore_regurgitatecolor_release_fade"))\r
+ {\r
+ self.colormod_x += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
+ self.colormod_y += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
+ self.colormod_z += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
+ if(self.colormod_x > 1)\r
+ self.colormod_x = 1;\r
+ if(self.colormod_y > 1)\r
+ self.colormod_y = 1;\r
+ if(self.colormod_z > 1)\r
+ self.colormod_z = 1;\r
+ }\r
+\r
// set all vore related stats\r
if(self.predator.classname == "player")\r
{\r