Garry's Mod

Garry's Mod

102 ratings
Really useful commands to improve your G-Mod experience
By ♡ent_Hexodile♡
How to improve your gmod with your autoexec.cfg file and other really useful commands for many features of gmod.

RU guide can be found here: (thank you rrocev9!)
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3471397456
   
Award
Favorite
Favorited
Unfavorite
Useful commands
r_radiosity 4 - Changes prop lighting on the world and makes it smoother and better looking (default 3)

developer 1 - Useful for server operators or developers who need quick access to console on their hud which it prints to on the top left corner (default 0)

contimes <number> - pairs well with the developer command, and tells your gmod how many lines of console to print to your hud, usually I have my contimes set to 12 (default 10)

gmod_mcore_test 1 - Allows your gmod to use multiple CPU cores and not just one, which is less intensive but still a bit buggy for gmod, though it is preferable to set your gmod branch to x64 bit via this method. (default 0)

mat_fullbright 0 - sets your game's rendering of everything to have shadows, which is useful if you have maps with no lighting and don't know how to fix it. (default 0)

find <command name or phrase> - useful for finding commands and listing certain types of commands when you don't know what it may be called, for example, typing "find sv_" will find and list all the commands your game has that have the phrase "sv_" in it, such as sv_accelerate, sv_voiceenable, etc.

clear - clears everything printed in your console, useful for debugging or removing clutter in your console.

help <specific command name> - tells you what a specific command may do if you give it the specific name, such as typing "help kill" in console, it would tell you "Kills the player with generic damage". This is useful if people are trying to get you to enter a console command you don't recognise, such as maybe "unbindall" (which is pretty obvious what it does) if you dont trust them.

net_graph 4 - This command displays your FPS, ping, lerp, etc. in your bottom right of your screen by default, so its helpful for benchmarking on servers and singleplayer, but can also be set from values 1 to 4, each indicating more amounts of information about the performance you or the server will be having. (default 0)


spawnicon_queue 1 - Using this command enables an alternative method for your gmod spawnmenu to load props, which helps decrease low fps performance when loading in large chunks of your spawnmenu (such as sprops in the spawnmenu, etc.) (default 0)
Fun commands
viewmodel_fov 100 - This command does what it describes, it adjusts your viewmodel's (arms) field of view, but does not change your actual camera's fov. Useful for seeing more of your arms if you want to I suppose. (default 54)


voice_scale 10 - Multiplies your gmod's voice scale by ten times (which is the max), obviously making it very loud, so be warned about this one, since it can damage your ears if you're not to keen on hurting them. (default 1)

poster 2 - takes a screenshot twice your gmod resolution, I dont recommend ever setting this above 4, since it will crash your game if it gets any larger because of the sheer dimensions of your image.

jpeg_quality 1 - sets your camera swep's screenshot quality to the minimum setting, making it as compressed as possible for when you take a screenshot next with your camera. This is really fun to take horribly compressed screenshots with honestly, and is one of my favourites. (default 90)


buddha - Similar(ish) to the god command, in that both require sv_cheats 1 and make your player invincible. However, what buddha does is that you still take knockback and damage effects, but you only can go down to 1 hp at minimum.

phys_timescale 0 - This command basically stops all prop and non-static entity movement by slowing time's speed to 0. Any prop or object that isnt an NPC or player will be frozen in time. This command can also be scaled from 0 to 1, meaning you can have 0.1, 0.2, etc. (default 1)

speak "sentence here with quotes" - This command lets you make the hl1 vox play a sentence with pre-constructed words that it has access to, which can make for some pretty funny things you can hear on your client. Some examples I have are speak "freeman you are going to die" , speak "one zero six has breached containment", and speak "gordon freeman is now going to explode". You can find a list of the words you can use and test them for yourself here[half-life-vox.com]. (half-life source is required to be mounted for this command to work)

ragdoll_sleepaftertime 0 - This makes it so the moment an npc or player dies, their ragdoll will stop moving almost immidiately, giving them a frozen-in-air sort of look. Really fun just to mess around with while pvping other people on servers or killing npcs. (default 5.0f [yes, include the f])


cl_cmdrate +66 - Artificially decreases your ping on any server to 5, which is useful for hiding your real ping and having fun tricking people into thinking you have good ping. Keep in mind, this may minimally affect your connection or performance. (default 66)

dsp_player 38 - Changes the source dsp audio effect in your game. You can change the console variable anywhere from 0 to 133 (though most serve same or similar function). Essentially adds different audio effects, such as bass boosting, reverb, echo, ringing, distortion, and more to your game's audio. You can find the full list of effects here. (default 0)

explode - same as the kill command, but if you (or the server you're on) supports gibbing, will make your player explode into a bunch of gibs upon death. Really funny for comedic effect.
Bug fix commands
snd_restart - This command is a more powerful version of stopsound but instead of stopping any looping or currently playing sounds, it restarts your gmod's sound system, effectively killing most other sounds that would persist after a common stopsound command. This also stops your mic if you get a bug with it persisting after you let go of your mic button.

record fix;stop - This command is more specific to servers that have addons such as Advanced Material or others, where your props remain a weird color or material, etc. that you did not give it. This is technically two commands in one, which starts a recording then immidiately stops it, forcing your gmod to request a full update and update all entities (thanks redox)
How to use autoexec.cfg
Some of these commands are reset every time you open gmod, so its useful to have these on a file which will automatically run every time you open the game. This file is called autoexec.cfg, and can be found in your gmod install, which is usually structured as follows:
[STEAM INSTALL DIRECTORY]\steamapps\common\GarrysMod\garrysmod\cfg\autoexec.cfg

You can also find this by opening steam, right clicking gmod in your steam library, clicking browse game files and going to your GarrysMod\garrysmod\cfg\autoexec.cfg file



After you find this file, paste this following text into to tell your gmod that it must use these following commands whenever you turn in your game:

(put any list of commands here, make sure they are above host_writeconfig and have a line between each command)
mat_fullbright 0 (optional)
gmod_mcore_test 1 (optional)
host_writeconfig


for reference, the commands I use whenever I launch my gmod are listed below in this screenshot:


After all this, make sure you type this into your gmod's launch options on steam (which can be done by right clicking your gmod in the steam library, clicking options, and scrolling down to "launch options"):
+exec autoexec.cfg

23 Comments
rrocev9 27 Apr @ 4:47am 
:Anyippie:
♡ent_Hexodile♡  [author] 27 Apr @ 4:42am 
looks great, Ill link to your guide too for others. tysm!
rrocev9 27 Apr @ 4:37am 
Hey, bro.
I translated your guide, here's the link:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3471397456
♡ent_Hexodile♡  [author] 23 Apr @ 7:17pm 
Sure, go ahead.
rrocev9 23 Apr @ 7:49am 
Hi! Do you mind if I translate your guide into Russian? I will indicate your authorship both at the end of the guide and in the description. Thanks in advance :Anyippie:
♡ent_Hexodile♡  [author] 21 Aug, 2024 @ 10:48pm 
no problem :steamthumbsup:
[WindVex] 21 Aug, 2024 @ 9:52pm 
thank you
♡ent_Hexodile♡  [author] 21 Aug, 2024 @ 3:53pm 
notepad if you havent got notepad++
[WindVex] 21 Aug, 2024 @ 2:57pm 
What do i use to open the autoexec config file?
RickiShade 30 May, 2024 @ 1:16pm 
Fucking amazing