\Documents\ManiaPlanet\Scripts\MapTypes\ShootMania\Test.Script.txt
Code: Select all
#RequireContext CSmMapType
main() {
ManialinkText = """
<manialink version="1">
<timeout>0</timeout>
<include url="file://Media/Manialinks/include/include.xml" />
<label posn="0 0 3" sizen="100 10" halign="center" valign="center" text="this is file://Media/Manialinks/include/index.xml" />
</manialink>
""";
}
Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<manialink version="1">
<timeout>0</timeout>
<include url="file://Media/Manialinks/include/include.xml" />
<label posn="0 0 3" sizen="100 10" halign="center" valign="center" text="this is file://Media/Manialinks/include/index.xml" />
</manialink>
Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<label posn="0 -10 3" sizen="100 10" halign="center" valign="center" text="this is file://Media/Manialinks/include/include.xml" />
If editing a map selecting the Test maptype only the first line shows up, the Content of the included file is not shown.