summaryrefslogtreecommitdiff
path: root/docs/console.txt
blob: eee70ac18617526e144420e80126d255a7d59baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
OPENTTD INGAME CONSOLE DOCUMENTATION
====================================

HOTKEY: TAB

COMMANDS:
---------

list_cmds [filter]
list_vars [filter]
echo [string]
echoc [color-code] [string]
printf [formatstring] [var] [var] [var]....
printfc [color-code] [formatstring] [var] [var] [var]....
screenshot ["big"]
debug_level [0-9]
exit


VARIABLES:
----------
*developer
-> 0 = no output
-> 1 = console error output [like command not found]
-> 2 = console error and debug output

*cursor_rate
-> 1-12 = defines the cursor blink interval 


VARIABLE HANDLING:
------------------

*developer = 0
*developer ++

*temp_string = test
*temp_string = "my little"

printf "%s world" *temp_string


---------------------------------------------------
feel free to add more commands and use this in-game
console for your debugging / enhancements