Command Line Parameters

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
Line 44: Line 44:
 
| -tools
 
| -tools
 
|Starts the game in tool mode, allowing use of [https://developer.valvesoftware.com/wiki/Particle_Editor Particle Editor] and similar [https://developer.valvesoftware.com/wiki/Engine_tools Engine Tools]
 
|Starts the game in tool mode, allowing use of [https://developer.valvesoftware.com/wiki/Particle_Editor Particle Editor] and similar [https://developer.valvesoftware.com/wiki/Engine_tools Engine Tools]
 
 
  
 
|}
 
|}

Revision as of 19:40, 13 June 2016

List of important Command Launch Parameters

This is a list of some important Command Line Parameters for Garry's Mod.

Command Line Description
-noworkshop Disables workshop addon system in the game. Works on Dedicated servers as well as your client. Does not affect folder/legacy addons or directly loaded .gma files.
-multirun Allows you to launch multiple instances of the game. You will not be able to connect to the same multiplayer server from both instances, unless the server has sv_lan set to 1.
-dxlevel Forces the game to start using specified DirectX API version. Officially supported values are: 90, 91, 95 (recommended) After starting the game with this launch parameter, the selected value will be saved for future start ups and video settings will be temporarily reset (but not saved), so it is highly recommended to remove this launch parameter after first launch with it.
-window Forces the game to start in windowed mode regardless of the setting in the options
-noborder In combination with -window, hides the default OS window border, including drag bar and close buttons.
-w Forces width of your game window. Used in combination with -h. Must be a valid screen resolution.
-h Forces height of your game window. Used in combination with -w. Must be a valid screen resolution.
+<console command name> Sets value of a console command after the game is started.
-tools Starts the game in tool mode, allowing use of Particle Editor and similar Engine Tools

Setting up Command Line Parameters in Steam

To set Command Line Parameters (Launch Options) in Steam for Garry's Mod:

  • Open your Steam Library and right click on Garry's Mod and click Properties

Right Click GMod.png

  • In the pop up window press Set Launch Options...
  • A new pop up window will appear, where you can enter your desired Launch Options, separated by space

Launch Parameters GMod.png

  • After you are done, press OK and then Close and you are done
Personal tools
Navigation