seta cl_helper_health_value 25 "the helper will warn you when going below this amount of health"\r
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
\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;\r
+float helper_pause, helper_health, helper_armor, helper_ammo, helper_speed;\r
vector myhealth_gentlergb;\r
vector liquidcolor_prev;\r
vector damage_blurpostprocess, content_blurpostprocess;\r
}\r
else if(helper_ammo)\r
helper_ammo = FALSE;\r
+\r
+ // speed helper\r
+ if(vlen(pmove_vel) >= cvar("cl_helper_speed_value"))\r
+ {\r
+ if(!helper_speed)\r
+ {\r
+ sound(self, CHAN_VOICE, strcat("helper/", cvar_string("cl_helper_voice"), "/speed_fast.wav"), VOL_BASEVOICE, ATTN_NONE);\r
+ helper_speed = TRUE;\r
+ helper_pause = time + cvar("cl_helper_pause");\r
+ }\r
+ }\r
+ else if(helper_speed)\r
+ helper_speed = FALSE;\r
}\r
}\r
\r
precache_sound (strcat("helper/", cvar_string("cl_helper_voice"), "/health_low.wav"));\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
}\r
\r
void AuditLists()\r