Console commands
Console
As of version 00002.02.25.18.0001.blamite
, the console was functional in the engine. It can be accessed by pressing the ~
key. Currently, any controls specified in keycontrol.cpp
tends to be a bit fickle, and may take some careful key pressing to show it. A fix is currently in the works and should be available in the next update.
Tab autocomplete is supported.
List of console commands
classify
- Aliases:
man
- Description: Internal testing command, carried from imgui console example. Will be converted into a type of
man
command - Introduced:
2/25/2018
- Arguements:
N/A
cls
- Aliases:
clear
- Description: Clears console output
- Introduced:
2/25/2018
- Arguements:
N/A
quit
- Aliases:
exit, qqq
- Description: Exits the game
- Introduced:
2/25/2018
- Arguements:
N/A
h2print
- Aliases:
N/A
- Description: Print command that operates identical to that of the official games. Messages are all lowercase when printed, and there can only be one word.
- Introduced:
2/25/2018
- Arguements:
N/A
nou
- Aliases:
N/A
- Description: Prints the message "no u"
- Introduced:
2/25/2018
- Arguements:
N/A
crash
- Aliases:
kms
- Description: Crashes the engine.
- Introduced:
2/25/2018
- Arguements:
/CONFIRM
help
- Aliases:
N/A
- Description: Shows a list of all commands
- Introduced:
2/25/2018
- Arguements:
N/A
history
- Aliases:
N/A
- Description: Shows the history of commands executed
- Introduced:
2/25/2018
- Arguements:
N/A
print
- Aliases:
N/A
- Description: Prints a message. You can simply do
print <message>
, or you can add an arguement for a color. See below for details. - Introduced:
2/25/2018
- Arguements: Syntax is:
print:args <message>
red
- Prints a red message#
- Replace#
with a Minecraft color codeblue
- Prints a blue messageigold
- Prints a beige messageyellow
- Prints a yellow messagegray
- Prints a gray messagepink
- Prints a pink message-
rgb(rrr,ggg,bbb)
- Prints a message with an RGB color code. Keep in mind that each RGB value MUST have 3 digits. For instance, if your color value is:rgb(12,48,255)
, then you must format it as:rgb(012,048,255)
. -
Minecraft color codes
0
- Black1
- Blue2
- Green3
- Cyan4
- Red5
- Purple6
- Gold7
- Light Gray8
- Dark Gray9
- Light Bluea
- Light Greenb
- Sky Blue (Light Cyan)c
- Light Redd
- Pinke
- Yellowf
- White
version
- Aliases:
N/A
- Description: Shows the version of the engine. This is partially a placeholder taken from Halo 2 Vista's Sapien editor, but it does print the proper version.
- Introduced:
2/25/2018
- Arguements:
N/A
show_stats
- Aliases:
N/A
- Description: Shows the stats text in the top left. It currently shows FPS, the amount of ms per frame, and the mouse pointer location onscreen.
- Introduced:
2/25/2018
- Arguements:
N/A