General scripts

From TF2 Wiki

Share/Save/Bookmark
Jump to: navigation, search
Community script navigation
General scripts
Weapon scripts
General class scripts
Collection scripts
Class scripts
Scout scripts
Soldier scripts
Pyro scripts
Engineer scripts
Heavy scripts
Demoman scripts
Medic scripts
Sniper scripts
Spy scripts


Contents

Reset All (Steam Cloud) Configs

If you changed the config.cfg and changes have been saved on Steam Cloud, paste this information in the autoexec.cfg file and start the TF2. After leaving the game, you need to delete the file autoexec.cfg.

File: C: \ Program Files \ Steam \ steamapps \ yourusernamehere \ team fortress 2 \ tf \ cfg Note: If autoexec.cfg does not exist, create it.

unbindall
bind "0" "slot10"
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+moveleft"
bind "b" "lastdisguise"
bind "c" "voice_menu_3"
bind "d" "+moveright"
bind "e" "voicemenu 0 0"
bind "f" "inspect"
bind "g" "taunt"
bind "h" "use_action_slot_item"
bind "i" "showmapinfo"
bind "j" "cl_trigger_first_notification"
bind "k" "cl_decline_first_notification"
bind "l" "dropitem"
bind "m" "open_charinfo_direct"
bind "n" "open_charinfo_backpack"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "impulse 201"
bind "u" "say_team"
bind "v" "+voicerecord"
bind "w" "+forward"
bind "x" "voice_menu_2"
bind "y" "say"
bind "z" "voice_menu_1"
bind "'" "+moveup"
bind "`" "toggleconsole"
bind "," "changeclass"
bind "." "changeteam"
bind "/" "+movedown"
bind "-" "disguiseteam"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "INS" "+klook"
bind "END" "centerview"
bind "PGUP" "+lookup"
bind "PGDN" "+lookdown"
bind "PAUSE" "pause"
bind "ALT" "+strafe"
bind "CTRL" "+duck"
bind "F1" "+showroundinfo"
bind "F3" "askconnect_accept"
bind "F5" "screenshot"
bind "F10" "quit prompt"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MWHEELUP" "invprev"
bind "MWHEELDOWN" "invnext"
cl_flipviewmodels "0"
cl_rumblescale "1.0"
cl_debugrumble "0"
cl_thirdperson "0"
cl_team "default"
cl_class "default"
hud_takesshots "0"
hud_freezecamhide "0"
glow_outline_effect_enable "1"
cl_showhelp "1"
hud_draw_fixed_reticle "0"
hud_achievement_description "1"
hud_achievement_count "8"
cl_chatfilters "63"
cl_chatfilter_version "0"
cc_linger_time "1.0"
cc_predisplay_time "0.25"
cc_subtitles "0"
cc_lang ""
crosshair "1"
cl_observercrosshair "1"
cl_hudhint_sound "1"
g15_update_msec "250"
cam_snapto "0"
cam_ideallag "4.0"
cam_idealdelta "4.0"
cam_idealyaw "0"
cam_idealpitch "0"
cam_idealdist "150"
cam_idealdistright "0"
cam_idealdistup "0"
cam_collision "1"
c_maxpitch "90"
c_minpitch "0"
c_maxyaw "135"
c_minyaw "-135"
c_maxdistance "200"
c_mindistance "30"
c_orthowidth "100"
c_orthoheight "100"
joy_name "joystick"
joy_advanced "0"
joy_advaxisx "0"
joy_advaxisy "0"
joy_advaxisz "0"
joy_advaxisr "0"
joy_advaxisu "0"
joy_advaxisv "0"
joy_forwardthreshold "0.15"
joy_sidethreshold "0.15"
joy_pitchthreshold "0.15"
joy_yawthreshold "0.15"
joy_forwardsensitivity "-1"
joy_sidesensitivity "1"
joy_pitchsensitivity "1"
joy_yawsensitivity "-1"
joy_response_move "1"
joy_response_look "0"
joy_lowend "1"
joy_lowmap "1"
joy_accelscale "0.6"
joy_accelmax "1.0"
joy_autoaimdampenrange "0"
joy_autoaimdampen "0"
joy_diagonalpov "0"
joy_display_input "0"
joy_wingmanwarrior_turnhack "0"
joy_inverty "0"
joy_movement_stick "0"
joy_xcontroller_cfg_loaded "0"
lookspring "0"
lookstrafe "0"
joystick "0"
m_pitch "0.022"
m_filter "0"
sensitivity "3"
m_side "0.8"
m_yaw "0.022"
m_forward "1"
m_customaccel "0"
m_customaccel_scale "0.04"
m_customaccel_max "0"
m_customaccel_exponent "1"
m_mouseaccel1 "0"
m_mouseaccel2 "0"
m_mousespeed "1"
cl_mouselook "1"
cl_idealpitchscale "0.8"
net_scale "5"
net_graphpos "1"
net_graphsolid "1"
net_graphtext "1"
net_graphmsecs "400"
net_graphshowlatency "1"
net_graphshowinterp "1"
net_graph "0"
net_graphheight "64"
net_graphproportionalfont "1"
viewmodel_fov "54"
mat_software_aa_strength "-1.0"
mat_software_aa_quality "0"
mat_software_aa_edge_threshold "1.0"
mat_software_aa_blur_one_pixel_lines "0.5"
mat_software_aa_tap_offset "1.0"
mat_software_aa_strength_vgui "-1.0"
r_drawviewmodel "1"
voice_modenable "1"
hud_fastswitch "0"
cl_playerspraydisable "0"
muzzleflash_light "1"
hud_classautokill "1"
overview_health "1"
overview_names "1"
overview_tracks "1"
overview_locked "1"
overview_alpha "1.0"
spec_scoreboard "0"
cl_spec_mode "1"
cl_disablehtmlmotd "0"
tf_chargedfriends ""
cl_autorezoom "1"
tf_remember_activeweapon "0"
tf_remember_lastswitched "0"
cl_autoreload "0"
sb_dontshow_maxplayer_warning "0"
sb_close_browser_on_connect "1"
fov_desired "75"
cl_hud_minmode "0"
viewmodel_fov_demo "54"
cl_ask_favorite_opt_out "0"
cl_ask_blacklist_opt_out "0"
tf_particles_disable_weather "0"
hud_combattext "0"
tf_dingalingaling "0"
tf_dingaling_volume "0.75"
tf_dingaling_pitchmindmg "100"
tf_dingaling_pitchmaxdmg "100"
tf_dingaling_wav_override ""
hud_achievement_count_engineer "3"
tf_hud_num_building_alert_beeps "2"
cl_crosshair_red "200"
cl_crosshair_green "200"
cl_crosshair_blue "200"
cl_crosshair_file ""
cl_crosshair_scale "32.0"
tf_recent_achievements "0"
tf_training_has_prompted_for_training "1"
tf_training_has_prompted_for_offline_practice "0"
tf_training_has_prompted_for_forums "0"
tf_build_menu_controller_mode "0"
tf_simple_disguise_menu ""
tf_disguise_menu_controller_mode "0"
tf_weapon_select_demo_start_delay "1.0"
tf_weapon_select_demo_time "0.5"
tf_colorblindassist "0"
cl_trading_show_requests_from "3"
tf_medigun_autoheal "0"
hud_medicautocallers "0"
hud_medicautocallersthreshold "75"
hud_medichealtargetmarker "0"
cl_crosshaircolor "0"
cl_dynamiccrosshair "1"
cl_scalecrosshair "1"
cl_crosshairalpha "200"
cl_showbackpackrarities "0"
tf_explanations_backpackpanel "1"
tf_explanations_charinfo_armory_panel "0"
tf_explanations_charinfopanel "1"
tf_explanations_craftingpanel "0"
tf_explanations_discardpanel "0"
tf_explanations_store "0"
cl_notifications_show_ingame "1"
cl_notifications_max_num_visible "3"
cl_notifications_move_time "0.5"
cl_spec_carrieditems "1"
cl_use_tournament_specgui "0"
cl_training_completed_with_classes "0"
tf_explanations_tradingpanel "0"
ifm_steadycam_rotaterate "60"
ifm_steadycam_zoomspeed "1.0"
ifm_steadycam_zoomdamp "0.95"
ifm_steadycam_armspeed "0.5"
ifm_steadycam_rotatedamp "0.95"
ifm_steadycam_mousefactor "1.0"
ifm_steadycam_mousepower "1.0"
ifm_steadycam_2dspringconstant "33.0"
ifm_steadycam_2ddragconstant "11.0"
ifm_steadycam_noise "0.0"
ifm_steadycam_sensitivity "1.0"
r_eyegloss "1"
vgui_message_dialog_modal "1"
commentary_firstrun "0"
scene_showfaceto "0"
ai_report_task_timings_on_limit "0"
ai_think_limit_label "0"
npc_height_adjust "1"
sv_pvsskipanimation "1"
scene_showlook "0"
scene_showmoveto "0"
scene_showunlock "0"
commentary "0"
xbox_throttlebias "100"
xbox_throttlespoof "200"
xbox_autothrottle "1"
func_break_max_pieces "15"
suitvolume "0.25"
option_duck_method "1"
sk_autoaim_mode "1"
sv_noclipaccelerate "5"
sv_noclipspeed "5"
sv_specaccelerate "5"
sv_specspeed "3"
sv_specnoclip "1"
sv_backspeed "0.6"
sv_skyname "sky_urb01"
bugreporter_uploadasync "0"
cl_cmdrate "30"
cl_updaterate "20"
closecaption "0"
skill "1"
net_maxroutable "1260"
cl_allowupload "1"
name "unnamed"
password ""
cl_clanid "0"
sv_unlockedchapters "99"
tv_nochat "0"
cl_showpluginmessages "1"
cl_timeout "30"
cl_logofile ""
cl_soundfile "sound/player/jingle.wav"
cl_forcepreload "0"
cl_allowdownload "1"
cl_downloadfilter "all"
con_enable "0"
r_eyemove "1"
r_eyeshift_x "0"
r_eyeshift_y "0"
r_eyeshift_z "0"
r_eyesize "0"
r_ambientboost "1"
r_ambientmin "0.3"
r_ambientfactor "5"
r_drawmodelstatsoverlaymin "0.1"
r_drawmodelstatsoverlaymax "1.5"
mp_decals "200"
sv_logsdir "logs"
sv_logfile "1"
sv_logflush "0"
sv_logecho "1"
sv_log_onefile "0"
sv_logbans "0"
sv_voiceenable "1"
sv_forcepreload "0"
windows_speaker_config "4"
snd_mute_losefocus "1"
snd_legacy_surround "0"
snd_pitchquality "1"
volume "1.0"
snd_musicvolume "1.0"
adsp_debug "0"
snd_ducktovolume "0.55"
snd_duckerattacktime "0.5"
snd_duckerreleasetime "2.5"
snd_duckerthreshold "0.15"
dsp_slow_cpu "0"
dsp_volume "1.0"
dsp_enhance_stereo "0"
voice_scale "1"
voice_enable "1"
voice_forcemicrecord "1"
budget_bargraph_background_alpha "128"
budget_peaks_window "30"
budget_averages_window "30"
budget_show_peaks "1"
budget_show_averages "0"
budget_show_history "1"
budget_history_numsamplesvisible "100"
budget_history_range_ms "66.666666667"
budget_panel_bottom_of_history_fraction ".25"
budget_bargraph_range_ms "16.6666666667"
budget_background_alpha "128"
budget_panel_x "0"
budget_panel_y "50"
budget_panel_width "512"
budget_panel_height "384"
texture_budget_panel_x "0"
texture_budget_panel_y "450"
texture_budget_panel_width "512"
texture_budget_panel_height "284"
texture_budget_panel_bottom_of_history_fraction ".25"
texture_budget_background_alpha "128"
vprof_graphwidth "512"
vprof_graphheight "256"
vprof_verbose "1"
vprof_unaccounted_limit "0.3"
vprof_warningmsec "10"
r_rootlod "0"
mat_monitorgamma_tv_enabled "0"
r_waterforceexpensive "1"
mat_queue_mode "-2"
mat_texture_list_content_path ""
joy_wingmanwarrior_centerhack "0"
joy_axisbutton_threshold "0.3"
mat_hdr_level "2"

Long Configs

These scripts are quite long and therefore have been moved to their own pages. They are both General scripts.

All-Inclusive General Script

This script includes a highjump, auto-reload, and shift+fire continues firing.
When you hold down shift and fire, it will continue firing. When you hold down shift and click mouse2, it will continue to attack2. This is especially good for the heavy.
alias "+jumpehs" "+jump; +duck"
alias "-jumpehs" "-duck; -jump"
bind "space" "+jumpehs"

alias +primaryattack "+attack"
alias -primaryattack "-attack; wait 500; +reload; wait 500; -reload"
alias +primaryattack2 "+attack2"
alias -primaryattack2 "-attack2"
alias -saved "-attack; wait 500; +reload; wait 500; -reload"
alias +primaryattackmodifier "alias -primaryattack +attack; alias -primaryattack2 +attack2"
alias -primaryattackmodifier "alias -primaryattack -saved; alias -primaryattack2 -attack2"
bind "MOUSE1" "+primaryattack"
bind "mouse2" "+primaryattack2"
bind "SHIFT" "+primaryattackmodifier"

bind "1" "slot1; +reload; wait 500; -reload"
bind "2" "slot2; +reload; wait 500; -reload"
bind "MWHEELUP" "invprev; +reload; wait 500; -reload"
bind "MWHEELDOWN" "invnext; +reload; wait 500; -reload"

Shift VoiceCommand

Shift + M1 will call out "Yes" Shift + M2 will call out "No". You can configure sayings by changing the voicemenu commands.
Script by Shadow
//Shift-VoiceCommand
alias +voice "bind MOUSE1 m1voice; bind MOUSE2 m2voice"
alias -voice "bind "MOUSE1" "+attack"; bind "MOUSE2" "+attack2"
alias m1voice "Voicemenu 0 6;"
alias m2voice "voicemenu 0 7;"
Bind shift "+voice"

Highjump

A small script that makes all jumps crouchjumps for max height.
Script by Icehawk and Remzy see forums.steampowered.com
//Highjump
alias "+jumpeh" "+jump; +duck"
alias "-jumpeh" "-duck; -jump"
bind "space" "+jumpeh"

Bind-Agnostic Highjump (aka JumpDuck) with Toggle

Bind-agnostic Jump+Duck script with the ability to toggle it on or off.
Note: Regardless of whether the script is toggled on or off, the bound jump button will no longer switch camera views in spectator mode. I felt that this was an acceptable tradeoff for making it bind-agnostic.
Posted by Herron
// --------
// JumpDuck -- One key does regular jump or a jump+duck, depending on whether it's toggled on or off
// --------
// Note:  Off by default (and every time you reload the config)
// --------

alias "+jumpduck" "+jump"
alias "-jumpduck" "-jump"
alias "+do_jumpduck" "+jump; +duck"
alias "-do_jumpduck" "-duck; -jump"
alias "toggle_jumpduck" "jumpduck_on"
alias "jumpduck_on" "alias +jumpduck +do_jumpduck; alias -jumpduck -do_jumpduck; alias toggle_jumpduck jumpduck_off"
alias "jumpduck_off" "alias +jumpduck +jump; alias -jumpduck -jump; alias toggle_jumpduck jumpduck_on"

bind "F4" "toggle_jumpduck"		// Key you want to use to toggle JumpDuck on/off
bind "SHIFT" "+jumpduck"		// Key you would normally bind to jump

Toggle Scoreboard

A small script to be able to toggle the scoreboard.
Script by greenbean see forums.steampowered.com
bind tab togglescore
alias togglescore togglescoreon
alias "togglescoreon" "+showscores; alias togglescore togglescoreoff"
alias "togglescoreoff" "-showscores; alias togglescore togglescoreon"

Complete Voice Menu Aliases

  • I haven't made this script, but I wanted to post it here anyway. Explantion is all included in the script.
  • --By (µÞ{}fT¡34¡™ 11:33, 28 October 2008 (UTC)
echo Voice Menu Aliases by ++ungood
//
// This is the simple way to bind voice menu commands.
// This does not pop up the little voice menu dialog
// To use:
// bind "x" "v_cloakedspy"
// obviously, replace the key and the voice command you want to bind.
//
alias "v_medic" "voicemenu 0 0"
alias "v_thanks" "voicemenu 0 1"
alias "v_gogogo" "voicemenu 0 2"
alias "v_moveup" "voicemenu 0 3"
alias "v_goleft" "voicemenu 0 4"
alias "v_goright" "voicemenu 0 5"
alias "v_yes" "voicemenu 0 6"
alias "v_no" "voicemenu 0 7"
//
alias "v_incoming" "voicemenu 1 0"
alias "v_cloakedspy" "voicemenu 1 1"
alias "v_sentryahead" "voicemenu 1 2"
alias "v_teleporterhere" "voicemenu 1 3"
alias "v_dispenserhere" "voicemenu 1 4"
alias "v_sentryhere" "voicemenu 1 5"
alias "v_activateuber" "voicemenu 1 6"
alias "v_uberready" "voicemenu 1 7"
//
alias "v_help" "voicemenu 2 0"
alias "v_battlecry" "voicemenu 2 1"
alias "v_cheers" "voicemenu 2 2"
alias "v_jeers" "voicemenu 2 3"
alias "v_positive" "voicemenu 2 4"
alias "v_negative" "voicemenu 2 5"
alias "v_niceshot" "voicemenu 2 6"
alias "v_goodjob" "voicemenu 2 7"

Mute Game While Speaking

For players that use speakers instead of headphones, this script will mute the game volume while you are speaking to keep game sounds from coming through with the voice chat
Posted by AnonymousHero (copied from Nos by Nos)
alias "+mute" "volume 0; +voicerecord"
alias "-mute" "-voicerecord; volume 1"
bind "MICROPHONE-BUTTON" +mute

Turn Down Volume While Speaking

Instead of totally muting your game, this will only lower the volume while speaking.
--(µÞ{}fT¡34¡™ 19:32, 27 October 2008 (UTC)
alias "+mic" "volume 0.5; +voicerecord"
alias "-mic" "-voicerecord; volume 1"
bind "MICROPHONE-BUTTON" "+mic"

Voice/Text Chat Toggle

This script is for people who want to be able to choose when and where they see/hear voice and text chat.

When chaton is called all text and voice chat will be enabled, and when chatoff is called it will be disabled.

For example if someone visits both competitive and public servers perhaps they don't want to communicate with those on public servers as the quality of teammate tends to be lower (and the nag factor tends to be higher)

For this script the toggle key is bound to the Keypad's / key, however it can, of course, be changed to any of the bindable keys.

//Chat Toggle
alias "chattoggle" "chattoggleon"
alias "chattoggleon" "chaton; alias chattoggle chattoggleoff"
alias "chattoggleoff" "chatoff; alias chattoggle chattoggleon"

alias "chaton" "hud_saytext_time 12; voice_modenable 1; voice_scale 3; bind KP_DEL +voicerecord; bind Y say_team; bind T say; echo Chat On"
alias "chatoff" "hud_saytext_time 0; voice_modenable 0; voice_scale 0; unbind KP_DEL; unbind Y; unbind T; echo Chat Off"

bind KP_SLASH chattoggle

Quick Network Settings

Quickly cycle through network settings to find a settings with the least choke & packetloss. I put this together really quickly and I'm sure it can be improved upon :P
Posted by A1DS

//NETWORK SETTINGS ADJUSTMENT SCRIPT BY A1DS
//interp ratio of 1.0


alias rateadjust "ratear"
alias ratear "rate 30000; cl_cmdrate 100; cl_updaterate 100; cl_interp_ratio 1; developer 1; echo Network Settings Adjusted --> rate 30000 cl_cmdrate 100 cl_updaterate 100 cl_interp_ratio 1; wait 500; developer 0; alias rateadjust ratear1"
alias ratear1 "rate 30000; cl_cmdrate 66; cl_updaterate 66; cl_interp_ratio 1; developer 1; echo Network Settings Adjusted --> rate 30000 cl_cmdrate 66 cl_updaterate 66 cl_interp_ratio 1; wait 500; developer 0; alias rateadjust ratear2"
alias ratear2 "rate 20000; cl_cmdrate 66; cl_updaterate 66; cl_interp_ratio 1; developer 1; echo Network Settings Adjusted --> rate 20000 cl_cmdrate 66 cl_updaterate 66 cl_interp_ratio 1; wait 500; developer 0; alias rateadjust ratear3"
alias ratear3 "rate 20000; cl_cmdrate 50; cl_updaterate 50; cl_interp_ratio 1; developer 1; echo Network Settings Adjusted --> rate 20000 cl_cmdrate 50 cl_updaterate 50 cl_interp_ratio 1; wait 500; developer 0; alias rateadjust ratear4"
alias ratear4 "rate 15000; cl_cmdrate 35; cl_updaterate 35; cl_interp_ratio 1; developer 1; echo Network Settings Adjusted --> rate 15000 cl_cmdrate 35 cl_updaterate 35 cl_interp_ratio 1; wait 500; developer 0; alias rateadjust ratear"

//interp ratio of 1.5

alias rateadjust15 "ratear_1.5"
alias ratear_1.5 "rate 30000; cl_cmdrate 100; cl_updaterate 100; cl_interp_ratio 1.5; developer 1; echo Network Settings Adjusted --> rate 30000 cl_cmdrate 100 cl_updaterate 100 cl_interp_ratio 1.5; wait 500; developer 0; alias rateadjust15 ratear_1.51"
alias ratear_1.51 "rate 30000; cl_cmdrate 66; cl_updaterate 66; cl_interp_ratio 1.5; developer 1; echo Network Settings Adjusted --> rate 30000 cl_cmdrate 66 cl_updaterate 66 cl_interp_ratio 1.5; wait 500; developer 0; alias rateadjust15 ratear_1.52"
alias ratear_1.52 "rate 20000; cl_cmdrate 66; cl_updaterate 66; cl_interp_ratio 1.5; developer 1; echo Network Settings Adjusted --> rate 20000 cl_cmdrate 66 cl_updaterate 66 cl_interp_ratio 1.5; wait 500; developer 0; alias rateadjust15 ratear_1.53"
alias ratear_1.53 "rate 20000; cl_cmdrate 50; cl_updaterate 50; cl_interp_ratio 1.5; developer 1; echo Network Settings Adjusted --> rate 20000 cl_cmdrate 50 cl_updaterate 50 cl_interp_ratio 1.5; wait 500; developer 0; alias rateadjust15 ratear_1.54"
alias ratear_1.54 "rate 15000; cl_cmdrate 35; cl_updaterate 35; cl_interp_ratio 1.5; developer 1; echo Network Settings Adjusted --> rate 15000 cl_cmdrate 35 cl_updaterate 35 cl_interp_ratio 1.5; wait 500; developer 0; alias rateadjust15 ratear_1.5"

//interp ratio 2.0
alias rateadjust20 "ratear_2.5"
alias ratear_2.5 "rate 30000; cl_cmdrate 100; cl_updaterate 100; cl_interp_ratio 2; developer 1; echo Network Settings Adjusted --> rate 30000 cl_cmdrate 100 cl_updaterate 100 cl_interp_ratio 2; wait 500; developer 0; alias rateadjust20 ratear_2.51"
alias ratear_2.51 "rate 30000; cl_cmdrate 66; cl_updaterate 66; cl_interp_ratio 2; developer 1; echo Network Settings Adjusted --> rate 30000 cl_cmdrate 66 cl_updaterate 66 cl_interp_ratio 2; wait 500; developer 0; alias rateadjust20 ratear_2.52"
alias ratear_2.52 "rate 20000; cl_cmdrate 66; cl_updaterate 66; cl_interp_ratio 2; developer 1; echo Network Settings Adjusted --> rate 20000 cl_cmdrate 66 cl_updaterate 66 cl_interp_ratio 2; wait 500; developer 0; alias rateadjust20 ratear_2.53"
alias ratear_2.53 "rate 20000; cl_cmdrate 50; cl_updaterate 50; cl_interp_ratio 2; developer 1; echo Network Settings Adjusted --> rate 20000 cl_cmdrate 50 cl_updaterate 50 cl_interp_ratio 2; wait 500; developer 0; alias rateadjust20 ratear_2.54"
alias ratear_2.54 "rate 15000; cl_cmdrate 35; cl_updaterate 35; cl_interp_ratio 2; developer 1; echo Network Settings Adjusted --> rate 15000 cl_cmdrate 35 cl_updaterate 35 cl_interp_ratio 2; wait 500; developer 0; alias rateadjust20 ratear_2.5"

//QUICK NETGRAPH

alias quickng "ngoff"
alias ngon "net_graph 3; wait; alias quickng ngoff"
alias ngoff "net_graph 0; wait; alias quickng ngon"

//binds

bind "p" "rateadjust"
bind "[" "rateadjust15"
bind "]" "rateadjust20"
bind "\" "quickng"

Advanced Network Tweaker

Same as above, but allows you to adjust each cvar.
Posted by A1DS
//QUICK DEV
alias dev1 "developer 1" //Turn on-screen feedback ON - Use "echo" command to show text on screen.
alias dev0 "developer 0" //Turn on-screen feedback OFF

//RATE ADJUSTMENTS
rate "20000"

//rate increase
alias "rate_up" "rate_up_25000"
alias "rate_up_25000" "rate 25000; alias rate_up rate_up_30000; alias rate_down rate_down_20000; dev0; clear; dev1; echo -----> Rate INCREASED to 25000; wait 900; dev0"
alias "rate_up_30000" "rate 30000; alias rate_up rate_up_35000; alias rate_down rate_down_25000; dev0; clear; dev1; echo -----> Rate INCREASED to 30000; wait 900; dev0"
alias "rate_up_35000" "rate 35000; alias rate_up rate_up_40000; alias rate_down rate_down_30000; dev0; clear; dev1; echo -----> Rate INCREASED to 35000; wait 900; dev0"
alias "rate_up_40000" "rate 40000; alias rate_up rate_up_40000; alias rate_down rate_down_35000; dev0; clear; dev1; echo -----> Rate INCREASED to 40000; wait 900; dev0"

//rate decrease
alias "rate_down" "rate_down_20000"
alias "rate_down_35000" "rate 35000; alias rate_down rate_down_30000; alias rate_up rate_up_40000; dev0; clear; dev1; echo -----> Rate DECREASED to 35000; wait 900; dev0"
alias "rate_down_30000" "rate 30000; alias rate_down rate_down_25000; alias rate_up rate_up_35000; dev0; clear; dev1; echo -----> Rate DECREASED to 30000; wait 900; dev0"
alias "rate_down_25000" "rate 25000; alias rate_down rate_down_20000; alias rate_up rate_up_30000; dev0; clear; dev1; echo -----> Rate DECREASED to 25000; wait 900; dev0"
alias "rate_down_20000" "rate 20000; alias rate_down rate_down_20000; alias rate_up rate_up_25000; dev0; clear; dev1; echo -----> Rate DECREASED to 20000; wait 900; dev0"

//INTERP RATIO
cl_interp "0.01"
cl_interp_ratio "1"
//ratio increase
alias "ratio_inc" "ratio_inc_1.5"
alias "ratio_inc_1.5" "cl_interp_ratio 1.5; alias ratio_inc ratio_inc_2.0; alias ratio_dec ratio_dec_1.0; dev0; clear; dev1; echo -----> Interp. Ratio INCREASED to 1.5; wait 900; dev0"
alias "ratio_inc_2.0" "cl_interp_ratio 2.0; alias ratio_inc ratio_inc_2.0; alias ratio_dec ratio_dec_1.5; dev0; clear; dev1; echo -----> Interp. Ratio INCREASED to 2.0; wait 900; dev0"
//ratio decrease
alias "ratio_dec" "ratio_dec_1.0"
alias "ratio_dec_1.5" "cl_interp_ratio 1.5; alias ratio_dec ratio_dec_1.0; alias ratio_inc ratio_inc_2.0; dev0; clear; dev1; echo -----> Interp. Ratio DECREASED to 1.5; wait 900; dev0"
alias "ratio_dec_1.0" "cl_interp_ratio 1.0; alias ratio_dec ratio_dec_1.0; alias ratio_inc ratio_inc_1.5; dev0; clear; dev1; echo -----> Interp. Ratio DECREASED to 1.0; wait 900; dev0"

//CMD RATE AND UPDATE RATE
cl_cmdrate "66"
cl_updaterate "66"
//cmdrate, updaterate increase
alias "c_up" "c_up_66"
alias "c_up_100" "cl_cmdrate 100; cl_updaterate 100; alias c_up c_up_100; alias c_down c_down_66; dev0; clear; dev1; echo -----> UPDATE RATE & CMD RATE INCREASED to 100; wait 900; dev0"
alias "c_up_66"  "cl_cmdrate 66; cl_updaterate 66; alias c_up c_up_100; alias c_down c_down_50; dev0; clear; dev1; echo -----> UPDATE RATE & CMD RATE INCREASED to 66; wait 900; dev0"
alias "c_up_50"  "cl_cmdrate 50; cl_updaterate 50; alias c_up c_up_66; alias c_down c_down_33; dev0; clear; dev1; echo -----> UPDATE RATE & CMD RATE INCREASED to 50; wait 900; dev0"
//cmdrate, updaterate decrease
alias "c_down" "c_down_33"
alias "c_down_66"  "cl_cmdrate 66; cl_updaterate 66; alias c_down c_down_50; alias c_up c_up_100; dev0; clear; dev1; echo -----> UPDATE RATE & CMD RATE DECREASED to 66; wait 900; dev0"
alias "c_down_50"  "cl_cmdrate 50; cl_updaterate 50; alias c_down c_down_33; alias c_up c_up_66; dev0; clear; dev1; echo -----> UPDATE RATE & CMD RATE DECREASED to 50; wait 900; dev0"
alias "c_down_33"  "cl_cmdrate 33; cl_updaterate 33; alias c_down c_down_33; alias c_up c_up_50; dev0; clear; dev1; echo -----> UPDATE RATE & CMD RATE DECREASED to 33; wait 900; dev0"

//CL_INTERP BEST SETTINGS MENU
alias interp_MENU "bd_main; clear; dev1; echo [MAIN MENU] Select Current cl_interp_ratio ----> 2.0 = [9] 1.5 = [8] 1.0 = [7.0]; wait 900; dev0"
alias menu_2.0 "cm_binds_2.0; clear; dev1; echo Select Current cl_cmdrate ----> [9] = 100 [8] = 66 [7]= 50 [6] = 33; wait 900; dev0"
alias menu_1.5 "cm_binds_1.5; clear; dev1; echo Select Current cl_cmdrate ----> [9] = 100 [8] = 66 [7] = 50 [6] = 33; wait 900; dev0"
alias menu_1.0 "cm_binds_1.0; clear; dev1; echo Select Current cl_cmdrate ----> [9] = 100 [8] = 66 [7] = 50 [6] = 33; wait 900; dev0"
alias 2.0_33 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO --->  0.06; cl_interp 0.06; wait 400; dev0"
alias 2.0_50 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.04; cl_interp 0.04; wait 400; dev0"
alias 2.0_66 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.03; cl_interp 0.03; wait 400; dev0 "
alias 2.0_100 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.02; cl_interp 0.02; wait 400; dev0"
alias 1.5_33 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.045; cl_interp 0.045; wait 400; dev0"
alias 1.5_50 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.03; cl_interp 0.03; wait 400; dev0"
alias 1.5_66 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.023; cl_interp 0.023; wait 400; dev0"
alias 1.5_100 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.015; cl_interp 0.015; wait 400; dev0"
alias 1.0_33 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.03; cl_interp 0.03; wait 400; dev0"
alias 1.0_50 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.02; cl_interp 0.02; wait 400; dev0"
alias 1.0_66 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.015; cl_interp 0.015; wait 400; dev0"
alias 1.0_100 "menu_reset; clear; dev1; echo ******** CL_INTERP SET TO ---> 0.01; cl_interp 0.01; wait 400; dev0"
alias menu_reset "dev0; alias main_MENU interp_MENU; alias main_MENU2; alias main_MENU3; alias main_MENU4"
menu_reset
alias bd_main "alias main_MENU menu_2.0; alias main_MENU2 menu_1.5; alias main_MENU3 menu_1.0"
alias cm_binds_2.0 "alias main_MENU 2.0_100; alias main_MENU2 2.0_66; alias main_MENU3 2.0_50; alias main_MENU4 2.0_33"
alias cm_binds_1.5 "alias main_MENU 1.5_100; alias main_MENU2 1.5_66; alias main_MENU3 1.5_50; alias main_MENU4 1.5_33"
alias cm_binds_1.0 "alias main_MENU 1.0_100; alias main_MENU2 1.0_66; alias main_MENU3 1.0_50; alias main_MENU4 1.0_33"
alias main_MENU "interp_MENU"

//QUICK NETGRAPH
alias quickng "ngoff"
alias ngon "net_graph 3; wait; alias quickng ngoff"
alias ngoff "net_graph 0; wait; alias quickng ngon"



//
//KEY BINDS, CHANGE IF YOU WANT
//
//

//FOR CL_INTERP MENU SETTINGS - 9 IS THE DEFAULT KEY TO PULL UP THE MENU
bind 9 "main_MENU"
bind 8 "main_MENU2"
bind 7 "main_MENU3"
bind 6 "main_MENU4"

//CL_INTERP_RATIO ADJUSTMENTS 1.0 1.5 2.0
bind "o" "ratio_inc" //INCREASE
bind "p" "ratio_dec" //DECREASE

//NETWORK RATE, INCREASE OR DECREASES BY 5000
bind "[" "rate_up" //NETWORK RATE INCREASE
bind "]" "rate_down" //NETWORK RATE DECREASE

//CMDRATE AND UPDATERATE ADJUSTMENTS, VARIOUS DEFAULTT SETTINGS THAT SHOULD WORK FOR MOST USERS
bind "\" "c_up" //INCREASE
bind "/" "c_down" //DECREASE

//QUICK TOGGLE KEY FOR NETGRAPH
bind "l" "quickng"


Feedback On/Off

Use these aliases to quickly turn on-screen feedback on and off.
These are only useful in conjunction with other scripts that make use of on-screen feedback.
Posted by Greeze
alias dev1 "developer 1" //Turn on-screen feedback ON - Use "echo" command to show text on screen.
alias dev0 "developer 0" //Turn on-screen feedback OFF

The Way To Quit

  • Press 1 button, and you'll spin around, taunt, in the middle of the taunt you will explode, and then quit TF2. You'll also say a goodbye message.
  • ! Set the key to a key you won't accidently hit, because you will quit no matter what you try!
  • --(µÞ{}fT¡34¡™ 11:15, 28 October 2008 (UTC)
//The Way To Quit - By CupOfTea
alias "goodbye" "say GOODBYE_MESSAGE_HERE" //put you're goodbye message here.
alias "superquit" "goodbye; cl_yawspeed 5000; +right; wait 100; cl_yawspeed 210; -right; lastinv; taunt; wait 300; explode; wait 20; exit"
bind "KP_MULTIPLY" "superquit" //you may change this key

Toggle Crouched State

Press duck key once to crouch. Press again to stand up.
A hidden ingame keybind, can be entered using the console.
bind "KEY" "toggle_duck"

Voice menu scripts

Rotating Voice Menu

A small communications script which binds all three voice_menu's into one key, simply pressing that same key will take you through all three and always bring you back to the 1st voice_menu. (I cannot take any credit for this as it's an old CS script, all I've done is swap the radio menu from CS for the voice_menu of TF2.)
Posted by Dodel
//Rotating Voice Menu
alias r1 voice_menu_1
alias r2 voice_menu_2
alias r3 voice_menu_3
alias "rcbind1" "bind 1 rs1; bind 2 rs2; bind 3 rs3; bind 4 rs4; bind 5 rs5"
alias "rcbind2" "bind 6 rs6; bind 7 rs7; bind 8 rs8; bind 9 rs9; bind 0 rs10"
alias "rcbind" "rcbind1; rcbind2"
alias "rs1" "slot1; alias radiocyc rc1; rebind"
alias "rs2" "slot2; alias radiocyc rc1; rebind"
alias "rs3" "slot3; alias radiocyc rc1; rebind"
alias "rs4" "slot4; alias radiocyc rc1; rebind"
alias "rs5" "slot5; alias radiocyc rc1; rebind"
alias "rs6" "slot6; alias radiocyc rc1; rebind"
alias "rs7" "slot7; alias radiocyc rc1; rebind"
alias "rs8" "slot8; alias radiocyc rc1; rebind"
alias "rs9" "slot9; alias radiocyc rc1; rebind"
alias "rs10" "slot10; alias radiocyc rc1; rebind"
alias "radiocyc" "rc1"
alias "rc1" "r1; alias radiocyc rc2; rcbind"
alias "rc2" "r2; alias radiocyc rc3; rcbind"
alias "rc3" "r3; alias radiocyc rc1; rcbind"
alias "rebind1" "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5"
alias "rebind2" "bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9; bind 0 slot10"
alias "rebind" "rebind1; rebind2"
bind "KEY" "radiocyc"
//End

Rotating Voice Menu with Cancel

Same as above, except on the fourth button press, instead of cycling back to the first set of voice commands, the action is cancelled.
Posted by Rainbowlemon
//Rotating Voice Menu with Cancel
alias r1 voice_menu_1
alias r2 voice_menu_2
alias r3 voice_menu_3
alias r4 slot10
alias "rcbind1" "bind 1 rs1; bind 2 rs2; bind 3 rs3; bind 4 rs4; bind 5 rs5"
alias "rcbind2" "bind 6 rs6; bind 7 rs7; bind 8 rs8; bind 9 rs9; bind 0 rs10"
alias "rcbind" "rcbind1; rcbind2"
alias "rs1" "slot1; alias radiocyc rc1; rebind"
alias "rs2" "slot2; alias radiocyc rc1; rebind"
alias "rs3" "slot3; alias radiocyc rc1; rebind"
alias "rs4" "slot4; alias radiocyc rc1; rebind"
alias "rs5" "slot5; alias radiocyc rc1; rebind"
alias "rs6" "slot6; alias radiocyc rc1; rebind"
alias "rs7" "slot7; alias radiocyc rc1; rebind"
alias "rs8" "slot8; alias radiocyc rc1; rebind"
alias "rs9" "slot9; alias radiocyc rc1; rebind"
alias "rs10" "slot10; alias radiocyc rc1; rebind"
alias "radiocyc" "rc1"
alias "rc1" "r1; alias radiocyc rc2; rcbind"
alias "rc2" "r2; alias radiocyc rc3; rcbind"
alias "rc3" "r3; alias radiocyc rc4; rcbind"
alias "rc4" "r4; alias radiocyc rc1; rebind"
alias "rebind1" "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5"
alias "rebind2" "bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9; bind 0 slot10"
alias "rebind" "rebind1; rebind2"

//I use 'c' - replace with your keybind preference
bind "c" "radiocyc"
//End

Scrolling Voice Binds

A communication script that utilizes the mouse wheel to cycle through and execute voice binds. The user is notified of which voice bind is selected via developer echo.
The "Medic" and "ÜberCharge Ready" voice binds are not handled in this script since, in my opinion, they should always be bound to accessible keys.
Posted by SuitDude
//Scrolling Voice Binds
alias "v_thanks" "alias scrollup v_goodjob; alias scrolldown v_gogogo; alias transmit thanks; developer 1; echo Thanks; wait 100; developer 0"
alias "v_gogogo" "alias scrollup v_thanks; alias scrolldown v_moveup; alias transmit gogogo; developer 1; echo Go Go Go; wait 100; developer 0"
alias "v_moveup" "alias scrollup v_gogogo; alias scrolldown v_goleft; alias transmit moveup; developer 1; echo Move Up; wait 100; developer 0"
alias "v_goleft" "alias scrollup v_moveup; alias scrolldown v_goright; alias transmit goleft; developer 1; echo Go Left; wait 100; developer 0"
alias "v_goright" "alias scrollup v_goleft; alias scrolldown v_yes; alias transmit goright; developer 1; echo Go Right; wait 100; developer 0"
alias "v_yes" "alias scrollup v_goright; alias scrolldown v_no; alias transmit yes; developer 1; echo Yes; wait 100; developer 0"
alias "v_no" "alias scrollup v_yes; alias scrolldown v_incoming; alias transmit no; developer 1; echo No; wait 100; developer 0"

alias "v_incoming" "alias scrollup v_no; alias scrolldown v_cloakedspy; alias transmit incoming; developer 1; echo Incoming; wait 100; developer 0"
alias "v_cloakedspy" "alias scrollup v_incoming; alias scrolldown v_sentryahead; alias transmit cloakedspy; developer 1; echo Spy!; wait 100; developer 0"
alias "v_sentryahead" "alias scrollup v_cloakedspy; alias scrolldown v_teleporterhere; alias transmit sentryahead; developer 1; echo Sentry Ahead!; wait 100; developer 0"
alias "v_teleporterhere" "alias scrollup v_sentryahead; alias scrolldown v_dispenserhere; alias transmit teleporterhere; developer 1; echo Teleporter Here; wait 100; developer 0"
alias "v_dispenserhere" "alias scrollup v_teleporterhere; alias scrolldown v_sentryhere; alias transmit dispenserhere; developer 1; echo Dispenser Here; wait 100; developer 0"
alias "v_sentryhere" "alias scrollup v_dispenserhere; alias scrolldown v_activateuber; alias transmit sentryhere; developer 1; echo Sentry Here; wait 100; developer 0"
alias "v_activateuber" "alias scrollup v_sentryhere; alias scrolldown v_help; alias transmit activateuber; developer 1; echo Activate Uber; wait 100; developer 0"

alias "v_help" "alias scrollup v_activateuber; alias scrolldown v_battlecry; alias transmit help; developer 1; echo Help!; wait 100; developer 0"
alias "v_battlecry" "alias scrollup v_help; alias scrolldown v_cheers; alias transmit battlecry; developer 1; echo Battlecry; wait 100; developer 0"
alias "v_cheers" "alias scrollup v_battlecry; alias scrolldown v_jeers; alias transmit cheers; developer 1; echo Cheers; wait 100; developer 0"
alias "v_jeers" "alias scrollup v_cheers; alias scrolldown v_positive; alias transmit jeers; developer 1; echo Jeers; wait 100; developer 0"
alias "v_positive" "alias scrollup v_jeers; alias scrolldown v_negative; alias transmit positive; developer 1; echo Positive; wait 100; developer 0"
alias "v_negative" "alias scrollup v_positive; alias scrolldown v_niceshot; alias transmit negative; developer 1; echo Negative; wait 100; developer 0"
alias "v_niceshot" "alias scrollup v_negative; alias scrolldown v_goodjob; alias transmit niceshot; developer 1; echo Nice Shot; wait 100; developer 0"
alias "v_goodjob" "alias scrollup v_niceshot; alias scrolldown v_thanks; alias transmit goodjob; developer 1; echo Good Job; wait 100; developer 0"

alias "thanks" "voicemenu 0 1"
alias "gogogo" "voicemenu 0 2"
alias "moveup" "voicemenu 0 3"
alias "goleft" "voicemenu 0 4"
alias "goright" "voicemenu 0 5"
alias "yes" "voicemenu 0 6"
alias "no" "voicemenu 0 7"

alias "incoming" "voicemenu 1 0"
alias "cloakedspy" "voicemenu 1 1"
alias "sentryahead" "voicemenu 1 2"
alias "teleporterhere" "voicemenu 1 3"
alias "dispenserhere" "voicemenu 1 4"
alias "sentryhere" "voicemenu 1 5"
alias "activateuber" "voicemenu 1 6"


alias "help" "voicemenu 2 0"
alias "battlecry" "voicemenu 2 1"
alias "cheers" "voicemenu 2 2"
alias "jeers" "voicemenu 2 3"
alias "positive" "voicemenu 2 4"
alias "negative" "voicemenu 2 5"
alias "niceshot" "voicemenu 2 6"
alias "goodjob" "voicemenu 2 7"

//================

bind "mouse3" "transmit"                  //Executes selected voice bind.
bind "mwheelup" "scrollup"                //Scrolls up
bind "mwheeldown" "scrolldown"            //Scrolls down
v_thanks

Double Tap

Press a key for an action then press again, within a short time, for a different action. This script can be adjusted to hold nothing as the primary action to force a double key tap in order to have an action performed. Likewise, you can adjust the alias names to allow for multiple keys designated as double tap keys each with their own two possible actions.
Posted by Flannelbum
// ========================
// === START Double Tap ===
// ========================
alias "dtkey" "dtap"
alias "dtap" "dtpri; alias dtkey dtap2; wait 25; alias dtkey dtap"
alias "dtap2" "dtsec; alias dtkey dtap"
//
// -------------------------------------------------------------
// |Instructions:  Change the X's below.
// | dtpri is your Primary keytap
// | dtsec is your Secondary keytap
// |   (EX: alias "dtpri" "slot1")
// |
// -------------------------------------------------------------
//
alias "dtpri" 	"X"
alias "dtsec" 	"X"
bind 	"X" 	"dtkey"
// ======================
// === END Double Tap ===
// ======================

Double Tap with plus and minus

alias "+dtkey" "+dtap"
alias "-dtkey" "-dtap"
alias "+dtap" "+dtpri; alias +dtkey +dtap2; alias -dtkey -dtap2"
alias "-dtap" "-dtpri; wait 50; alias +dtkey +dtap; alias -dtkey -dtap"
alias "+dtap2" "+dtsec"
alias "-dtap2" "-dtsec; alias +dtkey +dtap; alias -dtkey -dtap"
alias "+dtpri" "+jump"
alias "-dtpri" "-jump"
alias "+dtsec" "+whatever" //change
alias "-dtsec" "-whatever" //change
bind "yourkey" "+dtkey" //change

Class Changer Scripts

Class Changer v1

  • Script to easely change class. I don't take credit for this script. Don't know who actually made it.
  • --(µÞ{}fT¡34¡™ 19:33, 27 October 2008 (UTC)
// Quick Class Joiner Script. It has been tested and works.
alias +joinclass "bind 1 scout; bind 2 soldier; bind 3 pyro; bind 4 demoman; bind 5 heavy; bind 6 engineer; bind 7 medic; bind 8 sniper; bind 9 spy"
alias "-joinclass" "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9"
//
alias scout "join_class scout"
alias soldier "join_class soldier"
alias pyro "join_class pyro"
alias demoman "join_class demoman"
alias heavy "join_class heavyweapons"
alias engineer "join_class engineer"
alias medic "join_class medic"
alias sniper "join_class sniper"
alias spy "join_class spy"
//
bind "shift" "+joinclass"

Class Changer v2

  • Changes: Possibility to set automatic suicide after joining a class.
  • I only did the changes. The orginal script (see above) is not made by me.
  • --By (µÞ{}fT¡34¡™ 12:54, 1 November 2008 (UTC)
// Quick Class Joiner Script. It has been tested and works.
alias +joinclass "bind 1 scout; bind 2 soldier; bind 3 pyro; bind 4 demoman; bind 5 heavy; bind 6 engineer; bind 7 medic; bind 8 sniper; bind 9 spy; bind 0 csuicide"
alias "-joinclass" "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9; bind 0 slot10"
//
alias "csuicide" "other_suicide; csuicideoff"
alias "csuicideoff" "alias suicide default_suicide csuicideon"
alias "csuicideon" "alias suicide other_suicide csuicideoff"
alias "default_suicide" "hud_classautokill 0" //set hud_classautokill 0 if you don't want to commit suicide after choosing class as default. Set to 1 if you do want to commit suicide after choosing a class.
alias "other_suicide" "hud_classautikill 1" //set hud_classautokill to the opposite number of default_suicide.
default_suicide
//
alias scout "join_class scout"
alias soldier "join_class soldier"
alias pyro "join_class pyro"
alias demoman "join_class demoman"
alias heavy "join_class heavyweapons"
alias engineer "join_class engineer"
alias medic "join_class medic"
alias sniper "join_class sniper"
alias spy "join_class spy"
//
bind "shift" "+joinclass"

Class Changer v3

  • You can now reload the class config by pressing shift + - (KP_MINUS)
  • I only did the changes. The orginal script (v1) is not made by me.
  • --By (µÞ{}fT¡34¡™ 09:26, 5 August 2009 (UTC)

OK, First of all, put this in your autoexec.cfg (if that doesn't exists yet, make it)

// Quick Class Joiner Script. It has been tested and works.
//
/////////////////////////////////////////////////////////////////////////////////////
//Changelog:                                                                       //
//*v1.0: -Not done by me. Initial release.                                         //
//*v2.0: -Added key to toggle auto-suicide.                                        //
//*v3.0: -Added key to reload the current choses class config.                     //
//       -Added changelog.                                                         //
/////////////////////////////////////////////////////////////////////////////////////
//
alias +joinclass "bind 1 scout; bind 2 soldier; bind 3 pyro; bind 4 demoman; bind 5 heavy; bind 6 engineer; bind 7 medic; bind 8 sniper; bind 9 spy; bind 0 csuicide; bind - reloadconfig"
alias "-joinclass" "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5; bind 6 slot6; bind 7 slot7; bind 8 slot8; bind 9 slot9; bind 0 slot10; bind - disguiseteam"
//
alias "csuicide" "other_suicide; csuicideoff"
alias "csuicideoff" "alias suicide default_suicide csuicideon"
alias "csuicideon" "alias suicide other_suicide csuicideoff"
alias "default_suicide" "hud_classautokill 0" //set hud_classautokill 0 if you don't want to commit suicide after choosing class as default. Set to 1 if you do want to commit suicide after choosing a class.
alias "other_suicide" "hud_classautikill 1" //set hud_classautokill to the opposite number of default_suicide.
default_suicide
//
alias scout "join_class scout"
alias soldier "join_class soldier"
alias pyro "join_class pyro"
alias demoman "join_class demoman"
alias heavy "join_class heavyweapons"
alias engineer "join_class engineer"
alias medic "join_class medic"
alias sniper "join_class sniper"
alias spy "join_class spy"
//
bind "shift" "+joinclass"

Great, done that. Now the hard work. You have to put the next line in every class config. Replace CLASSNAME by the cfg files you are working in. (So if you work in demoman.cfg, change CLASSNAME to demoman, and so on untill you've got all 9 classes done.)

alias "reloadconfig" "exec CLASSNAME.cfg"

Volume Control with Audio Duck

Cycle script to allow the in game changing of the volume value with the added feature of an "audio duck". The "audio duck" can be used for players that play with speakers as well as 3rd party voice communication software such as TeamSpeak2 or Ventrilo, so that teammates will not hear your speaker output while you are trying to talk. It includes two different chat binds... one for in game and one for 3rd party.
Good example of using the "play" command to give user feedback.
Posted by Essobie
// Volume Control with Audio Duck
// ==============================
alias volume_test "play player/pl_fallpain.wav"
alias volume_01 "volume 0.1; alias volume_up volume_02; alias volume_down volume_01; alias +audio_duck volume 0.1; alias -audio_duck volume 0.1; volume_test"
alias volume_02 "volume 0.2; alias volume_up volume_03; alias volume_down volume_01; alias +audio_duck volume 0.2; alias -audio_duck volume 0.2; volume_test"
alias volume_03 "volume 0.3; alias volume_up volume_04; alias volume_down volume_02; alias +audio_duck volume 0.2; alias -audio_duck volume 0.3; volume_test"
alias volume_04 "volume 0.4; alias volume_up volume_05; alias volume_down volume_03; alias +audio_duck volume 0.2; alias -audio_duck volume 0.4; volume_test"
alias volume_05 "volume 0.5; alias volume_up volume_06; alias volume_down volume_04; alias +audio_duck volume 0.2; alias -audio_duck volume 0.5; volume_test"
alias volume_06 "volume 0.6; alias volume_up volume_07; alias volume_down volume_05; alias +audio_duck volume 0.2; alias -audio_duck volume 0.6; volume_test"
alias volume_07 "volume 0.7; alias volume_up volume_08; alias volume_down volume_06; alias +audio_duck volume 0.2; alias -audio_duck volume 0.7; volume_test"
alias volume_08 "volume 0.8; alias volume_up volume_09; alias volume_down volume_07; alias +audio_duck volume 0.2; alias -audio_duck volume 0.8; volume_test"
alias volume_09 "volume 0.9; alias volume_up volume_10; alias volume_down volume_08; alias +audio_duck volume 0.2; alias -audio_duck volume 0.9; volume_test"
alias volume_10 "volume 1.0; alias volume_up volume_10; alias volume_down volume_09; alias +audio_duck volume 0.2; alias -audio_duck volume 1.0"
volume_10 // Initialization

alias +voicerecord_duck "+voicerecord; +audio_duck"
alias -voicerecord_duck "-voicerecord; -audio_duck"

bind "["	"volume_down"		// Lower volume.
bind "]"	"volume_up"		// Raise volume.
bind "ALT"	"+audio_duck"		// Duck volume. Assign to 3rd party Voice Program binding.
bind "CTRL"	"+voicerecord_duck"	// Duck volume and use in game voice.

Shift-key Remap

For mapping new functions to keys by altering them when SHIFT is held. SHIFT can be replaced by any other key.
Posted by NiteCyper
///Shift-key Remap

alias +1 "+<ORIGINAL ACTION>"
alias -1 "-<ORIGINAL ACTION>"
alias +2 "alias +1 +3"
alias -2 "alias +1 +<ORIGINAL ACTION>"
alias +3 "<NEW ACTION>"

bind <KEY> +1
bind "SHIFT" +2

Rapid-fire

As in pressing a button repeatedly really quickly. Converted from Huster's bunny-jump script on fpsbanana.com.
Posted by NiteCyper
//Rapid-fire

alias "+1" "alias 3 +2; +2"
alias "+2" "<ACTION>;wait 3; -2"
alias "-2" "<ACTION>;wait 3; 3"
alias "3" "+2"
alias "-1" "alias 3 none"
bind <KEY> "+1"

Demo Playback Assistance

These binds were someone else's idea. I apologize, but I cannot remember the source. Credit goes to that person.
They help me immensely in putting together several clips using the Source Recorder (see Recording Demos).
F12 is a universal startmovie button. Queue up a demo to whatever you want to record, then hit F12. The startmovie frame files will be prefixed with a_, such as a_0000.tga, and the accompanying WAV audio file will be a_.wav . Then, hit F9 to STOP the startmovie process (endmovie). The next time you hit F12, the prefix will be b_, c_ and so on because of the "alias train". You can extend it to support prefixes beyond Z, but I don't usually go that far!
F1, F2, F3 and F4 are useful speed controls that manipulate the host_framerate variable. F1 is a good fast-forward key. F4 gives you slow-motion. F2 is DEFAULT!! host_framerate 0 is your friend.
F5 is a Play / Pause button!
I also have binds for r_drawviewmodel 0 (removes first-person gun) and such but it overwrites default keys so I excluded them. As it is, F5 (default: screenshot) is overwritten by this script's play / pause function so be careful.
Posted by Wipnum
//Recording Assistance

bind j "cl_drawhud 0"
bind k "cl_drawhud 1"

bind f12 "strta"
alias strta "startmovie a_;bind f12 strtb"
alias strtb "startmovie b_;bind f12 strtc"
alias strtc "startmovie c_;bind f12 strtd"
alias strtd "startmovie d_;bind f12 strte"
alias strte "startmovie e_;bind f12 strtf"
alias strtf "startmovie f_;bind f12 strtg"
alias strtg "startmovie g_;bind f12 strth"
alias strth "startmovie h_;bind f12 strti"
alias strti "startmovie i_;bind f12 strtj"
alias strtj "startmovie j_;bind f12 strtk"
alias strtk "startmovie k_;bind f12 strtl"
alias strtl "startmovie l_;bind f12 strtm"
alias strtm "startmovie m_;bind f12 strtn"
alias strtn "startmovie n_;bind f12 strto"
alias strto "startmovie o_;bind f12 strtp"
alias strtp "startmovie p_;bind f12 strtq"
alias strtq "startmovie q_;bind f12 strtr"
alias strtr "startmovie r_;bind f12 strts"
alias strts "startmovie s_;bind f12 strtt"
alias strtt "startmovie t_;bind f12 strtu"
alias strtu "startmovie u_;bind f12 strtv"
alias strtv "startmovie v_;bind f12 strtw"
alias strtw "startmovie w_;bind f12 strtx"
alias strtx "startmovie x_;bind f12 strty"
alias strty "startmovie y_;bind f12 strtz"
alias strtz "startmovie z_;echo STRTZ DANGER"

bind f9 "endmovie"

bind f1 "host_framerate .1" // fast forward
bind f2 "host_framerate 0"
bind f3 "host_framerate 30"
bind f5 "demo_togglepause"
bind f4 "host_framerate 120" // slow-mo

Demo Playback Assistance alternative

These playback assistants use demo_timescale, which seems to work better. F7 brings up demo playback UI (make sure to close it after loading a demo so you can use binds) F8 pauses/resumes. Press and hold f9 or f10 for different degrees of fast forward. F11/F12 plays in slowmotion.

alias +scale6 "demo_timescale 6"
alias -scale6 "demo_timescale 1"

alias +scale3 "demo_timescale 3"
alias -scale3 "demo_timescale 1"

alias +scale05 "demo_timescale 0.5"
alias -scale05 "demo_timescale 1"

alias +scale025 "demo_timescale 0.25"
alias -scale025 "demo_timescale 1"

bind "F7" "demoui2"
bind "F8" "demo_togglepause"
bind "F9" "+scale6"
bind "F10" "+scale3"
bind "F11" "+scale05"
bind "F12" "+scale025"


Server music stopping bind

Are you annoyed by music played by admin but you don't want to put download filters on? This next small script will bind the "F10" key to stop the music. (Note that by default the F10 key will quit the game.)

bind "F10" "play common/null"
Posted by AciD

Auto-spammer

Wait 1000 = 13 wrench swings which is the right amount of time to spam spraypaint. 300/350 = voice commands.
Posted by --NiteCyper 16:54, 15 August 2008 (UTC)
//Auto-spammer (Rapid-fire inside toggle script)
alias "+1" "alias 2 +3; +3"
alias "+3" "<ACTION>; -3"
alias "-3" "<ACTION>; 2"
alias "2" "+3"
alias "-1" "alias 2 none"
alias "togglespamon" "+1; developer 1; echo ON; wait 100; developer 0; alias togglespam2on togglespamoff "
alias "togglespamoff" "-1; developer 1; echo OFF OFF OFF OFF OFF; echo OFF OFF OFF OFF OFF; echo OFF OFF OFF OFF OFF; wait 100; developer 0; alias togglespam2on togglespamon"
alias togglespam2on togglespamon
bind "<KEY>" "togglespam2on"

Crosshair Disco

This will make your crosshair cycle through bright colors very quickly, preventing it from blending into the background, and keeping you focused on the center of the screen. Enjoy. G-Mang 02:58, 3 February 2009 (UTC)

//CROSSHAIR DISCO (by G-Mang)
alias crosscolor0 "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 0;wait 10;retcolor1"
alias crosscolor1 "cl_crosshair_red 255;cl_crosshair_green 255;cl_crosshair_blue 0;wait 10;retcolor2"
alias crosscolor2 "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;wait 10;retcolor3"
alias crosscolor3 "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 255;wait 10;retcolor4"
alias crosscolor4 "cl_crosshair_red 0;cl_crosshair_green 0;cl_crosshair_blue 255;wait 10;retcolor5"
alias crosscolor5 "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 255;wait 10;retcolor0"
alias retcolor0 "crosscolor0"
alias retcolor1 "crosscolor1"
alias retcolor2 "crosscolor2"
alias retcolor3 "crosscolor3"
alias retcolor4 "crosscolor4"
alias retcolor5 "crosscolor5"
alias discostart "alias retcolor0 crosscolor0;alias retcolor1 crosscolor1;alias retcolor2 crosscolor2;alias retcolor3 crosscolor3;alias retcolor4 crosscolor4;alias retcolor5 crosscolor5;retcolor0;alias discotoggle discostop"
alias discostop "alias retcolor0 ;alias retcolor1 ;alias retcolor2 ;alias retcolor3 ;alias retcolor4 ;alias retcolor5 ;cl_crosshair_red 255;cl_crosshair_green 255;cl_crosshair_blue 255;alias discotoggle discostart"
alias discotoggle "discostart"

bind "KEY" "discotoggle" //Choose the toggle key by replacing KEY

Crosshair Rainbow

This is a 24-step variation of the above script made by me, I am not G-Mang, but I give him credit for the original script this is based on. I know it takes only 10-20 minutes to do this, but do you really want to waste 10-20 minutes when yoou could pull it from this wiki? Battlefrank 07:06, 9 June 2009 (UTC)

//CROSSHAIR RAINBOW (Based on Crosshair disco by G-Mang, modded into this sexy 24 step script-beast by Battlefrank)
alias cc0 "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 0;wait 10;rc1"
alias cc1 "cl_crosshair_red 255;cl_crosshair_green 64;cl_crosshair_blue 0;wait 10;rc2"
alias cc2 "cl_crosshair_red 255;cl_crosshair_green 128;cl_crosshair_blue 0;wait 10;rc3"
alias cc3 "cl_crosshair_red 255;cl_crosshair_green 192;cl_crosshair_blue 0;wait 10;rc4"
alias cc4 "cl_crosshair_red 255;cl_crosshair_green 255;cl_crosshair_blue 0;wait 10;rc5"
alias cc5 "cl_crosshair_red 192;cl_crosshair_green 255;cl_crosshair_blue 0;wait 10;rc6"
alias cc6 "cl_crosshair_red 128;cl_crosshair_green 255;cl_crosshair_blue 0;wait 10;rc7"
alias cc7 "cl_crosshair_red 64;cl_crosshair_green 255;cl_crosshair_blue 0;wait 10;rc8"
alias cc8 "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 0;wait 10;rc9"
alias cc9 "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 64;wait 10;rc10"
alias cc10 "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 128;wait 10;rc11"
alias cc11 "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 192;wait 10;rc12"
alias cc12 "cl_crosshair_red 0;cl_crosshair_green 255;cl_crosshair_blue 255;wait 10;rc13"
alias cc13 "cl_crosshair_red 0;cl_crosshair_green 192;cl_crosshair_blue 255;wait 10;rc14"
alias cc14 "cl_crosshair_red 0;cl_crosshair_green 128;cl_crosshair_blue 255;wait 10;rc15"
alias cc15 "cl_crosshair_red 0;cl_crosshair_green 64;cl_crosshair_blue 255;wait 10;rc16"
alias cc16 "cl_crosshair_red 0;cl_crosshair_green 0;cl_crosshair_blue 255;wait 10;rc17"
alias cc17 "cl_crosshair_red 64;cl_crosshair_green 0;cl_crosshair_blue 255;wait 10;rc18"
alias cc18 "cl_crosshair_red 128;cl_crosshair_green 0;cl_crosshair_blue 255;wait 10;rc19"
alias cc19 "cl_crosshair_red 192;cl_crosshair_green 0;cl_crosshair_blue 255;wait 10;rc20"
alias cc20 "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 255;wait 10;rc21"
alias cc21 "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 192;wait 10;rc22"
alias cc22 "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 128;wait 10;rc23"
alias cc23 "cl_crosshair_red 255;cl_crosshair_green 0;cl_crosshair_blue 64;wait 10;rc0"
alias rc0 "cc0"
alias rc1 "cc1"
alias rc2 "cc2"
alias rc3 "cc3"
alias rc4 "cc4"
alias rc5 "cc5"
alias rc6 "cc6"
alias rc7 "cc7"
alias rc8 "cc8"
alias rc9 "cc9"
alias rc10 "cc10"
alias rc11 "cc11"
alias rc12 "cc12"
alias rc13 "cc13"
alias rc14 "cc14"
alias rc15 "cc15"
alias rc16 "cc16"
alias rc17 "cc17"
alias rc18 "cc18"
alias rc19 "cc19"
alias rc20 "cc20"
alias rc21 "cc21"
alias rc22 "cc22"
alias rc23 "cc23"
alias rainbowstart "alias rc0 cc0;alias rc1 cc1;alias rc2 cc2;alias rc3 cc3;alias rc4 cc4;alias rc5 cc5;alias rc6 cc6;alias rc7 cc7;alias rc8 cc8;alias rc9 cc9;alias rc10 cc10;alias rc11 cc11;alias rc12 cc12;alias rc13 cc13;alias rc14 cc14;alias rc15 cc15;alias rc16 cc16;alias rc17 cc17;alias rc18 cc18;alias rc19 cc19;alias rc20 cc20;alias rc21 cc21;alias rc22 cc22;alias rc23 cc23;rc0;alias rainbowtoggle rainbowstop"
alias rainbowstop "alias rc0 ;alias rc1 ;alias rc2 ;alias rc3 ;alias rc4 ;alias rc5 ;alias rc6 ;alias rc7 ;alias rc8 ;alias rc9 ;alias rc10 ;alias rc11 ;alias rc12 ;alias rc13 ;alias rc14 ;alias rc15 ;alias rc16 ;alias rc17 ;alias rc18 ;alias rc19 ;alias rc20 ;alias rc21 ;alias rc22 ;alias rc23 ;cl_crosshair_red 255;cl_crosshair_green 255;cl_crosshair_blue 255;alias rainbowtoggle rainbowstart"
alias rainbowtoggle "rainbowstart"

bind "KEY" "rainbowtoggle" //Choose the toggle key by replacing KEY


"MEDIC!"/"Activate Charge!" Toggle

This script will switch the 'E' key between Voicemenu 0 0 ("MEDIC!") and voicemenu 1 6 ("Activate Charge!") by holding down Shift (or whichever key you assign the toggle to) This code can be adapted to create several 'toggled' binds, allowing the user to effectively attach several commands to one key.

NOTE: E is bound to MEDIC! by default. Adding this script will cause the options menu to show the 'Call Medic' command as unassigned. This is normal.

Posted By -- Balphezar 20:05, 1 April 2009 (UTC)
//MEDITOGGLE
by Mistahfixit

alias +medtoggle "alias chargeme voicemenu 1 6"
alias -medtoggle "alias chargeme voicemenu 0 0"
bind "shift" "+medtoggle"
bind "e" "chargeme"

//The key assigned to "chargeme" will be the key whose function is toggled, and the key bound to "+medtoggle" will be the one to hold down in order to activate the toggle.


Wait Permission Testing (Updated)

This script runs a little trick that will tell you whether or not a server you're in allows the wait command. (Updated)

Instructions

Paste the following in autoexec.cfg and save:

//WAIT PERMISSION TESTING SCRIPT (G-Mang)
alias waiter "w_reset;wait;w_positive"
alias wait "w_negative"
alias w_reset "alias w_positive w_enable"
alias w_negative "alias w_positive ;w_disable"
alias w_positive "w_enable"
alias w_enable "w_e_echo;w_e_custom"
alias w_disable "w_d_echo;w_d_custom"
alias w_e_echo "echo Wait command enabled on server. Scripts will have full functionality."
alias w_d_echo "echo WAIT COMMAND DISABLED ON SERVER. SCRIPTS WILL HAVE LIMITED FUNCTIONALITY."
alias w_e_custom "" //custom commands to run if server allows wait command
alias w_d_custom "" //custom commands to run if server disallows wait command

Feel free to add custom commands to w_e_custom and w_d_custom.

Next, open up each of your class configs and add the following line:

waiter

That should do it. Hope it's helpful. G-Mang 03:36, 31 May 2009 (UTC) G-Mang 09:06, 29 November 2009 (UTC)

Demo playback assistance (bind-agnostic version)

A bind agnostic version of the Demo playback assistance script (see above)

//Recording Assistance

bind j "cl_drawhud 0"
bind k "cl_drawhud 1"

bind f12 "strt"
alias strt strta
alias strta "startmovie a_;alias strt strtb"
alias strtb "startmovie b_;alias strt strtc"
alias strtc "startmovie c_;alias strt strtd"
alias strtd "startmovie d_;alias strt strte"
alias strte "startmovie e_;alias strt strtf"
alias strtf "startmovie f_;alias strt strtg"
alias strtg "startmovie g_;alias strt strth"
alias strth "startmovie h_;alias strt strti"
alias strti "startmovie i_;alias strt strtj"
alias strtj "startmovie j_;alias strt strtk"
alias strtk "startmovie k_;alias strt strtl"
alias strtl "startmovie l_;alias strt strtm"
alias strtm "startmovie m_;alias strt strtn"
alias strtn "startmovie n_;alias strt strto"
alias strto "startmovie o_;alias strt strtp"
alias strtp "startmovie p_;alias strt strtq"
alias strtq "startmovie q_;alias strt strtr"
alias strtr "startmovie r_;alias strt strts"
alias strts "startmovie s_;alias strt strtt"
alias strtt "startmovie t_;alias strt strtu"
alias strtu "startmovie u_;alias strt strtv"
alias strtv "startmovie v_;alias strt strtw"
alias strtw "startmovie w_;alias strt strtx"
alias strtx "startmovie x_;alias strt strty"
alias strty "startmovie y_;alias strt strtz"
alias strtz "startmovie z_;echo STRTZ DANGER"

bind f9 "endmovie"

bind f1 "host_framerate .1" // fast forward
bind f2 "host_framerate 0"
bind f3 "host_framerate 30"
bind f5 "demo_togglepause"
bind f4 "host_framerate 120" // slow-mo

Bot Rotator

This script allows you to change bots direction using your numpad (8 to forward, 2 to reverse and values between them), and to enable/disable bots using Numpad 5.

Posted by SiPlus

bind "KP_END" "bot_mimic_yaw_offset 135"
bind "KP_DOWNARROW" "bot_mimic_yaw_offset 180"
bind "KP_LEFTARROW" "bot_mimic_yaw_offset 90"
bindtoggle "KP_5" "bot_mimic"
bind "KP_RIGHTARROW" "bot_mimic_yaw_offset 270"
bind "KP_HOME" "bot_mimic_yaw_offset 45"
bind "KP_UPARROW" "bot_mimic_yaw_offset 0"
bind "KP_PGUP" "bot_mimic_yaw_offset 315"

Basic Starter-Script: Edit to suit your needs :)

This script will hide your primary and secondary weapons on equip, but leave your melee visible. it has an auto crouch-jump script built in, and changes the color of your crosshair as you move. it is based off the works of stabby stabby, 2c3c, and myself :) have fun

//BINDS

bind "w" +fw //move forward
bind "s" +bw //move backward
bind "d" +mr //move right
bind "a" +ml //move left
bind "0" "slot10" //"none of the above" or "nevermind" option
bind "1" "useprimary" //primary weapon, hides viewmodel on fire
bind "2" "use_second" //secondary weapon, hides viewmodel on fire
bind "3" "use__melee" //melee weapon, doesn't hide viewmodel
bind "4" "build_menu" //build/disguise kit
bind "5" "destrymenu" //destroy menu
bind "mouse1" "+shoot_gun" //attack
bind "mouse2" "+sec_atack" //secondary attack
bind "space" "+high_jump;dotxhaircolor" //autocrouch jump
bind "ctrl" "+duck;dotxhaircolor" //crouch
bind "shift" "+voicerecord" //use mic

//aliases

//=========================================================
alias dotxhairtype "dotxhairtypeb"
alias dotxhairtypeb "cl_crosshair_file crosshair1;cl_crosshair_scale 30;alias dotxhairtype dotxhairtyper"
alias dotxhairtyper "cl_crosshair_file crosshair5;cl_crosshair_scale 10;alias dotxhairtype dotxhairtypeb"
//=========================================================
alias dotxhaircolor "dotxhaircolorb"
alias dotxhaircolorb "cl_crosshair_blue 0; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorc"
alias dotxhaircolorc "cl_crosshair_blue 255; cl_crosshair_green 0; cl_crosshair_red 255;alias dotxhaircolor dotxhaircolord"
alias dotxhaircolord "cl_crosshair_blue 240; cl_crosshair_green 255; cl_crosshair_red 0;alias dotxhaircolor dotxhaircolorb"
//=========================================================

alias +fw "+forward;dotxhaircolor"
alias -fw "-forward;dotxhaircolor"

alias +bw "+back;dotxhaircolor"
alias -bw "-back;dotxhaircolor"

alias +mr "+moveright;dotxhaircolor"
alias -mr "-moveright;dotxhaircolor"

alias +ml "+moveleft;dotxhaircolor"
alias -ml "-moveleft;dotxhaircolor"

alias +high_jump "+jump;+duck;dotxhaircolor;spec_mode"
alias -high_jump "-duck;-jump;dotxhaircolor"

alias useprimary "slot1;r_drawviewmodel 0;dotxhaircolor"

alias use_second "slot2;r_drawviewmodel 0;dotxhaircolor"

alias use__melee "slot3;r_drawviewmodel 1;dotxhaircolor"

alias build_menu "slot4;r_drawviewmodel 1;dotxhaircolor"

alias destrymenu "slot5;r_drawviewmodel 1;dotxhaircolor"

alias +shoot_gun "+attack;dotxhairtype;dotxhaircolor"
alias -shoot_gun "-attack;dotxhiartype;dotxhaircolor"

alias +sec_atack "+attack2;dotxhairtype;dotxhaircolor"
alias -sec_atack "-attack2;dotxhairtype;dotxhaircolor"



Personal tools