ALL TAGS (some are probably not available on center/bottomprint):
<font:fontName:fontSize> - sets the font and fontsize as indicated. Example: <font:Arial Bold:20>
<tag:???> - not sure what this does
<color:rrggbb> - sets text color in hex format. Example: <color:ff0000> will display red text
<bitmap:filePath> - displays a bitmap image indicated by the file path. Example: <bitmap:demo/client/ui/seperator>
<spush> - saves the current text formatting so that temporary changes to formatting can be made. Used with spop.
<spop> - restores the previously saved text formatting. Used with spush. See the file "3. Gui Editor.hlf" included with the TGE demo for an example of usage.
<sbreak> - not sure what this does
<just:left> - left justify
<just:right> - right justify
<just:center> - center justify
<a:ExternalURL>LinkTitle</a> - inserts a hyperlink into the text which will open the user's browser.
The external URL does not need the "http://" format. Example: <a:www.garagegames.com>Garage Games Website</a>
<lmargin: ##> - sets the left margin
<lmargin%: ##> - sets the left margin (not sure what the % does)
<rmargin: ##> - sets the right margin
<rmargin%: ##> - sets the right margin (not sure what the % does)
<clip:> - not sure what this does
<div:> - not sure what this does
<tab:##(,##,etc)> - sets the tab stops (multiple tabs are separated by commas)
<hr> - Breaks the current line and begins a new one.
Read
http://forum.blockland.us/index.php?topic=211908.0 for more info on the <color:xxxxxx> tag.
There's a maximum limit of
4 TorqueML tags on a Center/Bottom Print event.
Center Print/Bottom Print/GuiTextCtrls all use TorqueML, a.k.a. Torque Markup Language.
The <a:x></a> tag This tag is used for links.
For example,
<a:www.example.com>This link will take you to example.com</a> will appear as this on Center/Bottom Print:
This link will take you to example.comThe <bitmap:x> tag This tag can display images.
<bitmap:base/data/blah.png> will display the image
blah.png in the data folder, which is in the base folder.
If the image doesn't exist, then it'll display nothing.
The <font:name:size> tag The parameter
name is the font name you want to use.
The parameter
size is the size of the text in points.
If the font doesn't exist on the user's computer, then it won't display anything at all.