How to read this documentation¶
The goal of this documentation is to be a quick reference/manual for regular users, instead of a technical documentation. It should be easily readable by users without too much technical knowledge of the mod. However, there are certain aspects that you as a reader should be aware of when it comes to how the information is presented.
Cvar values¶
Valid values for cvars are presented in few different ways.
Value |
Explanation |
---|---|
any integer |
Any whole number. The cvar ignores decimal values and truncates the number, meaning |
any value |
Any floating point number (a number with decimals), e.g. |
any positive integer |
Any whole number equal to or higher than |
any positive value |
Any floating point number equal to or higher than |
0 or 1 |
Toggle cvar, |
0 - 5 |
A whole number within range |
0.0 - 5.0 |
A floating point number within range |
bitflag |
A combined value of “flags”. Valid values for the flags are listed under the cvar explanation. Adding the desired flag values together represents the final value. For example, a cvar might have flags |
any color |
Takes a color string as an input, see color system for more information. |
any string |
Takes in a string literal. This might sometimes be listed with a context-specific name, such as |
Note
ET handles cvar values internally as 32-bit values. For simplicitys sake, this documentation doesn’t explicitly define the numeric limits of 32-bit values everywhere, but says that you can use “any” value for them. In reality, there are limitations:
Valid range for integers is
-2147483648 - 2147483647
.Valid range for floating point numbers is
-3.40282e+38 - 3.40282e+38
.Maximum length for a string value is 256 characters.
This includes color codes where applicable.
Unless a cvar explicitly defines the valid values with a range, these are the limitations for a given cvar’s value.
Commands¶
ETJump has many commands that are accessible to clients, either as console commands or via the admin system. These commands often take in one ore more arguments. The way these arguments are presented in the documentation uses the following format:
arguments in
<angle brackets>
or in plain text are mandatory.arguments in
[square brackets]
are optional.values separated with
|
are valid values for a given argumentvalues in
(parentheses)
specify a valid range of values for a given argument.values can be specified inside angle or square brackets, e.g.
<value (1-5)>
or[value <a|b|c>]
.
Note
In some examples, the valid values are broken down to separate examples to simplify reading.
These can be combined within a single argument. For example, it’s possible to have an [optional argument <with mandatory value (and range of valid values)>]
.
Let’s take a look at a few examples from the admin system.
Command |
Explanation |
---|---|
|
Takes a single mandatory argument, |
|
Takes a single optional argument, |
|
Takes a single mandatory argument, |
|
Takes a single mandatory argument, |
|
Takes two mandatory arguments, |
|
Takes a single mandatory argument, |