So here's some information into setting up server news page and what tags are supported.
Few notes though:
Colour tags are supported with following formats:
#HEX -
Hex definition of font color.
RBG(RRR,GGG,BBB) - 0-255 color values for RBG, i.e: RBG(255,0,0) for red.
Color name:
RED,
BLUE,
GREEN,
YELLOW,
BLACK,
WHITE.
Font size can be defined either with a value relative to screen resolution (0-16), where largest values are for smaller font size. Or then with negative numbers (-1 to -9) for size regardless of screen resolution on client, where -1 is smallest and -9 is largest font size.
All images you use must be from in-game only (I can't make it download binary files from websites). So image names must match with some texture from in-game or it will show as Engine.DefaultTexture, as example:
<IMG SRC="2K4Menus.DemoHeaderBar">
Following tags are available:
<P> - Paragraphs, simply ends text with 2 line breaks (same as using <BR><BR>).
<BR> - Line break.
<BODY> - Setup news page body, with additional settings:
BGCOLOR= - Background color.
LINK= - Link color.
ALINK= - Focused link color (when you hover your mouse over it).
TEXT= - Default text color.
SIZE= - Default font size.
IMG= - Background texture, has following params:
IMGSTYLE= - Background image style, supports following styles:
FIT - Default, stretch out the texture to cover entire screen.
FITX - Stretch out texture to fit screen horizontally while keeping texture aspect ratio.
FITY - Same as above but fit screen vertically.
TILED - Tile the texture by repeating it over and over, that contains following params:
TILEX= - X scaling of the image (default to texture U size).
TILEY= - Y scaling of the image (default to texture V size).
IMGLOCK= - Lock the image in place when scrolling the news page up and down (default to 1, but can be set to 0 to enable it scroll off background).
<CENTER>Abc</CENTER> - Center alignment on a segment of text.
<RIGHT>Abc</Right> - Right alignment on a segment of text.
<H1>Abc</H1> - Header text (center alignment + font size 5).
<FONT>Abc</FONT> - Change font with following params:
COLOR= - Text color.
SIZE= - Text size.
<TAB X=64>Abc</TAB> - Indent text with that many pixels.
<TITLE>Abc</TITLE> - Set news page title.
<A HREF="http://www.google.com">Google</A> - Set a link, supports following protocols:
http:// - Will launch up standard internet explorer with the site and minimize the game.
kfurl:// - Will change page on the news page explorer.
kf:// - Will launch URL within game (can be IP-address or a map, kf://KF-Manor or kf://12.12.12.12:1234).
<IMG> - Show a texture on the page with following params available:
SRC= - Texture name.
VSPACE= - X pixels offset from current location (default 0).
HSPACE= - Y pixels offset from current location.
WIDTH= - X pixels size (default USize of image).
HEIGHT= - Y pixels size.
ALIGN= - Alignment of the image:
LEFT - Place on left side of screen.
CENTER - Place in center of screen.
RIGHT - Place on right side of screen.
Defaults to directly after text at current position.
STYLE= - Image style:
NORMAL - Stretch it out normally (default).
STRETCH - Draw it stretched like GUI buttons or so,
see here for reference.
TILEDX - Tile it on X axis and stretch on Y.
TILEDY - Tile it on Y axis and stretch on X.
TILED - Tile it on both axis.
Here is an example rules page:
<TITLE>Killing Floor server</TITLE><BODY BGCOLOR=rgb(160,160,160) SIZE=4 IMG="2K4Menus.menuBackground">
<BR>
<BR>
<CENTER><FONT SIZE=-6 COLOR=black>RULES<IMG SRC="2K4Menus.DemoHeaderBar" WIDTH=500 HEIGHT=38 HSPACE=-8 ALIGN=CENTER STYLE=STRETCH></CENTER></FONT><BR>
<TAB X=20><BR><BR>
1. No cheating!<BR>
2. No dying!<BR>
3. No Lying!<BR>
<BR>
<BR>
<BR>
<BR>
Visit our <A HREF="http://forums.tripwireinteractive.com">forums</A> for more information.
Shows up as: