seta cl_helper_armor_value 25 "the helper will warn you when going below this amount of armor"\r
seta cl_helper_ammo_fuel 25 "the helper will warn you when going below this amount of ammo"\r
seta cl_helper_speed_value 1000 "the helper will warn you when going faster than this speed"\r
+seta cl_helper_stomachload_value 0.75 "the helper will warn you when your stomach is dangerously loaded by this amount"\r
\r
seta cl_eventchase_death 1 "camera goes into 3rd person mode when the player is dead"\r
seta cl_eventchase_distance 140 "final camera distance"\r
float volume_modify_1, volume_modify_2, volume_modify_default_1, volume_modify_default_2;\r
float volume_modify_changed_1, volume_modify_changed_2;\r
float eventchase_current_distance;\r
-float helper_pause, helper_health, helper_armor, helper_ammo, helper_speed;\r
+float helper_pause, helper_health, helper_armor, helper_ammo, helper_speed, helper_stomachload;\r
vector myhealth_gentlergb;\r
vector liquidcolor_prev;\r
vector damage_blurpostprocess, content_blurpostprocess;\r
}\r
else if(helper_speed)\r
helper_speed = FALSE;\r
+\r
+ // stomach load helper\r
+ if(getstati(STAT_VORE_LOAD) / getstati(STAT_VORE_MAXLOAD) >= cvar("cl_helper_stomachload_value"))\r
+ {\r
+ if(!helper_stomachload)\r
+ {\r
+ sound(self, CHAN_VOICE, strcat("helper/", cvar_string("cl_helper_voice"), "/stomach_load.wav"), VOL_BASEVOICE, ATTN_NONE);\r
+ helper_stomachload = TRUE;\r
+ helper_pause = time + cvar("cl_helper_pause");\r
+ }\r
+ }\r
+ else if(helper_stomachload)\r
+ helper_stomachload = FALSE;\r
}\r
}\r
\r
precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/armor_low.wav"));\r
precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/ammo_low.wav"));\r
precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/speed_fast.wav"));\r
+ precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/stomach_load.wav"));\r
}\r
\r
void AuditLists()\r