Garry's Mod Wiki

Revision Difference

ConVars_In_Garrysmod#561164

<cat>Play</cat> Garry's Mod adds a bunch of additional console commands and variables alongside with the [Source Engine default ones](https://developer.valvesoftware.com/wiki/Console_Command_List). <note> This is not a list of ALL the convars added by gmod, there are many many more. If you are trying to look for one in particular there are two important console commands to know: The first command is `find`. You can add search arguments after it to search through all the console commands to return the one your looking for. For example, if I wanted to find all the vgui commands I could run `find vgui` The second command is `cvarlist`. This will print out every consolevar currently loaded, HOWEVER *THE CONSOLE LINE LIMIT OFTEN IS REACHED* which means many of them will be cut off at the top </note> ## Lua related console variables Command | Default | Description | --------|---------|------------| | sv_allowcslua | 1 | Allow clients on the server to run lua_openscript_cl and lua_run_cl. | | sv_kickerrornum | 0 | If a client's amount of clientside errors reaches this value, the client is automatically disconnected from the server. A value of 0 means disabling this functionality. | | lua_networkvar_bytespertick | 256 | Allows you to control how many bytes are networked each tick. This should affect all NW functions. not NW2 | ## Physics Gun specific console variables Command | Default | Description | --------|---------|------------| | physgun_timeToArrive | 0.05 | How fast the held entity should arrive to target position in front of the player | | physgun_timeToArriveRagdoll | 0.1 | Same as above but for ragdolls | | physgun_teleportDistance | 0 | If distance between target position and current position of held entity is greater than this, the held entity will teleport to target position, instead of trying to get there by "flying" | | physgun_limited | 0 | When enabled the physgun can only pickup props and ragdolls. | | physgun_rotation_sensitivity | 0.05 | The sensitivity of rotation | | physgun_wheelspeed | 10 | The sensitivity of scrolling | | physgun_maxAngular | 5000 | Max angular velocity of held entity | | physgun_maxAngularDamping | 10000 | | | physgun_maxSpeed | 5000 | Max velocity of held entity | | physgun_maxSpeedDamping | 10000 | | | gm_snapgrid | 0 | Snaps your props to a grid based on the value set | | gm_snapangles | 45 | How many degrees should the entity snap when rotating with shift+e | ## Miscellaneous console variables Command | Default | Description | --------|---------|------------| | cl_steamoverlay_pos | 1 (Top Right) | Which corner to position the steam overlay notifications.<br/><br/>0=Top Left, 1=Top Right, 2=Bottom Left, 3=Bottom Right | | cc_lang | Steam language-dependent | Changes the language used by closed captions in HL2. | ⤶ ⤶ ⤶ ⤶ | gmod_delete_temp_files | 1 | Delete temporary files downloaded from servers such as sprays. |⤶ | gmod_language | "" | Changes language of Garry's mod |⤶ | gmod_maxammo | 0 | If set to above 0, overrides max ammo carried per player of all ammo types. Otherwise ammo type's max ammo is used. |⤶ | gmod_mcore_test | 0 | if you find this, don't go around enabling it and then complaining about issues |⤶ | gmod_sneak_attack | 1 | If set to zero, disables Half-Life 2's Sneak Attack feature, where headshotting NPCs who have not seen the player would result in an instant kill. |⤶ | gmod_suit | 0 | Set to non zero to enable Half-Life 2 aux suit power stuff. |⤶ | gmod_unload_test | 0 | Unload materials and models on disconnect. Unstable. Use at your own risk. |⤶ | fs_tellmeyoursecrets | 0 | Causes the Filesystem to print every action |⤶