Team Fortress 2

Team Fortress 2

43 evaluări
How To Create And Make Your autoexec.cfg Better
De către DIJEM
Some Tips To Make Your Autoexec.cfg Better
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
What Is autoexec.cfg
Autoexec.cfg is a configuration file that is stored in the TF2 files. Its main function is to automatically configure TF2 when it is launched. This file can contain custom settings such as keybindings or commands that enhance TF2 performance by increasing FPS.
How To Create autoexec.cfg
  1. Right click on TF2 in your Steam library > "Properties" > "Local Files" > "Browse Local Files".
  2. In the TF2 folder go to: > tf > cfg
  3. Create a .txt file called autoexec.txt and change .txt part to .cfg
    To change the file type from the ribbon bar, select View > Options > Change folder and search options. In the View tab of the Folder Options window, make sure that the Hide extensions for known file types checkbox is disabled, then select the OK button to save.
How To Use Config File And Mastercomfig At The Same Time
You need to repeat all previous steps exept the name of .cfg file. You can call it whatever you want. I use "custom.cfg". The main thing is that its name does not coincide with files already existing in the folder.
Right click on TF2 in your game library > "Properties" > in the General tab, select "Set Launch Options" > in the command line type +exec "your file name".cfg:
+exec custom.cfg
Notepad++
First of all, I really recomend you to use free program called Notepad++[notepad-plus-plus.org], It's very useful for editing .txt files.
How To Organize autoexec.cfg
Two slashes are used to indicate to the game that they are followed by a comment.
Don't put them on the same line before the commands!
You can use them to know exactly what commands do so you won’t get confused in the future if you will need to disable something:
// Itemtest Auto Load map_background itemtest; wait 10; disconnect // Viewmodel Settings viewmodel_fov 95 fov_desired 90 tf_use_min_viewmodels 1 zoom_sensitivity_ratio 0.793471

You can also save your launch options there in case you will lose it, don't forger to put two slashes before:
// Launch Options // +exec custom.cfg -nocrashdialog -width 1920 -height 1080 -novid -nojoy -nosteamcontroller -nohltv -particles 1 -precachefontchars
Showcase Of My Autoexec.cfg
// Itemtest Auto Load map_background itemtest; wait 10; disconnect // Viewmodel Settings viewmodel_fov 95 fov_desired 90 tf_use_min_viewmodels 1 zoom_sensitivity_ratio 0.793471 // Small Map Objects r_drawdetailprops 0 cl_detaildist 0 cl_detailfade 0 // Glowing Through Walls tf_enable_glows_after_respawn 0 // Decals mp_decals 100 r_decals 1024 // Shadows r_shadows 0 // Enable Ragdolls cl_ragdoll_fade_time 15 cl_ragdoll_forcefade 0 cl_ragdoll_physics_enable 1 g_ragdoll_fadespeed 600 g_ragdoll_lvfadespeed 100 ragdoll_sleepaftertime "5.0f" // Disable Gibs cl_phys_props_enable 0 cl_phys_props_max 0 props_break_max_pieces 0 r_propsmaxdist 1 violence_agibs 0 violence_hgibs 0 // CPU mat_queue_mode 2 // HDR mat_hdr_level 0 // VSynk mat_vsync 0 // DirectX mat_dxlevel 90 // Map Textures mat_mipmaptextures 0 // Connection Settings rate 66000 cl_interp 0 cl_interp_ratio 2 cl_cmdrate 66 cl_updaterate 66 cl_interp 0.0152 cl_pred_optimize 2 cl_smooth 0 cl_smoothtime 0.01 // Spray cl_allowdownload 1 cl_allowupload 1 cl_playerspraydisable 0 // No Power Saving mat_powersavingsmode 0 // No Match Hud tf_use_match_hud 0 // Binds bindtoggle \ "r_drawviewmodel" bind "mouse4" "load_itempreset 0" bind "mouse5" "+use_action_slot_item" bind leftarrow "voicemenu 0 4" bind rightarrow "voicemenu 0 5" bind uparrow "voicemenu 0 6" bind downarrow "voicemenu 0 7" // Null-Cancelling Movement Script bind w +mfwd bind s +mback bind a +mleft bind d +mright alias +mfwd "-back;+forward;alias checkfwd +forward" alias +mback "-forward;+back;alias checkback +back" alias +mleft "-moveright;+moveleft;alias checkleft +moveleft" alias +mright "-moveleft;+moveright;alias checkright +moveright" alias -mfwd "-forward;checkback;alias checkfwd none" alias -mback "-back;checkfwd;alias checkback none" alias -mleft "-moveleft;checkright;alias checkleft none" alias -mright "-moveright;checkleft;alias checkright none" alias checkfwd none alias checkback none alias checkleft none alias checkright none alias none "" // Prism Settings (for refract) (for transparent viewmodel) mat_motion_blur_enabled 1 mat_motion_blur_strength 0 mat_disable_bloom 1 mat_hdr_level 0 mat_colcorrection_disableentities 1 mat_colorcorrection 0 // Item Panels Loading Time Fix tf_time_loading_item_panels .0005 //Red Bullet Holes On Wood Fix r_decalstaticprops 1 // Launch Options // +exec custom.cfg -nocrashdialog -width 1920 -height 1080 -novid -nojoy -nosteamcontroller -nohltv -particles 1 -precachefontchars //3d Player Model cl_hud_playerclass_use_playermodel 1 //mouse sensivity 0.31 dpi 400, 3200
15 comentarii
DIJEM  [autor] 26 sept. la 11:00 
Yes, mistake. Second one is right.
Nectarino Mochachino 26 sept. la 0:53 
Is this command twice in connection settings a mistake?
cl_interp 0
cl_interp 0.0152

I assume it will use the second one
DIJEM  [autor] 13 aug. la 11:09 
You need to remove .txt at the end
Ungalo Gaming 13 aug. la 6:33 
the "autoexec.cfg" file never stops being a textnote file though :(
DIJEM  [autor] 8 iul. la 6:38 
I think you just can't. Valve done something with their official servers.
Missing.png 8 iul. la 2:29 
This isn't a guide for custom player models lol
ThisRandomGuy103 8 iul. la 1:17 
what am i doing wrong I've checked multiple guides all telling me the same things to do and it just never works all i want is to use custom player models in casual
DIJEM  [autor] 5 mai la 8:08 
commands
Dell OptiPlex 755 4 mai la 8:56 
yeah but what do i put in the file called custom.cfg
DIJEM  [autor] 8 apr. la 13:10 
I don't have this problem mate, try to google the same issue