Medicris

Med's TF2 autoexec.cfg

Feb 4th, 2016 (edited)
713
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.57 KB | None | 0 0
  1. // Save as autoexec.cfg in "C:\Program Files (x86)\Steam\SteamApps\common\Team Fortress 2\tf\custom\My Custom Config\cfg\"
  2.  
  3. // ----------------------------------------------------------------------------
  4. // Launch Options
  5. // ----------------------------------------------------------------------------
  6. // -novid -nojoy -nosteamcontroller -nohltv -particles 1 -precachefontchars -noquicktime -enablefakeip +sensitivity x.x
  7.  
  8. // NOTE: Turning the DirectX level down from 98 to 90 can help performance by
  9. // entering mat_dxlevel 90 in the console. It shouldn't be put in autoexec
  10. // since it forces video settings to default when entered.
  11.  
  12. // For optimization purposes:
  13. // CPU Intensive Tasks:
  14. // Physics
  15. // Sound
  16. // Animation & Animation Interpolation
  17. // Particles
  18. // Decals
  19. // Polygons
  20. // Dynamic Lighting/Shadows
  21. // Water reflection
  22.  
  23. //GPU intensive Tasks:
  24. // Textures & Bumpmaps
  25. // AA & AF
  26. // HDR & Bloom
  27. // Resolution
  28.  
  29. echo "======= AUTOEXEC INIT ======="
  30.  
  31. exec undo360controller.cfg
  32. //cl_disablehtmlmotd 0 // Disabled HTML messages of the day. Improves FPS in Community Servers.
  33.  
  34. // ----------------------------------------------------------------------------
  35. // Graphics -- Note that TF2 is primarily CPU-limited, with the GPU being secondary in rendering.
  36. // ----------------------------------------------------------------------------
  37.  
  38. //echo "Graphics settings offloaded to gfxlow/med/high.cfg."
  39. echo "Graphics settings offloaded to Mastercomfig."
  40.  
  41. //exec gfxlow.cfg
  42. //exec gfxmed.cfg
  43. //exec gfxhigh.cfg
  44.  
  45.  
  46. // ****************************************************************************
  47. // ****************************************************************************
  48.  
  49. // ----------------------------------------------------------------------------
  50. // Binds
  51. // ----------------------------------------------------------------------------
  52.  
  53. bind "MOUSE1" "+attack"
  54. bind "MOUSE2" "+attack2"
  55. bind "MOUSE3" "+attack3" // Medic shield, Heavy rage
  56. bind "MOUSE4" "+use_action_slot_item" // Medic shield, Heavy rage
  57. bind "MOUSE5" "+reload" // Vaccinator, Pick up weapons, cast spells, Canteens, etc etc
  58. bind "MWHEELUP" "+use_action_slot_item"
  59. bind "MWHEELDOWN" "+attack3"
  60. //bind "MWHEELUP" "+reload"
  61. //bind "MWHEELDOWN" "+reload"
  62.  
  63. //bind "MOUSE3" "+simpleradar"
  64. //bind "MOUSE5" "+use_action_slot_item" // Pick up weapons, cast spells, etc etc
  65. //bind "MOUSE5" "voicemenu 2 6" // Nice shot!
  66.  
  67. bind "z" "voice_menu_1"
  68. bind "x" "voice_menu_2"
  69. bind "c" "voice_menu_3"
  70. bind "SHIFT" "+duck"
  71.  
  72. bind "`" "toggleconsole"
  73. bind "1" "slot1"
  74. bind "2" "slot2"
  75. bind "3" "slot3"
  76. bind "4" "slot4"
  77. bind "5" "slot5"
  78. bind "6" "slot6"
  79. bind "7" "slot7"
  80. bind "8" "slot8"
  81. bind "9" "slot9"
  82. bind "0" "slot10"
  83. bind "w" "+forward"
  84. bind "s" "+back"
  85. bind "a" "+moveleft"
  86. bind "d" "+moveright"
  87. bind "SPACE" "+jump"
  88. bind "CTRL" "+duck"
  89. bind "r" "+reload"
  90.  
  91. //bind "ALT" "+simpleradar"
  92. bind "TAB" "+showscores"
  93. bind "ENTER" "say"
  94. bind "\" "say_team"
  95. bind "p" "say_party"
  96. bind "e" "voicemenu 0 0" // Call for medic
  97. bind "g" "+use_action_slot_item" // Pick up weapons, cast spells, Canteens, etc etc
  98. //unbind "v"
  99. // bind "v" "voicemenu 2 4" // Positive/Mask
  100. bind "v" "+voicerecord"
  101. // bind "v" "taunt_by_name Taunt: The Schadenfreude"
  102. bind "t" "voicemenu 2 6" // Nice shot!
  103. bind "f" "voicemenu 2 7" // Good job!
  104. bind "q" "lastinv"
  105. bind "y" "+inspect"
  106. bind "u" "+taunt"
  107. bind "b" "lastdisguise"
  108. bind "p" "dropitem"
  109.  
  110. bind "," "changeclass"
  111. bind "." "changeteam"
  112. bind "l" "open_charinfo_direct"
  113.  
  114. bind "n" "cl_decline_first_notification"
  115. bind "m" "cl_trigger_first_notification"
  116.  
  117. bind "ESCAPE" "cancelselect"
  118. bind "PAUSE" "pause"
  119.  
  120. bind "F1" "load_itempreset 0"
  121. bind "F2" "load_itempreset 1"
  122. bind "F3" "load_itempreset 2"
  123. bind "F4" "load_itempreset 3"
  124. bind "F5" "player_ready_toggle"
  125. bind "F6" "show_quest_log"
  126. bind "F7" "askconnect_accept"
  127. bind "F8" "save_replay"
  128. bind "F9" "abuse_report_queue"
  129. bind "F10" "quit prompt"
  130. //bind "F11" "bodytoggle"
  131. unbind "F11"
  132. //bind "F12" "screenshot"
  133. unbind "F12"
  134.  
  135. bind "KP_MINUS" "kill"
  136. bind "KP_PLUS" "panicbutton"
  137.  
  138.  
  139. bind "KP_END" "join_class scout"
  140. bind "KP_DOWNARROW" "join_class soldier"
  141. bind "KP_PGDN" "join_class pyro"
  142. bind "KP_LEFTARROW" "join_class demoman"
  143. bind "KP_5" "join_class heavyweapons"
  144. bind "KP_RIGHTARROW" "join_class engineer"
  145. bind "KP_HOME" "join_class medic"
  146. bind "KP_UPARROW" "join_class sniper"
  147. bind "KP_PGUP" "join_class spy"
  148.  
  149.  
  150.  
  151. // ----------------------------------------------------------------------------
  152. // Custom binds and scripts
  153. // ----------------------------------------------------------------------------
  154.  
  155. // Panic bug bind.
  156. alias "panicbutton" "record demo; stop; snd_restart; echo Emergency fix!"
  157.  
  158. // Show net graph on scoreboard
  159. alias +scores "net_graph 3; +showscores"
  160. alias -scores "net_graph 0; -showscores"
  161.  
  162. // Autocall radar
  163. alias "simpleradar_on" "hud_medicautocallersthreshold 150"
  164. alias "simpleradar_off" "hud_medicautocallersthreshold 80"
  165. alias "+simpleradar" "simpleradar_on"
  166. alias "-simpleradar" "simpleradar_off"
  167.  
  168. // Toggle between full-body-awareness
  169. alias bodytoggle "toggle cl_first_person_uses_world_model 0 1"
  170. // Disable FBA by default (normal viewmodels)
  171. cl_first_person_uses_world_model 0
  172. fov_desired 90
  173.  
  174. // Enable FBA by default -- uncomment this section if you want these settings
  175. //75 fov (the default) results in the most minimal clipping in this mode
  176. //cl_first_person_uses_world_model 1
  177. //fov_desired 90
  178.  
  179.  
  180. // ----------------------------------------------------------------------------
  181. // Game settings hardsave
  182. // ----------------------------------------------------------------------------
  183.  
  184. jpeg_quality 97
  185.  
  186. m_pitch 0.022
  187. m_filter 0
  188. m_side 0.8
  189. m_yaw 0.022 // 0.0165 for 4:3 stretched
  190. m_forward 1
  191. m_customaccel 0
  192. m_customaccel_scale 0.00
  193. m_customaccel_max 0
  194. m_customaccel_exponent 1
  195. m_mousespeed 1
  196.  
  197. cl_crosshair_file "crosshair6" // Default = "crosshair1"
  198.  
  199. cl_crosshairalpha 200 // Default = 200
  200. cl_crosshair_blue 0 // 200
  201. cl_crosshair_green 255 // 235
  202. cl_crosshair_red 0 // 255
  203. cl_crosshair_scale 25 // def. 32, range 16-48
  204. crosshair 1 // Toggle on/off for custom hud crosshairs.
  205.  
  206. Hud_combattext_blue 55
  207. Hud_combattext_green 255
  208. Hud_combattext_red 255
  209.  
  210. tf_use_min_viewmodels 1
  211. viewmodel_fov 54
  212. viewmodel_fov_demo 54
  213.  
  214. zoom_sensitivity_ratio 0.7934
  215. // 1:1 for 90 FOV is 0.793472. see https://github.com/JarateKing/jarconfig/blob/master/docs/zoom_sensitivity_ratio.md
  216.  
  217. cl_autoreload 1
  218. cl_cloud_settings 1
  219. cl_showfps 0
  220. cl_spec_carrieditems 1
  221. hud_classautokill 0
  222. hud_combattext 1
  223. hud_combattext_batching 1
  224. hud_combattext_batching_window 0.5 // def 0.2. In seconds.
  225. hud_combattext_doesnt_block_overhead_text 0
  226. hud_fastswitch 1
  227. hud_medicautocallers 1
  228. hud_medicautocallersthreshold 80
  229. hud_medichealtargetmarker 0
  230. tf_hud_target_id_alpha 200 // Default = 100. 0-255.
  231. tf_hud_target_id_disable_floating_health 0 // Unfortunately, disabling this makes MvM boss health invisible.
  232. tf_medigun_autoheal 1 // Used to be glitchy, works fine now. Preference.
  233. tf_remember_activeweapon 0
  234. tf_remember_lastswitched 0
  235. tf_replay_pyrovision 0
  236. tf_respawn_on_loadoutchanges 1
  237. tf_romevision_opt_in 0
  238. tf_scoreboard_mouse_mode 0
  239. tf_scoreboard_ping_as_text 0
  240. tf_simple_disguise_menu 1 // Concise Spy disguise menu.
  241. tf_spectate_pyrovision 0
  242. //tf_spectator_target_location 1 // Lower left player panel in spectate/deathcam.
  243.  
  244. mat_phong 1
  245. r_rimlight 1
  246.  
  247. net_graph 0
  248. net_graphheight 64
  249. net_graphpos 0
  250. net_graphproportionalfont 0
  251. net_graphtext 1
  252.  
  253. tf_dingalingaling 1
  254. tf_dingaling_lasthit_pitch_override 100 // default -1
  255. tf_dingaling_lasthit_volume 0.65 // def. 0.75
  256. tf_dingaling_pitch_override 100 // default -1
  257. tf_dingaling_volume 0.65 // def. 0.75
  258.  
  259. 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.
  260. tf_dingaling_lasthit_pitchmaxdmg 79
  261. tf_dingaling_lasthit_pitchmindmg 112
  262. tf_dingaling_pitchmaxdmg 79
  263. tf_dingaling_pitchmindmg 112 // Quake Live (+2 to -4 semitones) = 112-79. +4 to -4 = 126-79. +6 to -6 = 141-71.
  264.  
  265.  
  266.  
  267. // ----------------------------------------------------------------------------
  268. // Misc
  269. // ----------------------------------------------------------------------------
  270.  
  271. // fps_max 160
  272. in_usekeyboardsampletime 0
  273. mat_clipz 1
  274. mat_levelflush 1 // def. 1
  275. mat_vsync 0
  276. m_rawinput 1
  277. r_fastzreject -1
  278. sv_allow_point_servercommand "always" // Fixes training maps.
  279. sv_cheats 1 // Fixes training maps.
  280.  
  281.  
  282.  
  283. // ----------------------------------------------------------------------------
  284. // Sound
  285. // ----------------------------------------------------------------------------
  286.  
  287. //snd_async_fullyasync 1
  288. //snd_mute_losefocus 1
  289. //snd_pitchquality 1
  290. //snd_spatialize_roundrobin 0
  291. // windows_speaker_config 2 // -1 = Default, 1 = Headphones, 2 = Stereo speakers.
  292. voice_maxgain 5 // def. 10, no boost = 5.
  293. voice_overdrive 8 // def 2, 8 reduces game sound by more during speech.
  294.  
  295.  
  296. // ----------------------------------------------------------------------------
  297. // Net settings
  298. // Remember: cl_interp_ratio / cl_updaterate = lowest possible cl_interp
  299. // ----------------------------------------------------------------------------
  300. // Post-Orange Box Source game servers run at a ticrate of 66 besides L4D and L4D2 (30) and some community CS servs (128)
  301.  
  302. 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.
  303. 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.
  304.  
  305. // Sets on startup, since they aren't kept after the game is closed.
  306. // net_default
  307.  
  308. // ----------------------------------------------------------------------------
  309. // Disables tutorial messages and other popups
  310. // ----------------------------------------------------------------------------
  311.  
  312. cl_ask_bigpicture_controller_opt_out 1
  313. cl_ask_blacklist_opt_out 1
  314. cl_ask_favorite_opt_out 1
  315. cl_hud_playerclass_playermodel_showed_confirm_dialog 1
  316. cl_promotional_codes_button_show 0
  317. cl_showhelp 0
  318. cl_training_class_unlock_all
  319. replay_quitmsg_dontaskagain 1
  320. sb_dontshow_maxplayer_warning 1
  321. tf_coach_request_nevershowagain 1
  322. tf_explanations_backpackpanel 1
  323. tf_explanations_charinfo_armory_panel 1
  324. tf_explanations_charinfopanel 1
  325. tf_explanations_craftingpanel 1
  326. tf_explanations_discardpanel 1
  327. tf_explanations_store 1
  328. tf_find_a_match_hint_viewed 1
  329. // tf_hud_no_crosshair_on_scope_zoom 1
  330. tf_hud_notification_show_count_ghost_controls 1
  331. tf_hud_notification_show_count_ghost_controls_no_respawn 1
  332. tf_hud_notification_show_count_kart_controls 1
  333. tf_mvm_tabs_discovered 1
  334. tf_quest_map_intro_viewed 1
  335. tf_romevision_skip_prompt 1
  336. tf_show_maps_details_explanation_count 0
  337. tf_show_preset_explanation_in_class_loadout 0
  338. tf_show_taunt_explanation_in_class_loadout 0
  339. tf_taunt_always_show_hint 0
  340. tf_training_has_prompted_for_forums 1
  341. tf_training_has_prompted_for_loadout 1
  342. tf_training_has_prompted_for_offline_practice 1
  343. tf_training_has_prompted_for_options 1
  344. tf_training_has_prompted_for_training 1
  345. tf_warpaint_explanation_viewed 1
  346. tf_weapon_select_demo_time 0
  347.  
  348.  
  349.  
  350. // ----------------------------------------------------------------------------
  351. // Load tr_arena, if config present
  352. // ----------------------------------------------------------------------------
  353. // exec tr_arena.cfg
  354.  
  355.  
  356. // ----------------------------------------------------------------------------
  357. // Print to console
  358. // ----------------------------------------------------------------------------
  359.  
  360.  
  361. echo "======= AUTOEXEC INIT OK. ======="
  362.  
Advertisement
Add Comment
Please, Sign In to add comment