http://cubeengine.com/w/index.php?title=Coloured_text&feed=atom&action=historyColoured text - Revision history2024-03-29T06:53:14ZRevision history for this page on the wikiMediaWiki 1.31.7http://cubeengine.com/w/index.php?title=Coloured_text&diff=186&oldid=prevAdmin at 16:49, 12 December 20142014-12-12T16:49:47Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 16:49, 12 December 2014</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l5" >Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* On Linux '''Control + V''' and then '''L''' will produce it on the shell or similar enviroment</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* On Linux '''Control + V''' and then '''L''' will produce it on the shell or similar enviroment</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* On Windows you can also try 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.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* On Windows you can also try 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.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* You can also use [http://cubeengine.com/<del class="diffchange diffchange-inline">wiki</del>/files/Control_char_formfeed.txt Control_char_formfeed.txt] (use "Save Link as..." from your browser!) - again, it may be rendered invisible by your editor - find one for your platform that shows up control-characters!</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* You can also use [http://cubeengine.com/<ins class="diffchange diffchange-inline">w</ins>/files/Control_char_formfeed.txt Control_char_formfeed.txt] (use "Save Link as..." from your browser!) - again, it may be rendered invisible by your editor - find one for your platform that shows up control-characters!</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Colourization (this also applies for CubeScript/ingame colors) 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 colour:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Colourization (this also applies for CubeScript/ingame colors) 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 colour:</div></td></tr>
</table>Adminhttp://cubeengine.com/w/index.php?title=Coloured_text&diff=127&oldid=prevAdmin at 15:59, 12 December 20142014-12-12T15:59:17Z<p></p>
<p><b>New page</b></p><div>==Coloured Text== <br />
You'll need to use the control-character "\f" (line-feed),<br />
If you need to use it interactively (in-game), you'll want to know it has the ASCII-code of 12;<br />
* On Linux and Windows '''Control + L''' will create it (unseen, it doesn't render - it's invisible!) in-game - behaviour in a gui-editor (3rd party) may vary.<br />
* On Linux '''Control + V''' and then '''L''' will produce it on the shell or similar enviroment<br />
* On Windows you can also try 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.<br />
* You can also use [http://cubeengine.com/wiki/files/Control_char_formfeed.txt Control_char_formfeed.txt] (use "Save Link as..." from your browser!) - again, it may be rendered invisible by your editor - find one for your platform that shows up control-characters!<br />
<br />
Colourization (this also applies for CubeScript/ingame colors) 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 colour:<br />
<br />
* 0: green<br />
* 1: blue<br />
* 2: yellow<br />
* 3: red<br />
* 4: grey<br />
* 5: magenta<br />
* 6: orange<br />
<br />
Everything else is drawn in white; a commonly seen colour-code-string is "\ff" for white<br />
<br />
Also see what the AssaultCube people wrote on the [[@http://wiki.cubers.net/action/view/CubeScript|AC wiki about colouring text]]</div>Admin