Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Save as autoexec.cfg in "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\custom\My Custom Config\cfg\"
- // ----------------------------------------------------------------------------
- // Launch Options
- // ----------------------------------------------------------------------------
- // -novid -nojoy -nosteamcontroller -nohltv -particles 1 -precachefontchars -noquicktime -enablefakeip +sensitivity x.x
- // NOTE: Turning the DirectX level down from 98 to 90 can help performance by
- // entering mat_dxlevel 90 in the console. It shouldn't be put in autoexec
- // since it forces video settings to default when entered.
- // For optimization purposes:
- // CPU Intensive Tasks:
- // Physics
- // Sound
- // Animation & Animation Interpolation
- // Particles
- // Decals
- // Polygons
- // Dynamic Lighting/Shadows
- // Water reflection
- //GPU intensive Tasks:
- // Textures & Bumpmaps
- // AA & AF
- // HDR & Bloom
- // Resolution
- echo "======= AUTOEXEC INIT ======="
- exec undo360controller.cfg
- //cl_disablehtmlmotd 0 // Disabled HTML messages of the day. Improves FPS in Community Servers.
- // ----------------------------------------------------------------------------
- // Graphics -- Note that TF2 is primarily CPU-limited, with the GPU being secondary in rendering.
- // ----------------------------------------------------------------------------
- //echo "Graphics settings offloaded to gfxlow/med/high.cfg."
- echo "Graphics settings offloaded to Mastercomfig."
- //exec gfxlow.cfg
- //exec gfxmed.cfg
- //exec gfxhigh.cfg
- // ****************************************************************************
- // ****************************************************************************
- // ----------------------------------------------------------------------------
- // Binds
- // ----------------------------------------------------------------------------
- bind "MOUSE1" "+attack"
- bind "MOUSE2" "+attack2"
- bind "MOUSE3" "+attack3" // Medic shield, Heavy rage
- bind "MOUSE4" "+use_action_slot_item" // Medic shield, Heavy rage
- bind "MOUSE5" "+reload" // Vaccinator, Pick up weapons, cast spells, Canteens, etc etc
- bind "MWHEELUP" "+use_action_slot_item"
- bind "MWHEELDOWN" "+attack3"
- //bind "MWHEELUP" "+reload"
- //bind "MWHEELDOWN" "+reload"
- //bind "MOUSE3" "+simpleradar"
- //bind "MOUSE5" "+use_action_slot_item" // Pick up weapons, cast spells, etc etc
- //bind "MOUSE5" "voicemenu 2 6" // Nice shot!
- bind "z" "voice_menu_1"
- bind "x" "voice_menu_2"
- bind "c" "voice_menu_3"
- bind "SHIFT" "+duck"
- bind "`" "toggleconsole"
- 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 "w" "+forward"
- bind "s" "+back"
- bind "a" "+moveleft"
- bind "d" "+moveright"
- bind "SPACE" "+jump"
- bind "CTRL" "+duck"
- bind "r" "+reload"
- //bind "ALT" "+simpleradar"
- bind "TAB" "+showscores"
- bind "ENTER" "say"
- bind "\" "say_team"
- bind "p" "say_party"
- bind "e" "voicemenu 0 0" // Call for medic
- bind "g" "+use_action_slot_item" // Pick up weapons, cast spells, Canteens, etc etc
- //unbind "v"
- // bind "v" "voicemenu 2 4" // Positive/Mask
- bind "v" "+voicerecord"
- // bind "v" "taunt_by_name Taunt: The Schadenfreude"
- bind "t" "voicemenu 2 6" // Nice shot!
- bind "f" "voicemenu 2 7" // Good job!
- bind "q" "lastinv"
- bind "y" "+inspect"
- bind "u" "+taunt"
- bind "b" "lastdisguise"
- bind "p" "dropitem"
- bind "," "changeclass"
- bind "." "changeteam"
- bind "l" "open_charinfo_direct"
- bind "n" "cl_decline_first_notification"
- bind "m" "cl_trigger_first_notification"
- bind "ESCAPE" "cancelselect"
- bind "PAUSE" "pause"
- bind "F1" "load_itempreset 0"
- bind "F2" "load_itempreset 1"
- bind "F3" "load_itempreset 2"
- bind "F4" "load_itempreset 3"
- bind "F5" "player_ready_toggle"
- bind "F6" "show_quest_log"
- bind "F7" "askconnect_accept"
- bind "F8" "save_replay"
- bind "F9" "abuse_report_queue"
- bind "F10" "quit prompt"
- //bind "F11" "bodytoggle"
- unbind "F11"
- //bind "F12" "screenshot"
- unbind "F12"
- bind "KP_MINUS" "kill"
- bind "KP_PLUS" "panicbutton"
- bind "KP_END" "join_class scout"
- bind "KP_DOWNARROW" "join_class soldier"
- bind "KP_PGDN" "join_class pyro"
- bind "KP_LEFTARROW" "join_class demoman"
- bind "KP_5" "join_class heavyweapons"
- bind "KP_RIGHTARROW" "join_class engineer"
- bind "KP_HOME" "join_class medic"
- bind "KP_UPARROW" "join_class sniper"
- bind "KP_PGUP" "join_class spy"
- // ----------------------------------------------------------------------------
- // Custom binds and scripts
- // ----------------------------------------------------------------------------
- // Panic bug bind.
- alias "panicbutton" "record demo; stop; snd_restart; echo Emergency fix!"
- // Show net graph on scoreboard
- alias +scores "net_graph 3; +showscores"
- alias -scores "net_graph 0; -showscores"
- // Autocall radar
- alias "simpleradar_on" "hud_medicautocallersthreshold 150"
- alias "simpleradar_off" "hud_medicautocallersthreshold 80"
- alias "+simpleradar" "simpleradar_on"
- alias "-simpleradar" "simpleradar_off"
- // Toggle between full-body-awareness
- alias bodytoggle "toggle cl_first_person_uses_world_model 0 1"
- // Disable FBA by default (normal viewmodels)
- cl_first_person_uses_world_model 0
- fov_desired 90
- // Enable FBA by default -- uncomment this section if you want these settings
- //75 fov (the default) results in the most minimal clipping in this mode
- //cl_first_person_uses_world_model 1
- //fov_desired 90
- // ----------------------------------------------------------------------------
- // Game settings hardsave
- // ----------------------------------------------------------------------------
- jpeg_quality 97
- m_pitch 0.022
- m_filter 0
- m_side 0.8
- m_yaw 0.022 // 0.0165 for 4:3 stretched
- m_forward 1
- m_customaccel 0
- m_customaccel_scale 0.00
- m_customaccel_max 0
- m_customaccel_exponent 1
- m_mousespeed 1
- cl_crosshair_file "crosshair6" // Default = "crosshair1"
- cl_crosshairalpha 200 // Default = 200
- cl_crosshair_blue 0 // 200
- cl_crosshair_green 255 // 235
- cl_crosshair_red 0 // 255
- cl_crosshair_scale 25 // def. 32, range 16-48
- crosshair 1 // Toggle on/off for custom hud crosshairs.
- Hud_combattext_blue 55
- Hud_combattext_green 255
- Hud_combattext_red 255
- tf_use_min_viewmodels 1
- viewmodel_fov 54
- viewmodel_fov_demo 54
- zoom_sensitivity_ratio 0.7934
- // 1:1 for 90 FOV is 0.793472. see https://github.com/JarateKing/jarconfig/blob/master/docs/zoom_sensitivity_ratio.md
- cl_autoreload 1
- cl_cloud_settings 1
- cl_showfps 0
- cl_spec_carrieditems 1
- hud_classautokill 0
- hud_combattext 1
- hud_combattext_batching 1
- hud_combattext_batching_window 0.5 // def 0.2. In seconds.
- hud_combattext_doesnt_block_overhead_text 0
- hud_fastswitch 1
- hud_medicautocallers 1
- hud_medicautocallersthreshold 80
- hud_medichealtargetmarker 0
- tf_hud_target_id_alpha 200 // Default = 100. 0-255.
- tf_hud_target_id_disable_floating_health 0 // Unfortunately, disabling this makes MvM boss health invisible.
- tf_medigun_autoheal 1 // Used to be glitchy, works fine now. Preference.
- tf_remember_activeweapon 0
- tf_remember_lastswitched 0
- tf_replay_pyrovision 0
- tf_respawn_on_loadoutchanges 1
- tf_romevision_opt_in 0
- tf_scoreboard_mouse_mode 0
- tf_scoreboard_ping_as_text 0
- tf_simple_disguise_menu 1 // Concise Spy disguise menu.
- tf_spectate_pyrovision 0
- //tf_spectator_target_location 1 // Lower left player panel in spectate/deathcam.
- mat_phong 1
- r_rimlight 1
- net_graph 0
- net_graphheight 64
- net_graphpos 0
- net_graphproportionalfont 0
- net_graphtext 1
- tf_dingalingaling 1
- tf_dingaling_lasthit_pitch_override 100 // default -1
- tf_dingaling_lasthit_volume 0.65 // def. 0.75
- tf_dingaling_pitch_override 100 // default -1
- tf_dingaling_volume 0.65 // def. 0.75
- tf_dingalingaling_repeat_delay 0.05 // 10 dings per second ought to be enough. Q3's LG attack interval: 0.05. Minigun is 0.1.
- tf_dingaling_lasthit_pitchmaxdmg 79
- tf_dingaling_lasthit_pitchmindmg 112
- tf_dingaling_pitchmaxdmg 79
- tf_dingaling_pitchmindmg 112 // Quake Live (+2 to -4 semitones) = 112-79. +4 to -4 = 126-79. +6 to -6 = 141-71.
- // ----------------------------------------------------------------------------
- // Misc
- // ----------------------------------------------------------------------------
- // fps_max 160
- in_usekeyboardsampletime 0
- mat_clipz 1
- mat_levelflush 1 // def. 1
- mat_vsync 0
- m_rawinput 1
- r_fastzreject -1
- sv_allow_point_servercommand "always" // Fixes training maps.
- sv_cheats 1 // Fixes training maps.
- // ----------------------------------------------------------------------------
- // Sound
- // ----------------------------------------------------------------------------
- //snd_async_fullyasync 1
- //snd_mute_losefocus 1
- //snd_pitchquality 1
- //snd_spatialize_roundrobin 0
- // windows_speaker_config 2 // -1 = Default, 1 = Headphones, 2 = Stereo speakers.
- voice_maxgain 5 // def. 10, no boost = 5.
- voice_overdrive 8 // def 2, 8 reduces game sound by more during speech.
- // ----------------------------------------------------------------------------
- // Net settings
- // Remember: cl_interp_ratio / cl_updaterate = lowest possible cl_interp
- // ----------------------------------------------------------------------------
- // Post-Orange Box Source game servers run at a ticrate of 66 besides L4D and L4D2 (30) and some community CS servs (128)
- alias net_default "rate 80000; cl_updaterate 20; cl_cmdrate 30; cl_interp 0.1; cl_interp_ratio 2; echo Interp set to default 100ms (0.1)" // 0.64mbps bandwidth, default settings.
- alias net_fast "rate 160000; cl_updaterate 66; cl_cmdrate 66; cl_interp 0.0304; cl_interp_ratio 2; echo Interp set to 30ms." // Modern bandwidth, best settings.
- // Sets on startup, since they aren't kept after the game is closed.
- // net_default
- // ----------------------------------------------------------------------------
- // Disables tutorial messages and other popups
- // ----------------------------------------------------------------------------
- cl_ask_bigpicture_controller_opt_out 1
- cl_ask_blacklist_opt_out 1
- cl_ask_favorite_opt_out 1
- cl_hud_playerclass_playermodel_showed_confirm_dialog 1
- cl_promotional_codes_button_show 0
- cl_showhelp 0
- cl_training_class_unlock_all
- replay_quitmsg_dontaskagain 1
- sb_dontshow_maxplayer_warning 1
- tf_coach_request_nevershowagain 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_find_a_match_hint_viewed 1
- // tf_hud_no_crosshair_on_scope_zoom 1
- tf_hud_notification_show_count_ghost_controls 1
- tf_hud_notification_show_count_ghost_controls_no_respawn 1
- tf_hud_notification_show_count_kart_controls 1
- tf_mvm_tabs_discovered 1
- tf_quest_map_intro_viewed 1
- tf_romevision_skip_prompt 1
- tf_show_maps_details_explanation_count 0
- tf_show_preset_explanation_in_class_loadout 0
- tf_show_taunt_explanation_in_class_loadout 0
- tf_taunt_always_show_hint 0
- 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
- tf_warpaint_explanation_viewed 1
- tf_weapon_select_demo_time 0
- // ----------------------------------------------------------------------------
- // Load tr_arena, if config present
- // ----------------------------------------------------------------------------
- // exec tr_arena.cfg
- // ----------------------------------------------------------------------------
- // Print to console
- // ----------------------------------------------------------------------------
- echo "======= AUTOEXEC INIT OK. ======="
Advertisement
Add Comment
Please, Sign In to add comment