How to load custom map in a manialink?

Discuss everything related to custom data creation.

Moderator: NADEO

Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: How to load custom map in a manialink?

Post by Flighthigh »

Code: Select all

<quad sizen="20 20" bgcolor="00c" url="#campaign=MyMapName@MyTitlePackId" scriptevents="1" />
If i use this i get an errormessage.

German
Trackname gehört nicht zur offiziellen Kampagne

English
Trackname is not a part of oficial campaign

The Track is in the Trackfolder an the Tracks run in the Solo-Mode
User avatar
Electron
Posts: 797
Joined: 15 Jun 2010, 18:02
Contact:

Re: How to load custom map in a manialink?

Post by Electron »

Some entries of the documentation are wrong (e.g. the code for entering a title misses a @).
So try to add a @ or # in front of the map name.
Does the map name include spaces? Try to replace them with underscores or %20. Or use the map index numbers instead of the map names.
Image
TM²: TrackMania Telemetry Monitor version 1.2.4
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Re: How to load custom map in a manialink?

Post by Dommy »

Code: Select all

<quad sizen="20 20" bgcolor="00c" manialink="#campaign=MyMapName@MyTitlePackId"/>
:mrgreen:
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: How to load custom map in a manialink?

Post by Flighthigh »

Hi and thks for your answere

Im confused

Electron say that there is miss a @ or a # in front of the Trackname
domino54 say that isnt a url= but a manialink= he has not the @ or the # in front of the Trackname.

I will test all versions this afternoon and hope that i found the right way :D
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: How to load custom map in a manialink?

Post by undef.de »

Please note that domino54 also removed the

Code: Select all

scriptevents="1"
part, which lets only ManiaScript getting a click event on that <quad...> from a Player!
Last edited by undef.de on 20 May 2015, 19:27, edited 1 time in total.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
User avatar
adamkooo2
Posts: 1318
Joined: 13 Jun 2014, 08:43
Location: Slovakia
Contact:

Re: How to load custom map in a manialink?

Post by adamkooo2 »

Flighthigh wrote:

Code: Select all

<quad sizen="20 20" bgcolor="00c" url="#campaign=MyMapName@MyTitlePackId" scriptevents="1" />
If i use this i get an errormessage.

German
Trackname gehört nicht zur offiziellen Kampagne

English
Trackname is not a part of oficial campaign

The Track is in the Trackfolder an the Tracks run in the Solo-Mode
Have you correctly written the mapname?
Or you haven't loaded the maps folder?

That will fix the problem :thumbsup:
/\rkady
Image
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: How to load custom map in a manialink?

Post by Flighthigh »

The Mapname is OK. It is not so difficult. The Name is Alabama
And yes the Campaignfolder (called USA-Pack) is in the ManiaPlanetTitle.xml
The Track is in the Solo-Campaign and playable.

I can do what i want with url= or manialink= in Front,
a # or a @ in Front of the Trackname.

if i change the Trackname to an 1 or a 1,1 (its the frist Track in the first subfolder) it does not work too.

Nothing works. :oops:

@ adamkooo
i send you some infos per pm. If you have a solution send me the row and i test it in the Testpack what you have.
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: How to load custom map in a manialink?

Post by Flighthigh »

Adamkooo (special thanks to you) solved the problem if he gives me the right idea.

Even i take the filename Alabama

But thats not right. In the xml i need the Map Name. The Map Name has the $w or $n incl for the Colorstyle and are different to the Filename. The Map Name is: $b80$wA$nl$wa$nb$wa$nm$wa (out from the GBXdump)

If i take this the Campaignrace begin with this Track. :3

I dont need a @ or a # in Front of the Map Name
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: How to load custom map in a manialink?

Post by undef.de »

Flighthigh wrote:Even i take the filename Alabama

But thats not right. In the xml i need the Map Name. The Map Name has the $w or $n incl for the Colorstyle and are different to the Filename. The Map Name is: $b80$wA$nl$wa$nb$wa$nm$wa (out from the GBXdump)

If i take this the Campaignrace begin with this Track.
:roflol: that makes sence to not use the filename...
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: How to load custom map in a manialink?

Post by Flighthigh »

YES you learn something new every day :-D
Post Reply

Return to “Title Pack & Custom Data Creation”

Who is online

Users browsing this forum: No registered users and 1 guest