Advertisement
Ringo276

tf2 autoexec

Mar 27th, 2018
1,855
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.17 KB | None | 0 0
  1. // ringo's config, many things are taken from internet sources
  2. // steam: http://steamcommunity.com/profiles/76561198353451768
  3.  
  4. //--------------\\
  5. //Launch Options\\
  6. //--------------\\
  7.  
  8. // -novid -nocrashdialog -nojoy -border -refresh 144 +mat_forcehardwaresync 0 -useforcedmparms -noforcemaccel -noforcemspd -nod3d9ex -softparticlesdefaultoff -reuse -high +map_background preload_room
  9.  
  10. // change -refresh 144 to the value of your monitor's refresh rate if it is not 144
  11. // remove +map_background preload_room if you don't need to bypass sv_pure (I have to in order to use yttrium's viewmodels)
  12.  
  13. //----------------\\
  14. //Network Settings\\
  15. //----------------\\
  16.  
  17. //set interp to 0.0152 if you mostly play projectile classes or 0.033 for hitscan classes
  18.  
  19. cl_interp 0.0152
  20. rate 60000
  21. cl_cmdrate 66
  22. cl_updaterate 66
  23. cl_interp_ratio 2
  24. cl_pred_optimize 2
  25. cl_lagcompensation 1
  26. cl_smooth 0
  27. cl_smoothtime 0.01
  28.  
  29. //----------------------------------\\
  30. //Anti Movement-Nullification Script\\
  31. //----------------------------------\\
  32.  
  33. //makes it so that when two opposing movement keys are pressed, instead of stopping, the most recently pressed key overrides the other and you keep moving
  34.  
  35. bind w +mfwd
  36. bind s +mback
  37. bind a +mleft
  38. bind d +mright
  39.  
  40. alias +mfwd "-back;+forward;alias checkfwd +forward"
  41. alias +mback "-forward;+back;alias checkback +back"
  42. alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
  43. alias +mright "-moveleft;+moveright;alias checkright +moveright"
  44. alias -mfwd "-forward;checkback;alias checkfwd none"
  45. alias -mback "-back;checkfwd;alias checkback none"
  46. alias -mleft "-moveleft;checkright;alias checkleft none"
  47. alias -mright "-moveright;checkleft;alias checkright none"
  48. alias checkfwd none
  49. alias checkback none
  50. alias checkleft none
  51. alias checkright none
  52. alias none ""
  53.  
  54. //-----------------\\
  55. //Scoreboard Config\\
  56. //-----------------\\
  57.  
  58. //shows extra info when the scoreboard is up
  59.  
  60. bind tab "+scoreboard"
  61. alias +scoreboard "+showscores;net_graph 1;cl_showerror 1;cl_showpos 1;net_graphtext 1;cl_showfps 1;net_graphproportionalfont 0"
  62. alias -scoreboard "-showscores;net_graph 0;cl_showerror 0;cl_showpos 0;net_graphtext 0;cl_showfps 0;net_graphproportionalfont 0"
  63.  
  64. //---------------\\
  65. //Micspam Keybind\\
  66. //---------------\\
  67.  
  68. //toggles microphone on and turns on loopback so that the micspammer can hear themself, used in conjunction with winamp and virtual audio cable
  69.  
  70. alias toggle "micspamon"
  71. alias micspamon "alias toggle micspamoff; +voicerecord; voice_loopback 1"
  72. alias micspamoff "alias toggle micspamon; -voicerecord; voice_loopback 0"
  73. bind downarrow toggle
  74.  
  75. //-------------------------------------------------\\
  76. //Keypad Binds For Fast Class And Loadout Switching\\
  77. //-------------------------------------------------\\
  78.  
  79. bind "KP_END" "join_class scout"
  80. bind "KP_DOWNARROW" "join_class soldier"
  81. bind "KP_PGDN" "join_class pyro"
  82. bind "KP_LEFTARROW" "join_class demoman"
  83. bind "KP_5" "join_class heavyweapons"
  84. bind "KP_RIGHTARROW" "join_class engineer"
  85. bind "KP_HOME" "join_class medic"
  86. bind "KP_UPARROW" "join_class sniper"
  87. bind "KP_PGUP" "join_class spy"
  88. bind KP_SLASH "load_itempreset 0;"
  89. bind KP_MULTIPLY "load_itempreset 1;"
  90. bind KP_MINUS "load_itempreset 2;"
  91. bind KP_PLUS "load_itempreset 3;"
  92.  
  93. //----------------\\
  94. //Weapon Switching\\
  95. //----------------\\
  96.  
  97. bind "MOUSE5" "slot1"
  98. bind "MOUSE4" "slot2"
  99. bind "MOUSE3" "slot3"
  100.  
  101. //-----------------\\
  102. //Graphics Settings\\
  103. //-----------------\\
  104.  
  105. //texture quality and model quality
  106. //quality set to max because of minimal performance impact
  107.  
  108. mat_picmip -1
  109. r_lod -1
  110. r_rootlod -1
  111.  
  112. //shadows
  113. //they are on because sometimes it is possible to see shadows through walls
  114.  
  115. r_shadowmaxrendered 11
  116. r_shadowrendertotexture 1
  117. r_shadows 1
  118. nb_shadow_dist 400
  119.  
  120. //facial features
  121. //turned on because of negligible performance impact
  122.  
  123. r_eyes 1
  124. r_flex 1
  125. r_teeth 1
  126.  
  127. //ragdolls
  128. //disabled for visual clarity
  129.  
  130. cl_ragdoll_fade_time 0 // sets the fade time of ragdolls in seconds, the default is 15
  131. cl_ragdoll_forcefade 1 //set to 0 to enable ragdolls
  132. cl_ragdoll_physics_enable 0 // enables whether ragdolls can be moved by being shot, 1 to enable
  133. g_ragdoll_fadespeed 0 // Sets how fast the fading effect is. Default is 600.
  134. g_ragdoll_lvfadespeed 0 // set to 100 to enable
  135. ragdoll_sleepaftertime 0 // Set to "5.0f" to enable.
  136.  
  137. //gibs
  138. //disabled for visual clarity
  139.  
  140. cl_phys_props_enable 0 // makes clientside props unaffected by physics
  141. cl_phys_props_max 0 // sets maximum amount of clientside props, the default is 128
  142. props_break_max_pieces 0 // sets the amount of pieces props can break into, default is -1
  143. r_propsmaxdist 1 // sets the maximum visible distance for clientside props, default is 1000.
  144. violence_agibs 0 // sets whether you can see gibs from the 'alien' team (a convar that likely retained it's name from an older version of TF), set to 1 to enable
  145. violence_hgibs 0 // sets whether you can see gibs from the 'human' team (a convar that likely retained it's name from an older version of TF), set to 1 to enable
  146. cl_burninggibs 0 // disables burning gibs
  147.  
  148. //sprays
  149.  
  150. cl_playerspraydisable 0
  151. r_spray_lifetime 2
  152.  
  153. //audio
  154.  
  155. dsp_enhance_stereo 1 // enables positional audio effect, can effect performance in some cases
  156. dsp_slow_cpu 0 // reduces quality of dsp effects, insignificant performance gain
  157. snd_async_fullyasync 1 // runs the audio fully asynchronous, and, for some reason, reduces the number of TDRs (https://forums.geforce.com/default/topic/389688/geforce-drivers/nvidia-statement-on-tdr-errors-display-driver-nvlddmkm-stopped-/)
  158. snd_pitchquality 1
  159. snd_spatialize_roundrobin 0 // if nonzero, spatialize only a fraction of sound channels each frame. 1/2^x of channels will be spatialized
  160. snd_mixahead 0.05 // sets the time before attack sounds play, the default is 0.1 and values that are too low causes glitches
  161. snd_mix_async 1 // results in a performance boost on multicore cpus.
  162.  
  163. //misc settings
  164.  
  165. cl_debugrumble 0
  166. cl_detaildist 0
  167. cl_detailfade 0
  168. cl_drawmonitors 0 // disables the rendering of in-game "monitors" which render things in front of a camera somewhere on the map, mostly unused
  169. cl_ejectbrass 0
  170. cl_hud_playerclass_use_playermodel 0 // removes player model as a hud element and saves 3-4% fps
  171. cl_playerspraydisable 0
  172. cl_jiggle_bone_framerate_cutoff 1 // enables jigglebones
  173. cl_muzzleflash_dlight_1st 0
  174. cl_new_impact_effects 1 // enables new impact effects
  175. cl_rumblescale 0
  176. cl_show_splashes 0
  177. cl_showhelp 0
  178. cl_showpluginmessages 0
  179. fov_desired 90 // 90 degree FOV
  180. func_break_max_pieces 0 // undocumented, but likely the same as props_break_max_pieces
  181. glow_outline_effect_enable 1 // enables cart glow effect
  182. lod_transitiondist 0 // sets distance between LOD transitions, setting this to 0 forces the lowest LOD
  183. mat_alphacoverage 0 // reduces shader complexity for some transparent materials
  184. mat_antialias 1
  185. mat_autoexposure_max 0
  186. mat_autoexposure_min 0
  187. mat_bloomscale 0
  188. mat_bloom_scalefactor_scalar 0
  189. mat_bufferprimitives 1
  190. mat_bumpmap 0
  191. mat_colorcorrection 0
  192. mat_colcorrection_disableentities 1
  193. mat_compressedtextures 1
  194. mat_debug_postprocessing_effects 0
  195. mat_debugdepth 0
  196. mat_disable_bloom 1
  197. mat_disable_fancy_blending 1 // disables fancy texture blending.
  198. mat_disable_lightwarp 1 // disables lightwarps, which partially determines shading for players, entities, and the map
  199. mat_disable_ps_patch 1
  200. mat_envmapsize 8
  201. mat_envmaptgasize 8
  202. mat_filterlightmaps 1 // no performance impact
  203. mat_filtertextures 1 // no performance impact
  204. mat_forceaniso 1 // forces anisotropic filtering level
  205. mat_forcemanagedtextureintohardware 0
  206. mat_framebuffercopyoverlaysize 0
  207. mat_hdr_enabled 0
  208. mat_hdr_level 0
  209. mat_hdr_manual_tonemap_rate 0
  210. mat_max_worldmesh_vertices 65535 // determines how many chunks world geometry is broken up into, higher values mean less chunks with 65535 being the theoretical maximum
  211. mat_monitorgamma 2.0 // controls brightness, try 1.8 to make it brighter or 2.2 to get it darker. Only works in fullscreen
  212. mat_mipmaptextures 1 // controls mipmapping, setting to 0 does not affect performance or vram usage
  213. mat_non_hdr_bloom_scalefactor 0
  214. mat_phong 0 // disables shading on all models, disables lightwarp
  215. mat_postprocessing_combine 0
  216. mat_reducefillrate 0 // sets shader detail to high, actually increases performance
  217. mat_reduceparticles 1 // reduces particle count
  218. mat_showlightmappage -1
  219. mat_softwarelighting 0
  220. mat_software_aa_blur_one_pixel_lines 0
  221. mat_software_aa_edge_threshold 9
  222. mat_software_aa_quality 0// was 9
  223. mat_software_aa_strength 0
  224. mat_software_aa_strength_vgui 0
  225. mat_software_aa_tap_offset 0
  226. mat_software_aa_quality 0
  227. mat_specular 0 // makes ubers non-shiny and removes other specular effects
  228. mat_texture_limit -1
  229. mat_trilinear 0 // sets trlinear mode
  230. mat_use_compressed_hdr_textures 0
  231. mat_viewportscale 1 // lowers pixel density, but is it better to just change resolution
  232. mat_viewportupscale 1
  233. at_wateroverlaysize 1
  234. mem_max_heapsize 2048
  235. mod_forcedata 1
  236. mod_forcetouchdata 1
  237. mp_decals 45 // changes number of bullet holes, needs to be changed with r_decals
  238. mp_usehwmmodels -1
  239. mp_usehwmvcds -1
  240. prop_active_gib_limit 0
  241. props_break_max_pieces_perframe 0
  242. r_3dsky 0
  243. r_ambientboost 0
  244. r_ambientfactor 0
  245. r_ambientmin 0
  246. r_bloomtintb 0
  247. r_bloomtintexponent 0
  248. r_bloomtintg 0
  249. r_bloomtintr 0
  250. r_cheapwaterend 1 // activates cheap water
  251. r_cheapwaterstart 1 // activates cheap water
  252. r_decals 45 // needs to be changed with mp_decals
  253. r_maxmodeldecal 45 // controls how many decals can be on a model at once
  254. r_maxsampledist 1
  255. r_decalstaticprops 0 // enables whether decals can be seen on props
  256. r_decal_cullsize 15
  257. r_drawbatchdecals 0
  258. r_drawdetailprops 0
  259. r_drawmodeldecals 1
  260. r_drawflecks 0 // controls whether particles upon hitting a surface with a bullet should be rendered.
  261. r_drawtracers_firstperson 0 // disables yellow gunfire tracers for visual clarity
  262. r_dynamic 0 // disables dynamic lighting
  263. r_flashlightdepthtexture 0
  264. r_hunkalloclightmaps 0
  265. r_maxdlights 0 // determines the maximum number of dynamic lights visible
  266. r_maxnewsamples 0
  267. r_physpropstaticlighting 0
  268. r_occlusion 1 // allows mappers to manually optimize their map
  269. r_pixelfog 1
  270. r_forcewaterleaf 1 // considers view in leaf under water for purposes of culling.
  271. r_lightaverage 0 // disables average lighting
  272. r_lightcache_zbuffercache 0
  273. r_dopixelvisibility 0
  274. r_propsmaxdist 1 // max visible distance for clientside physics props
  275. r_renderoverlayfragment 1 // setting to 0 disables various mapmaker-placed signs and decals, like those underneath health and ammo packs
  276. r_staticprop_lod 10 // sets the default LOD for static props
  277. r_waterdrawreflection 0
  278. r_waterdrawrefraction 1
  279. r_waterforceexpensive 0 // disables forcing of expensive water.
  280. r_waterforcereflectentities 0 // forces whether entities should be reflected into water even if r_waterdrawreflection is 0.
  281. r_worldlightmin 0.0001
  282. r_worldlights 0 // determines number of world lights to use per vertex
  283. rope_averagelight 0 // makes ropes use average of cubemap lighting instead of max intensity.
  284. rope_collide 0 // collide rope with the world
  285. rope_rendersolid 1 // changes rope visibility, set to 1 to see grappling hooks
  286. rope_shake 0 // controls whether ropes should shake as if there is wind
  287. rope_smooth 0 // controls whether there should be an antialiasing effect on ropes
  288. rope_subdiv 0
  289. rope_wind_dist 0
  290. tf_particles_disable_weather 1
  291. tracer_extra 0 // enlarges tracers at long distance to make them more visible.
  292. violence_ablood 1 // setting ablood/hblood to 1 usually improves performance
  293. violence_hblood 1
  294.  
  295. //-------------\\
  296. //Misc Settings\\
  297. //-------------\\
  298.  
  299. fps_max 289 //make this the value of your monitor's refresh rate doubled +1 (my monitor's rate is 144, 144x2+1=289)
  300. sv_allow_point_servercommand always //makes tr_walkway work since the update which broke it
  301. in_usekeyboardsampletime 0 // disables smoothing of keyboard input, which would decrease responsiveness
  302. viewmodel_fov 70
  303. cl_hud_minmode 0
  304. sv_cheats 1
  305. net_graph 0
  306. tf_hud_target_id_disable_floating_health 1
  307. cl_mvm_wave_status_visible_during_wave 1
  308. tf_dingaling_pitchmaxdmg 130
  309. tf_dingaling_pitchmindmg 130
  310. tf_dingaling_volume 1
  311. tf_scoreboard_ping_as_text 1
  312. tf_use_min_viewmodels 1
  313. bindtoggle DEL r_drawviewmodel
  314.  
  315. //-----------------------\\
  316. // Disable tutorials/help\\
  317. //-----------------------\\
  318.  
  319. cl_showhelp "0"
  320. cl_ask_blacklist_opt_out "1"
  321. cl_ask_favorite_opt_out "1"
  322. sb_dontshow_maxplayer_warning "1"
  323. tf_explanations_backpackpanel "1"
  324. tf_explanations_charinfo_armory_panel "1"
  325. tf_explanations_charinfopanel "1"
  326. tf_explanations_craftingpanel "1"
  327. tf_explanations_discardpanel "1"
  328. tf_explanations_store "1"
  329. tf_training_has_prompted_for_forums "1"
  330. tf_training_has_prompted_for_loadout "1"
  331. tf_training_has_prompted_for_offline_practice "1"
  332. tf_training_has_prompted_for_options "1"
  333. tf_training_has_prompted_for_training "1"
  334. tf_inspect_hint_count "1000"
  335. tf_taunt_always_show_hint "0"
  336. tf_show_preset_explanation_in_class_loadout "0"
  337. tf_show_taunt_explanation_in_class_loadout "0"
  338.  
  339. //-------\\
  340. //Aliases\\
  341. //-------\\
  342.  
  343. alias log "cl_disablehtmlmotd 0; say !log"
  344. alias sslog "cl_disablehtmlmotd 0; say .ss"
  345. alias nolog "cl_disablehtmlmotd 1"
  346. alias qq "quit"
  347. alias ww "disconnect"
  348. alias ee "retry"
  349. alias rr "sv_cheats 1; map itemtest"
  350. alias tt "sv_cheats 1; map tr_walkway_rc2"
  351. alias notalk "hud_saytext_time 0; voice_enable 0; unbind u; unbind y;echo ***chat and voice disabled!***"
  352. alias talk "hud_saytext_time 12; voice_enable 1; bind u say_team; bind y say; echo ***chat and voice enabled!***"
  353. alias "helpme" "record demo ; stop ; snd_restart ; hud_reloadscheme; echo ***Help Button Activated***"
  354. alias mvm "tf_hud_target_id_disable_floating_health 0"
  355. alias nomvm "tf_hud_target_id_disable_floating_health 1"
  356. alias comp "mat_picmip 2; r_lod 2; r_rootlod 2; r_eyes 0; r_teeth 0; r_flex 0; echo ***Compeitive Settings Enabled!***"
  357. alias nocomp "mat_picmip 0; r_lod 1; r_rootlod 1; r_eyes 1; r_teeth 1; r_flex 1; echo ***Competitive Settings Disabled!***"
  358. alias ss "say shut the fuck retard"
  359. alias rop “tf_preround_push_from_damage_enable 1; sv_cheats 1; sv_allow_wait_command 1; mp_restartgame_immediate 1; wait 500; hurtme -170”
  360. alias idiot "say You dumb fucking cretin, you fucking fool, absolute fucking buffoon, you bumbling idiot. Fuck you."
  361.  
  362. //------------------------------------------\\
  363. //Preloading For Yttrium's Viewmodel Mod\\
  364. //------------------------------------------\\
  365.  
  366. sv_allow_wait_command 1
  367. map_background preload_room; wait 10; disconnect
  368.  
  369. //----------------------\\
  370. //Transparent Viewmodels\\
  371. //----------------------\\
  372.  
  373. mat_motion_blur_enabled 1 //afaik the only sure-fire way to keep refract masking on
  374. mat_motion_blur_strength 0 //effectively disables motion blur, personal choice + motion blur gets masked and looks bad with refract masking
  375. mat_disable_bloom 1 //disables bloom so refract masking doesn't create a dark rectangle over light materials
  376. mat_hdr_level 0
  377. mat_colcorrection_disableentities 1
  378. mat_colorcorrection 0
  379.  
  380. //--------------------------------------------\\
  381. //Disable Adverts And Annoying Server Features\\
  382. //--------------------------------------------\\
  383.  
  384. cl_disablehtmlmotd 1 // disables custom server intros and adverts, needs to be set to 0 to see logs
  385. cl_allowdownload 0 // client will not download customization files
  386. cl_allowupload 0 // client will not upload customization files
  387. cl_customsounds 0 // client will not play custom sounds
  388. cl_downloadfilter "mapsonly" // only download map files
  389. cl_showtextmsg 0 //server cannot print messages into chat
  390.  
  391. //commands aliased so that servers cannot modify the values
  392. //cl_disablehtmlmotd is not aliased because sometimes it needs to be changed to see logs
  393.  
  394. alias cl_allowdownload "echo cl_allowdownload blocked"
  395. alias cl_allowupload "echo cl_allowupload blocked"
  396. alias cl_customsounds "echo cl_customsounds blocked"
  397. alias cl_downloadfilter "echo cl_downloadfilter blocked"
  398. alias cl_showtextmsg "echo cl_showtextmsg blocked"
  399. alias cl_spec_mode "echo cl_spec_mode blocked"
  400. alias rpt_connect "echo rpt_connect blocked"
  401. alias r_screenoverlay "echo r_screenoverlay blocked"
  402.  
  403. //------------------------------------------\\
  404. //Printing Message Into Console Upon Startup\\
  405. //------------------------------------------\\
  406.  
  407. echo "-----------------------"
  408. echo "-ringo's config loaded-"
  409. echo "- __ -"
  410. echo "- /(`o -"
  411. echo "- ,-, // \\ -"
  412. echo "- (,,,) || V -"
  413. echo "- (,,,,)\// -"
  414. echo "- (,,,/w)-' -"
  415. echo "- \,,/w) -"
  416. echo "- `V/uu -"
  417. echo "- / | -"
  418. echo "- | | -"
  419. echo "- o o -"
  420. echo "- \ | -"
  421. echo "- \,/ ,\|,. \,/ -"
  422. echo "-----------------------"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement