Tristan's autoexec.cfg

  • Looking for our server(s)? Go to our servers page after you've subscribed to our content pack. Hope you enjoy them!
  • You can purchase Premium Membership to enhance your game experience and support our community!
  • Meet other members and stay updated in our Discord and Steam Group. Find out how to get permissions on Discord here.

Tristan

MRP Senior Administrator
MRP Senior Administrator
Forum Moderator
Marketing Team
Media Creator
Event Team
MRP Recruitment Team
Dec 27, 2018
352
370
63
the United States
Code:
// Tristan's GMod Config
// v1.4

cl_forcepreload 1
cl_smooth 0
cl_threaded_bone_setup 1
cl_threaded_client_leaf_system 1
fps_max 0
gmod_mcore_test 1
mat_bloomscale 0
mat_bumpmap 1
mat_disable_bloom 1
mat_hdr_enabled 0
mat_hdr_level 0
mat_queue_mode 2
mat_specular 1
r_drawmodeldecals 0
r_queued_ropes 1
r_threaded_client_shadow_manager 1
r_threaded_particles 1
r_threaded_renderables 1
studio_queue_mode 1
// These commands increase FPS without changing how the games looks too much or at all.

fog_override 1
fog_enable 0
fog_enableskybox 0
r_3dsky 1
r_farz -1
r_screenfademaxsize 0
r_screenfademinsize 0
// These commands increase or clarify your render distance; should make it so you can see farther away. This could be good to reduce pop-in (objects visibly loading in) or to see things farther away in combat situations.

mat_fullbright 1
mat_shadowstate 0
r_shadowcolor 255 255 255
r_shadowmaxrendered 0
r_shadowrendertotexture 0
// These commands disable most shadows. This increases FPS and also makes it so you can see things clearer.

cl_playerspraydisable 0
r_spray_lifetime 9999
r_decals 9999
mp_decals 9999
// Enables sprays and keeps decals around for the max amount of time. Good for retaining blood decals that can be pertinent to certain rp situations.

snd_legacy_surround 0
snd_surround_speakers 0 // 0 = headphones 1 = speakers 5 = surround sound (virtual or real)
dsp_enhance_stereo 1 // "1" for headphones, "0" for speakers or surround sound
snd_disable_mixer_duck 0
snd_pitchquality 1
dsp_slow_cpu 1
snd_spatialize_roundrobin 0
snd_mixahead 0.1
snd_mix_async 1
snd_musicvolume 0
// Increases audio clarity and responsiveness; removes echo and reverb effects. Could increase FPS slightly.

alias jpeg
// Disables camera swep from taking screenshots.

hud_draw_fixed_reticle 1
crosshair 0
// Enables the hl2 crosshair and disables any others. Good commands to use with a custom crosshair.

r_rootlod 0
r_lod 0
// Sets model detail to high to stop cars from glitching out.

bind "alt" "+walk"
// Binds 'Walk (Move Slowly)' in keyboard settings to alt. This is needed to pick up certain items in RP with alt+e. It will bind it for new players, and ensure it doesn't get unbinded for returning players.

m_customaccel 0
m_rawinput 1
// Disables mouse acceleration.

menu_cleanupgmas
// Cleans up unused and unsubcribed from addons that are normally left behind. Could reduce crashes.

sv_cheats 1
// Enables cheats for singleplayer.

echo "Tristan's config loaded successfully! Now for some tidying up..."

// Changelog:
// v1.4 - Changed snd_mixahead back to default value to remove crackling.
// v1.3 - Added sound commands to increase overall sound quality and performance.
// v1.2 - Added alt walk bind for alt+e rp pickups.
// v1.1 - Corrected grammatical errors in comments.
// v1.0 - Initial release.

This is my personal autoexec config; just sharing here because it's stopped crashing and lag for everyone I've shared it privately with. You can add or remove any commands as you see fit. Check out this nice thread by @gm1003 for how to use this:

 
Last edited:

KbsmokeJDM

Banned
Banned
Aug 16, 2017
109
51
28
15
California, United States of America
this is why mans is a SA
 

Max Veira

Active Member
Oct 8, 2018
76
55
18
helps my potato so much
 

Tristan

MRP Senior Administrator
MRP Senior Administrator
Forum Moderator
Marketing Team
Media Creator
Event Team
MRP Recruitment Team
Dec 27, 2018
352
370
63
the United States
Hey guys, glad you like the config. I've updated it 3 times now with some more commands that I researched and tested. You can check the changelog at the bottom of the config to see what they are. ;)
 
  • Love
Reactions: Sad UwU

Tristan

MRP Senior Administrator
MRP Senior Administrator
Forum Moderator
Marketing Team
Media Creator
Event Team
MRP Recruitment Team
Dec 27, 2018
352
370
63
the United States
Should I do all of the commands even the sound ones ??
Each group of commands are labeled at the bottom after "//" with what they do. You can decide if you want them or not by just not including them, the sound ones will give you better sound clarity and a possible slight increase in FPS. Their default values are for a headset. You can change the values as described if you use speakers, or it probably doesn't really matter to you if you switch between the 2 often.
 

gm1003

MRP Administrator
MRP Administrator
Forum Moderator
Report Management
Marketing Team
Event Team
MRP Recruitment Team
Jul 7, 2018
643
673
108
18
Houston, TX
godly config, helps out a lot
 

Tayven99

Active Member
Nov 19, 2018
73
26
18
21
Yikes I don't like the sound please put command where audio goes default.
 

Tristan

MRP Senior Administrator
MRP Senior Administrator
Forum Moderator
Marketing Team
Media Creator
Event Team
MRP Recruitment Team
Dec 27, 2018
352
370
63
the United States
Yikes I don't like the sound please put command where audio goes default.
Just delete the group of commands from the config and switch back to your old sound settings in GMod's audio settings. The default is: sound quality - high, speaker configuration - 2 speakers, I believe.

Most of the commands already are defaults for headphone configuration, the ones that aren't just remove echo. Unless you were used to a non-standard sound setup before then it shouldn't sound worse. You'll have to find what those were yourself.

You could also change the sound command values to speakers (gmod default), or surround as I specified in the config here:
Code:
snd_surround_speakers 0 // 0 = headphones 1 = speakers 5 = surround sound (virtual or real)
dsp_enhance_stereo 1 // "1" for headphones, "0" for speakers or surround sound
 
Last edited: