author | dominik |
Tue, 24 Aug 2004 12:34:16 +0000 | |
changeset 130 | b593afdae262 |
parent 126 | 152df0cc4ac2 |
child 141 | 29cc31c87ede |
permissions | -rw-r--r-- |
126 | 1 |
OPENTTD INGAME CONSOLE DOCUMENTATION |
2 |
==================================== |
|
3 |
||
130
b593afdae262
(svn r131) Completely changed hotkey from tab to backquote (not working in Windows yet)
dominik
parents:
126
diff
changeset
|
4 |
HOTKEY: BACKQUOTE (aka tile, the key left to "1") |
126 | 5 |
|
6 |
COMMANDS: |
|
7 |
--------- |
|
8 |
||
9 |
list_cmds [filter] |
|
10 |
list_vars [filter] |
|
11 |
echo [string] |
|
12 |
echoc [color-code] [string] |
|
13 |
printf [formatstring] [var] [var] [var].... |
|
14 |
printfc [color-code] [formatstring] [var] [var] [var].... |
|
15 |
screenshot ["big"] |
|
16 |
debug_level [0-9] |
|
17 |
exit |
|
18 |
||
19 |
||
20 |
VARIABLES: |
|
21 |
---------- |
|
22 |
*developer |
|
23 |
-> 0 = no output |
|
24 |
-> 1 = console error output [like command not found] |
|
25 |
-> 2 = console error and debug output |
|
26 |
||
27 |
*cursor_rate |
|
28 |
-> 1-12 = defines the cursor blink interval |
|
29 |
||
30 |
||
31 |
VARIABLE HANDLING: |
|
32 |
------------------ |
|
33 |
||
34 |
*developer = 0 |
|
35 |
*developer ++ |
|
36 |
||
37 |
*temp_string = test |
|
38 |
*temp_string = "my little" |
|
39 |
||
40 |
printf "%s world" *temp_string |
|
41 |
||
42 |
||
43 |
--------------------------------------------------- |
|
44 |
feel free to add more commands and use this in-game |
|
45 |
console for your debugging / enhancements |
|
46 |