Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // --------------------------------------------------
- // Team Fortress 2 autoexec file
- // --------------------------------------------------
- // Launch options
- // -sw -noborder -console -novid -exec autoexec.cfg
- // Clear console
- clear
- echo
- echo "===================================="
- echo
- echo " Initializing ob4x's TF2 config"
- echo
- echo "===================================="
- // --------------------------------------------------
- // Keybinds
- // --------------------------------------------------
- echo
- echo "\\\\\ Loading KEYBINDS \\\\\"
- // ===== Movement and Mouse =====
- bind "W" "+forward"
- bind "S" "+back"
- bind "A" "+moveleft"
- bind "D" "+moveright"
- bind "SPACE" "+jump"
- bind "MWHEELUP" "invprev"
- bind "MWHEELDOWN" "invnext"
- bind "MOUSE1" "+attack"
- bind "MOUSE2" "+attack2"
- 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 "Q" "lastinv"
- bind "R" "+reload"
- bind "F" "+inspect"
- bind "G" "+taunt"
- // ===== Communication =====
- bind "Z" "say"
- bind "U" "say_team"
- bind "I" "say_party"
- bind "L" "voice_menu_1"
- bind "K" "voice_menu_2"
- bind "C" "voice_menu_3"
- bind "E" "voicemenu 0 0"
- // --------------------------------------------------
- // Game Settings
- // --------------------------------------------------
- echo
- echo "\\\\\ Loading GAME SETTINGS \\\\\"
- con_enable "1" // Enables console
- // ===== Mouse =====
- sensitivity "1.90"
- m_rawinput "1"
- //zoom_sensitivity_ratio "1" //old defunct command
- m_mouseaccel2 "0" // Disables windows mouse acceleration initial threshold, safety precaution
- m_mouseaccel1 "0" // Disables windows mouse acceleration initial threshold, safety precaution
- m_customaccel "0" // Custom mouse acceleration disabled
- // ===== Crosshair settings =====
- cl_crosshair_blue "255"
- cl_crosshair_file "crosshair1"
- cl_crosshair_green "0"
- cl_crosshair_red "255"
- cl_crosshair_scale "22.5"
- cl_crosshairalpha "200"
- cl_crosshaircolor "0"
- // ===== Viewmodel =====
- viewmodel_fov "83"
- // ===== HUD =====
- hud_classautokill "0"
- hud_combattext_batching "1" // Merges damage numbers
- hud_combattext_batching_window "1"
- hud_deathnotice_time "6"
- hud_fastswitch "1"
- hud_saytext_time "12"
- cl_hud_minmode "0"
- cl_hud_playerclass_use_playermodel "1"
- // ===== Hitsound =====
- tf_dingalingaling 1
- tf_dingalingaling_lasthit 1
- tf_dingalingaling_effect 0
- tf_dingalingaling_last_effect 0
- tf_dingalingaling_repeat_delay 0
- tf_dingaling_pitch_override -1
- tf_dingaling_pitchmaxdmg 100
- tf_dingaling_pitchmindmg 100
- tf_dingaling_volume 1
- tf_dingaling_lasthit_pitch_override -1
- tf_dingaling_lasthit_pitchmaxdmg 100
- tf_dingaling_lasthit_pitchmindmg 100
- tf_dingaling_lasthit_volume 1
- // ===== Network settings =====
- rate "60000"
- cl_cmdrate "66"
- cl_interp "0"
- cl_interp_ratio "1"
- cl_smooth "0"
- cl_smoothtime "0.01"
- cl_updaterate "66"
- // ===== Audio =====
- volume "0.15"
- snd_mixahead "0.05"
- // Disable tutorials
- cl_ask_blacklist_opt_out "1"
- cl_ask_favorite_opt_out "1"
- sb_dontshow_maxplayer_warning "1"
- tf_explanations_backpackpanel "1"
- tf_explanations_charinfo_armory_panel "1"
- tf_explanations_charinfopanel "1"
- tf_explanations_craftingpanel "1"
- tf_explanations_discardpanel "1"
- tf_explanations_store "1"
- tf_training_has_prompted_for_forums "1"
- tf_training_has_prompted_for_loadout "1"
- tf_training_has_prompted_for_offline_practice "1"
- tf_training_has_prompted_for_options "1"
- tf_training_has_prompted_for_training "1"
- // Other improvements
- cl_showfps 1 // Displays FPS
- fps_max 0 // Limits maximum FPS
- cl_mvm_wave_status_visible_during_wave 1 // Shows MVM progress bar mid-wave
- cl_use_tournament_specgui 1 // Uses a better HUD when spectating
- in_usekeyboardsampletime 0 // Stops keyboard sample time smoothing, which is inconsistent
- mat_clipz 1
- mat_forcehardwaresync 0
- mat_levelflush 1
- m_rawinput 1 // Uses mouse's raw input, instead of accelerated/laggy windows input
- mat_vsync 0 // Disables VSync
- r_fastzreject -1
- cl_vote_ui_active_after_voting 1 // Keeps vote menu open after you've voted
- // --------------------------------------------------
- // Scripts
- // --------------------------------------------------
- echo
- echo "\\\\\ Loading SCRIPTS \\\\\"
- // Scoreboard net graph
- alias "+ScoreDisplay" "+showscores; net_graph 1" // Makes netgraph show info, but only when viewing scoreboard. Comment this line to get rid of the netgraph on the scoreboard.
- alias "-ScoreDisplay" "-showscores; net_graph 0" // Comment this line to get rid of the netgraph on the scoreboard.
- // Anti-afk script (because +left doesnt work)
- alias afk afk1
- alias afk "+jump;wait 3;-jump;wait 3;+forward;wait 3;-forward;vote option2"
- alias afkKEY afkSTART
- alias afkSTART "echo ANTI AFK ON; alias afkKEY afkSTOP; alias afkTICK afkLOOP; afkLOOP"
- alias afkSTOP "echo ANTI AFK OFF; alias afkTICK; alias afkKEY afkSTART"
- alias afkLOOP "afk; wait 300; afkTICK"
- // Remove scope
- alias remove_scope "sv_cheats 1; testhudanim scoperemoval"
- remove_scope
- // Remove viewmodel
- bind "pgup" "r_drawviewmodel 1"
- bind "pgdn" "r_drawviewmodel 0"
- // --------------------------------------------------
- // Finalize
- // --------------------------------------------------
- echo
- echo "\\\\\ FINALIZING \\\\\"
- host_writeconfig
- echo
- echo "===================================="
- echo
- echo " Loaded ob4x's TF2 config"
- echo
- echo "===================================="
- echo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement