More actions
Maniacode is a sequential logic format written in XML.[1] It is most often executed by opening it in a Manialink Browser, but it is also possible to execute it with ManiaScript.
This feature has limited support in Trackmania 2020.
Reference
Standard structure of the file:
<?xml version='1.0' encoding='utf-8' ?>
<maniacode>
<!-- instructions -->
</maniacode>
To disable the confirmation dialog, set noconfirmation="1"
:
<maniacode noconfirmation="1">
Instructions
Show message
<show_message>
<message>Hello World!</message>
</show_message>
Install a replay
Parameter <name>
will rename the replay.[2]
<install_replay>
<name>MyReplay</name>
<url>http://.../MyReplay.Replay.Gbx</url>
</install_replay>
View a replay
The replay will not be saved on disk. Parameter <name>
will rename the replay.[2]
<view_replay>
<name>MyReplay</name>
<url>http://.../MyReplay.Replay.Gbx</url>
</view_replay>
Play against a replay
The replay will not be saved on disk. Parameter <name>
will rename the replay.[2]
<play_replay>
<name>MyReplay</name>
<url>http://.../MyReplay.Replay.Gbx</url>
</play_replay>
Join a server
By server IP:
<join_server>
<ip>67.205.5.132:2350</ip>
</join_server>
By server login:
<join_server>
<login>trackmaniawiki_server</login>
</join_server>
Specific to TrackMania United Forever
Install a track
Parameter <name>
will rename the track.[2]
<install_track>
<name>MyTrack</name>
<url>http://.../MyTrack.Challenge.Gbx</url>
</install_track>
Play a track
Parameter <name>
will rename the track.[2]
<play_track>
<name>MyTrack</name>
<url>http://.../MyTrack.Challenge.Gbx</url>
</play_track>
Maniaplanet
Install a map
<show_message>
<message>Hello World!</message>
</show_message>