seta g_ghost_items 1 "enable ghosted items (when between 0 and 1, overrides the alpha value)"\r
seta g_ghost_items_color "-1 -1 -1" "color of ghosted items, 0 0 0 leaves the color unchanged"\r
\r
+set cl_vore_stomachmodel 0.5 "when enabled, we see the stomach model around us when eaten. -1 = disabled, 1 = enabled, anything between 0 and 1 = alpha"\r
set g_vore_regurgitatecolor_released "0.75 1 0.5" "the color players will have when released from the stomach alive"\r
set g_vore_regurgitatecolor_digested "-0.125 0.25 0" "the color players will have when released from the stomach digested"\r
set g_vore_gurglesound 1 "predators make an ambient gurgling sound"\r
if(other.cvar_chase_active > 0 || other.classname == "observer") // the classname check prevents a bug\r
{\r
Client_setmodel(setmodel_state());\r
+ if not(self.eater.classname == "player")\r
+ self.alpha = default_player_alpha;\r
return TRUE;\r
}\r
if(other.spectatee_status)\r
{\r
tokenizebyseparator(self.playermodel, ".");\r
Client_setmodel(strcat(argv(0), "_stomach.md3"));\r
+ self.alpha = other.cvar_cl_vore_stomachmodel;\r
return TRUE;\r
}\r
Client_setmodel(setmodel_state());\r
+ if not(self.eater.classname == "player")\r
+ self.alpha = default_player_alpha;\r
return TRUE;\r
}\r
\r
.float cvar_cl_gunalign;\r
.float cvar_cl_noantilag;\r
.float cvar_chase_active;\r
+.float cvar_cl_vore_stomachmodel;\r
\r
void Announce(string snd);\r
void AnnounceTo(entity e, string snd);\r
GetCvars_handleFloat(s, f, cvar_cl_accuracy_data_share, "cl_accuracy_data_share");\r
GetCvars_handleFloat(s, f, cvar_cl_accuracy_data_receive, "cl_accuracy_data_receive");\r
GetCvars_handleFloat(s, f, cvar_chase_active, "chase_active");\r
+ GetCvars_handleFloat(s, f, cvar_cl_vore_stomachmodel, "cl_vore_stomachmodel");\r
\r
self.cvar_cl_accuracy_data_share = boolean(self.cvar_cl_accuracy_data_share);\r
self.cvar_cl_accuracy_data_receive = boolean(self.cvar_cl_accuracy_data_receive);\r