Code:
// Tristan's GMod Config
// v1.7
cl_forcepreload 0
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_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.
r_rootlod 0
r_lod 0
// Sets model detail to high to stop cars from glitching out.
snd_legacy_surround 0
snd_surround_speakers 0 // 0 = headphones, 1 = speakers, 5 = surround sound
dsp_enhance_stereo 1 // 1 = headphones, 0 = 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. There are 2 settings that you can change the values depending on your speaker type. It's pre-setup for headphones.
hud_draw_fixed_reticle 1
crosshair 0
// Enables the hl2 crosshair and disables any others. Good commands to use with a custom crosshair. (https://steamcommunity.com/workshop/browse/?appid=4000&searchtext=crosshair)
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.
bind leftarrow +left
bind rightarrow +right
// Binds +left and +right to left and right arrow keys, this is good for watering in circles in accordance with the rules. Makes it so your character turns in place while holding these keys.
alias tristan_attack_on "+attack;alias tristan_attack_toggle tristan_attack_off"
alias tristan_attack_off "-attack;alias tristan_attack_toggle tristan_attack_on"
alias tristan_attack_toggle tristan_attack_on
bind uparrow tristan_attack_toggle
// Binds the up arrow key to run +attack when you press and release it. Press and release it again to run -attack. This is used for auto swinging and watering; don't go AFK while using this.
bind downarrow "say /dab"
// Dabs when you press down arrow if you're premium.
alias jpeg
// Disables camera swep from taking screenshots.
m_customaccel 0
m_rawinput 1
// Disables mouse acceleration.
sv_cheats 1
// Enables cheats for singleplayer.
menu_cleanupgmas
// Cleans up unused and unsubcribed from addons that are normally left behind. Could reduce crashes.
echo "Tristan's config loaded successfully! Now for some tidying up..."
// Changelog:
// v1.7 - Disabled cl_forcepreload. Added premium dab bind to down arrow.
// v1.6 - Added up arrow +attack toggle.
// v1.5 - Added +left and +right watering binds, moved some things around and added more information.
// 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:
How to use the autoexec.cfg file (FPS COMMANDS???)
Shortlink: https://monolithservers.com/forums/threads/19957/ If you edit the config.cfg or use the ingame console directly, the settings will only stay until you close the game. However, the autoexec.cfg file is used to automatically execute console commands at startup rather than you typing...
monolithservers.com
Last edited by a moderator: