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.6 0.4 0" "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.3 0.15 0" "the color players will have when digested, only works when g_vore_keepdeadprey is disabled"\r
+set g_vore_regurgitatecolor_color_normal "0.6 0.4 0" "the color players will have when regurgitated without having been digested"\r
+set g_vore_regurgitatecolor_color_digest "0.3 0.15 0" "the color players will have when regurgitated after having been digested"\r
+set g_vore_regurgitatecolor_fade 0.01 "how quickly the regurgitation color washes off players once they leave the stomach, does not apply to dead bodies"\r
set g_vore_regurgitatecolor_particles 0.75 "players who are dirty from regurgitation generate particles this often, based on the amount of goo they have on them"\r
set g_vore_keepdeadprey 0.75 "If enabled, prey remains in the stomach after dying, else the predator throws up their dead body. 0 = disabled, 1 = ernabled, anything between = probability"\r
set g_vore_neighborprey_distance 8 "Distance by which prey inside the same stomach are positioned away from each other. 0 disables seeing neighboring prey"\r
if(e.flagcarried)\r
DropFlag(e.flagcarried, world, e.predator);\r
\r
- if(stov(cvar_string("g_vore_regurgitatecolor_release")))\r
- e.colormod = stov(cvar_string("g_vore_regurgitatecolor_release"));\r
+ if(stov(cvar_string("g_vore_regurgitatecolor_color_normal")))\r
+ e.colormod = stov(cvar_string("g_vore_regurgitatecolor_color_normal"));\r
\r
if(teams_matter && e.team == e.predator.team)\r
{\r
self.digestion_step = time + steptime;\r
}\r
\r
- if(self.deadflag != DEAD_NO)\r
- if(stov(cvar_string("g_vore_regurgitatecolor_digest")))\r
- self.colormod = stov(cvar_string("g_vore_regurgitatecolor_digest"));\r
+ if(stov(cvar_string("g_vore_regurgitatecolor_color_digest")))\r
+ self.colormod = stov(cvar_string("g_vore_regurgitatecolor_color_digest"));\r
}\r
\r
.float teamheal_step;\r
if(self.colormod != '1 1 1')\r
{\r
// wash the goo away from players once they leave the stomach\r
- if(stov(cvar_string("g_vore_regurgitatecolor_release")))\r
- if(cvar("g_vore_regurgitatecolor_release_fade"))\r
+ if(cvar("g_vore_regurgitatecolor_fade"))\r
+ if(self.deadflag == DEAD_NO) // not for dead bodies\r
{\r
- self.colormod_x += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
+ self.colormod_x += cvar("g_vore_regurgitatecolor_fade") * frametime;\r
if(self.colormod_x > 1)\r
self.colormod_x = 1;\r
- self.colormod_y += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
+ self.colormod_y += cvar("g_vore_regurgitatecolor_fade") * frametime;\r
if(self.colormod_y > 1)\r
self.colormod_y = 1;\r
- self.colormod_z += cvar("g_vore_regurgitatecolor_release_fade") * frametime;\r
+ self.colormod_z += cvar("g_vore_regurgitatecolor_fade") * frametime;\r
if(self.colormod_z > 1)\r
self.colormod_z = 1;\r
}\r