Console: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
No edit summary |
Bloodshedder (talk | contribs) (test edit after wikimedia upgrade) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
{{backto|Eternity Engine}} | {{backto|Eternity Engine}} | ||
{{editref}} | {{editref}} | ||
==Notes on | ==Notes on special command syntax== | ||
Commands which take parameters may accept numbers, strings, or members of a predefined set of values. | Commands which take parameters may accept numbers, strings, or members of a predefined set of values. | ||
ex: | ex: | ||
Line 31: | Line 31: | ||
ex: | ex: | ||
$ hu_overlay / | $ hu_overlay / | ||
==List of console commands and variables== | |||
:''See [[List of console commands and variables]]'' | |||
==List of console commands== | |||
:''See [[List of console commands | |||
[[Category:Console]] | [[Category:Console]] |
Latest revision as of 20:07, 2 March 2023
This reference contains information on useful console commands and variables that work with the Eternity console, as well as pointers on console command syntax.
- Back to Eternity Engine
- This section incorporates text from the HTML Eternity documentation.
Notes on special command syntax[edit]
Commands which take parameters may accept numbers, strings, or members of a predefined set of values.
ex: $ delay 50 $ spawn 249 1 $ name Quasar $ hu_overlay distributed
If string arguments contain whitespace, they must be in quotations. Quotations around strings are otherwise optional.
ex: $ echo "This has to be in quotes" $ i_error "R_FindVisplane: no more visplanes!"
Multiple commands can be run from one prompt by separating them with a semicolon.
ex: $ delay; kill
Variables of type integer, named-value, on / off, and yes / no can be affected by the following operators:
- +
- Affixed to the end of the variable, it will increment it to the next valid value, but no higher than the maximum allowed.
ex: $ screensize +
- -
- Affixed to the end of the variable, it will decrement it to the next lower valid value, but no lower than the minimum allowed.
ex: $ screensize -
- /
- Toggles through the variable values from minimum to maximum, wrapping around to the minimum value again when it is maxed out. This is most useful with two-state yes/no and on/off variables.
ex: $ hu_overlay /