Page 2 of 2
Re: How to load custom map in a manialink?
Posted: 20 May 2015, 05:22
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
Re: How to load custom map in a manialink?
Posted: 20 May 2015, 10:17
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.
Re: How to load custom map in a manialink?
Posted: 20 May 2015, 11:58
by Dommy
Code: Select all
<quad sizen="20 20" bgcolor="00c" manialink="#campaign=MyMapName@MyTitlePackId"/>

Re: How to load custom map in a manialink?
Posted: 20 May 2015, 13:29
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

Re: How to load custom map in a manialink?
Posted: 20 May 2015, 14:20
by undef.de
Please note that domino54 also removed the
part, which lets only ManiaScript getting a click event on that <quad...> from a Player!
Re: How to load custom map in a manialink?
Posted: 20 May 2015, 18:21
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

Re: How to load custom map in a manialink?
Posted: 21 May 2015, 06:48
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.
@ 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.
Re: How to load custom map in a manialink?
Posted: 21 May 2015, 16:26
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.
I dont need a @ or a # in Front of the Map Name
Re: How to load custom map in a manialink?
Posted: 21 May 2015, 22:20
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.

that makes sence to not use the filename...
Re: How to load custom map in a manialink?
Posted: 22 May 2015, 07:47
by Flighthigh
YES you learn something new every day
