
I put the .xml of that manialink into the title pack's directory and included it within.

Instead, it looks like this in "Edition Mode":

Trying to update the pack afterwards causes the game to crash mid-sequence.
Moderator: NADEO
Code: Select all
#RequireContext CManiaAppTitle
main() {
declare Layer = UILayerCreate();
Layer.ManialinkPage = "file://Media/Manialinks/tm_rivals_main_menu.xml";
while(True) {
yield;
}
}
Thank you for the help! But I have no idea why this needs to be so freaking complicated. Nadeo needs to do a better job showing us how these things work-- it's supposed to be a platform of user-generated content, right? Why is there no documentation about this, and why is the existing one so unfinished and cryptic?? It's so frustrating.Qlex wrote: ↑06 Jun 2018, 10:05 Hi,
Here are the steps to including the manialink into your title pack :
And this should normally work.
- Create another textfile called MainMenu.Script.txt which contains something like :
Code: Select all
#RequireContext CManiaAppTitle main() { declare Layer = UILayerCreate(); Layer.ManialinkPage = "file://Media/Manialinks/tm_rivals_main_menu.xml"; while(True) { yield; } }
- Replace the ManiaLink entry in the ManiaLink field by "file://ThePathTo/MainMenu.Script.txt"
I hope that helps !
Ah, that's another problem of its own. I've made the interface in TrackMania Canyon, and when I put the assets I wanted into the ManiaPlanet\Media\Images folder, they couldn't be found within the Interface Designer at all. As a bit of a temporary solution, I uploaded them all to puush.me and used their links to be shown in the game.
Users browsing this forum: No registered users and 1 guest