User Tools

Site Tools


en:start:sauerbraten

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:start:sauerbraten [2015/06/06 20:07] (current)
piernov created
Line 1: Line 1:
 +==Colored Text== ​
 +You'll need to use the control-character "​\f"​ (line-feed),​\\
 +If you need to use it interactively (in-game), you'll want to know it has the ASCII-code of 12;\\
 +  * On Linux you should be able to create it with Control-L (ingame or in an editor) or Ctrl + V and then L (on the shell)
 +  * On Windows you should be able to create it via AltGr-1-2 (numpad only!). The key combination Control-Alt can be used instead of AltGr if you don't have that key.
 +
 +Colorization (this also applies for CubeScript/​ingame colours) works via the control-char followed by a indication character. Apart from the special cases of "​\fs"​ and "​\fr"​ for saving/​restoring previously set colors in the current line of text you can use the following numbers to set to the respective color:
 +
 +  * 0: green
 +  * 1: blue
 +  * 2: yellow
 +  * 3: red
 +  * 4: gray
 +  * 5: magenta
 +  * 6: orange
 +
 +Everything else is drawn in white.
  
en/start/sauerbraten.txt ยท Last modified: 2015/06/06 20:07 by piernov