Garry's Mod

Garry's Mod

View Stats:
zvor_ Jun 14, 2014 @ 11:08am
Garry's Mod Useful console commands + info and tips!
--------------Garry's Mod commands that may be useful--------------
--KEY--
X-axis- left to right movement of the camera/crosshair
Y-axis- Up and down movement of the camera/crosshair

**NOTE: If using thirdperson command with SCars, disable the thirdperson view for your character before you get in an SCar because it will obstruct your view in the SCar (credit to Sakarias88, awesome job!)

***NOTE: You can bind any console command to a key!

GENERAL COMMANDS------

1. net_graph (1/0) = enables and disables the fps counter [on (1) and off (0)]

2. sbox_max[type item here] 1-1000 = Changes the limit of whatever item you choose (e.g. sbox_max emitters 200)

3. physgun_maxspeed [(1-100000000)(best choice = between 5,000 and 10,000)] = changes the speed of the scroll when you have a prop in the beam and you pull it towards you with the scroll wheel.

4. kill = Self explanitory **You can bind this command to a key

5. bind [key] [command / message] = Used to bind keys to commands (explanation below)
(e.g. bind p "say noice mate")

A. message could be a command for an admin mod such as !kick player in text chat


B.If your doing a message in text chat, make sure to put the quotation marks ("") before say and at the end of the message.

a.( the message could be used as a command for an admin mod such as !kick [player name]; e.g. bind o "say !kick", you could change the message to include a players specific name in case he comes back on the server rather quickly (e.g. bind o "say !kick eggmonster"); could be used for quick access to commands for admin mod)

C. Remember you can only bind a key to one command!

~unbind [key] = unbinds key from command
**DO NOT TYPE IN unbind all, no matter what people tell you

6. getpos = Allows you to find out your position on the coordinate grid of the map (your position in latitude and longitude)

7. act [muscle or dance] = Makes you dance or do a strip dance (lolz)

SV_CHEATS COMMANDS------

1. sv_cheats (1/0) = enables the ability to use the commands below

2. thirdperson (use firstperson to disable thirdperson) = Changes your point of view

***NOTE: You can bind thirdperson and firstperson commands to a key***
(e.g. bind i [firstperson or thirdperson]) (no brackets, choose one)

3. thirdperson_mayamode = allows you to change the screen to a fixed position
*Still able to move around but camera will be in a fixed position

4.thirdperson_platformer (1/0) = makes you able to look around your character and walk without a fixed camera.
(disable mayamode before using this command {to do that, just type the same command you used to activate it})
***NOTE: platformer mode disables your abililty to move your physgun on the Y-axis and limits your ability of the X-axis to your character movement.

*****NOTE: when you are binding thirdperson_platformer 1 and thirdperson_platformer 0 and thirdperson_mayamode: make sure to put paranthesis before the COMMAND and after it as well. (e.g. bind p "thirdperson_platformer 1")

Tips-

-If you find your physgun beam/character uncentered with your crosshair in thirdperson mode, simply just go into platformer mode (use thirdperson_platformer 1 command) and press w once. Then, go back into regular thirdperson (thirdperson_platformer 0) and it should be fixed. This may happen when you exit platformer mode when you are facing any direction besides where your crosshair is.

Thirdperson is great for combat (looking around corners without exposing yourself), but in some situations your best bet is to use firstperson (firing weapons at players)
Last edited by zvor_; Jan 2, 2016 @ 8:23am
< >
Showing 1-15 of 35 comments
zvor_ Jun 14, 2014 @ 11:13am 
If you have any questions, put 'em in the comments. Remember I can only handle one problem at a time, so if I don't get to you yet, be patient, don't be a d*ck.
jen Dooler Jun 14, 2014 @ 7:24pm 
I have a question.
eyggetuuigi
ComedyGTV Jan 20, 2015 @ 10:43am 
Can I bind the camera with arrow keys instead of using my mouse?
zvor_ Jan 20, 2015 @ 4:32pm 
What exactly do you mean, to move the camera with the arrow keys, because when you bind something to a key its only to enable that specific item not to control it.
zvor_ Jan 20, 2015 @ 4:33pm 
Oh wait I know what you mean. No, you cannot bind camera movement to arrow keys unfortunately. Sorry :(
Papa Ty Nov 26, 2015 @ 7:57pm 
Is there a way to swap keys? like making my arrow keys be the arrow keys in my numpad
Rebel Dec 29, 2015 @ 1:38pm 
is there a way to remove the the binded key
its getting me mad
jen Dooler Dec 29, 2015 @ 2:19pm 
Originally posted by CAT MACHINE GUNNER:
is there a way to remove the the binded key
its getting me mad
use: unbind [key]
Twins Dec 29, 2015 @ 2:29pm 
Do wait variables work on Gmod? I want to to create a "spam script", but I can't seem to get the wait working.
DMATH Dec 30, 2015 @ 3:21am 
sv_gravity 0

followed by reload


lololooolololloolooooooooo
Last edited by DMATH; Dec 30, 2015 @ 3:21am
For the arow keys, is there a command that makes the speed of turning faster?
NONTU Jan 1, 2016 @ 3:04pm 
thx
J4v4ni Jan 1, 2016 @ 4:27pm 
Thanks :cow:
zvor_ Jan 1, 2016 @ 6:37pm 
@Kind Festive Sans-

You cannot make the speed of the turning faster, no. The only way to do that is to turn up your Mouse Sensitivity, if thats not the answer you're looking for, hit me up.
zvor_ Jan 1, 2016 @ 6:39pm 
@Twins-

I don't do Gmod LUA coding, you might have to ask someone else. I struggled with coding when I tried coding HTML, which is easy, so. I just posted this on forums in case you wanted to make use of the console for casual gaming.
< >
Showing 1-15 of 35 comments
Per page: 1530 50

Date Posted: Jun 14, 2014 @ 11:08am
Posts: 35