Template:Varcom: Difference between revisions
Jump to navigation
Jump to search
(almost lol) |
(added one last example) |
||
| Line 13: | Line 13: | ||
{{varcom|noclip|Makes player ignore gravity and all solidity. Useful for observing and debugging.}} | {{varcom|noclip|Makes player ignore gravity and all solidity. Useful for observing and debugging.}} | ||
<pre>{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}</pre> | <pre>{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}</pre> | ||
{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}</noinclude> | {{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}} | ||
<pre>{{varcom|setpos|p=x y <z optional>|d=coordinates|Puts the player at the coordinate triplet entered. If <code>z</code> is not specified, the player will maintain their current z position.}}</pre> | |||
{{varcom|setpos|p=x y <z optional>|d=coordinates|Puts the player at the coordinate triplet entered. If <code>z</code> is not specified, the player will maintain their current z position.}}</noinclude> | |||
Revision as of 22:55, 26 July 2018
{{{1}}}
- {{{2}}}
This template can be used for both console variables and console commands.
Parameters:
{{{1}}}: Name of the variable or command.{{{p}}}: Parameter(s) of the command, or for variables, the default value.{{{d}}}: Descriptor for whatever is put in{{{p}}}. If{{{p}}}is not defined,{{{d}}}will not show.
{{{2}}}: Description of the command or variable.
{{varcom|noclip|Makes player ignore gravity and all solidity. Useful for observing and debugging.}}
noclip
- Makes player ignore gravity and all solidity. Useful for observing and debugging.
{{varcom|sv_cheats|p=0|d=arbitrary number|<code>1</code> enables cheats on the server, which disables achievement progress and enables many more console commands.}}
sv_cheats 0(arbitrary number)
1enables cheats on the server, which disables achievement progress and enables many more console commands.
{{varcom|setpos|p=x y <z optional>|d=coordinates|Puts the player at the coordinate triplet entered. If <code>z</code> is not specified, the player will maintain their current z position.}}
setpos x y <z optional>(coordinates)
- Puts the player at the coordinate triplet entered. If
zis not specified, the player will maintain their current z position.