Don't ask more infos : i don't have more

Btw if your tests make you find some other usefull infos, please tell it, so we will be able to add them here

You can find a manialink editor previewer : viewtopic.php?f=28&t=16192&start=0
General manialinks infos
Code: Select all
Manialink doc
All old manialink tags still work also !
--------------------------------
<music>
info :
ambient music (without start/stop button)
attributes :
data = "http://localhost/tmu/bigbisous.ogg"
note: must be directly in <manialink> and not in a <frame> !
<frame>
info :
component container. wich you can position easily
attributes :
pos = "0 0 0" // position x,y and z-buffer (high value in front)
// left: -1.0, top: -0.75, right: +1.0, bottom: +0.75, rear: +1.0, front: -1.0
or posn = "0 0 0" // position in menu-coordinate, -64,+48 to +64,-48
// left: -64, top: +48, right: +64, bottom: -48, rear: -48, front: +48
// it seems that old style manialinks have a z-buffer = 2.62
scale = "1.0" // scale all the contents of the frame (<1 to reduce, >1 to grow)
<format>
info :
change the current format for the components of the current frame and its sub frames.
each component can override this format by its own format attributes.
attributes :
textsize = "3" // text size 1(small),2,3,4,5...
textcolor="0f0f" // text color
or
style = "TextStaticSmall" // style presets used used in game menus
<label>
info :
draw a string
attributs :
size = "0.3 0" // size of the component
or sizen = "10 4" // in menu-coordinate system
// height is useless. will be splitted in several line if too long for width, then clipped
pos = "0 0 0" // position
or posn = "0 0 0" // position in menu-coordinate system
halign = "center" // horizontal alignment : "left", "right" or "center"
// (specify where is the pos/posn for the text)
valign = "center" // vertical alignment : "top", "bottom" , "center" , or "center2"
// (specify where is the pos/posn for the text)
text = "blabla" // label text
textid = "language text tag" // dico language text tag (see <dico>)
autonewline="1" // split the text when lines are too long
scale = "1.0" // scale the object (<1 to reduce, >1 to grow)
+ <format> attributes
<entry>
info :
text input field. the value can be added to manialink/web links
attributs :
size = "0.3 0.1" // size of the component
pos = "0 0 0" // position
textsize = "3" // text size
halign = "center" // horizontal alignment: "left", "right" ou "center"
name = "inputname" // text input name (usefull for links: will be replace by the input value)
default = "blabla" // default value
+ <format> attributes
<fileentry>
info :
filename input field. the file can be sent to a link using POST
attributs :
size = "0.3 0.1" // size of the component
pos = "0 0 0" // position
textsize = "3" // text size
halign = "center" // horizontal alignment: "left", "right" ou "center"
name = "inputname" // text input name (usefull for links: will be replace by the input value)
default = "blabla" // default value
<quad>
info :
draw a rectangular zone with a color or image, and optionally a link
attributs :
size="0.25 0.25"
pos="-1 0 0"
halign="right" etc.
valign="center" etc.
scale = "1.0" // scale the object (<1 to reduce, >1 to grow)
image="http://localhost/tmu/image.tga" // image to draw
imagefocus="http://localhost/tmu/imagefocus.tga" // image to draw when focus is onto it
style="Bgs1" // name of the presets styles of the game (use it if you don't use image="...")
substyle="BgWindow1" // subname of the preset style
url="http://www.google.fr" // associated web link
manialink="http://mywebserver/go.xml" // associated manialink link (opened in manialinkbrowser)
maniazone="http://www.google.fr" // associated maniazone link (opened in maniazone part)
action="100" // server manialink only, will make a PlayerManialinkPageAnswer() callback
actionkey="1" // server manialink only, binds the action to a key (1,2,3 for F5,F6,F7 keys)
addplayerid="1" // identified link (add &playerlogin=xxx) (also $p or $P in links text)
<include>
info :
add to the manialink xml code the contents off another xml file from a valid url.
note: it seems that only the first tag (and subtags) in the file will be used.
attributs :
url = "./included.xml"
<timeout>
info :
specify a interval delay for automatic reload of resource from the url.
(classic usage for a dynamic page: <timeout>0</timeout> )
<dico>
info :
permit to set automatic language texts, each tag can be use in label
textid attribut which will be replaced by its value in the right game language.
subtag : <language>
attributs : id="en" // indicate the language of subtags
example, example1 and example2 would be usable as textid values :
<dico>
<language id="en">
<example1>Example text number1</example1>
<example2>Example text number2</example2>
</language>
<language id="fr">
<example1>Exemple de texte 1</example1>
<example2>Exemple de texte 2</example2>
</language>
</dico>
Sample SendDisplayManialinkPage() xml general form ::
Code: Select all
<manialinks>
<manialink posx="" posy ="" id="">
....
</manialink>
<manialink posx="" posy ="" id="">
....
</manialink>
<custom_ui>
<notice visible="true"/> // notices
<challenge_info visible="true"/> // upper right challenge info
<net_infos visible="true"/> // top left number of player ???
<chat visible="true"/> // chat box
<checkpoint_list visible="true"/> // bottom right checkpoint list (of first 6 players)
<round_scores visible="true"/> // no right round score panel at the end of rounds
<scoretable visible="true"/> // no score tables at end of rounds/runs/map
<global visible="true"/> // all
</custom_ui>
</manialinks>
if no pages are displayed, the <custom_ui> returns to the default "all visibles".
When a new Manialink page is received:
- previously displayed <manialink> with the same id as one in the new page are replaced.
- previously displayed <manialink> without an id are deleted
- previously displayed <manialink> with an id are kept.
- a new empty <manialink> with an id means delete the previously displayed <manialink> with this id.
Manialinks examples
A Nadeo's manialink example :
http://files.trackmaniaforever.com/ManialinkSamples.zip
Also, some interesting Nadeo example in the directory GameData\Manialinks\ of the game

And a great example page for Styles and Substyles, made by Smurf

Note: some styles/substyles have different colors in TMUF and TMNF...smurf wrote:After long search, I created a temporary manialink for styles and substyles I found for quads and labels.
You can see it in TMUF browser at 'example', or in TMNF browser at this address: http://smurf1.free.fr/mle/index.xml
Also a you can see a simple text list of the styles
If you find other styles or substyle you can send me an MP and I will update the manialink.