singleplaymode in Titelpack

Discuss everything related to custom data creation.

Moderator: NADEO

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

singleplaymode in Titelpack

Post by Flighthigh »

Hi.

I have some troubles with my new pack and need help please.
I tried to do a main menu with 2 sub menus, a solo campaign (1st menu) and a 2nd menu where you can play all maps free, without the campaign.

main menu with both sub-menus:

Image

in the 2nd menu (left) you can select all tracks free on a map:

Image

short version of the code:

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<manialink name="USAmenu" version="2">

<frame>
<!-- Menu for a special singlerace of all Track inside the Pack -->

<!-- Background Card -->
		<quad posn="-160 90 0" sizen="320 180" image="http://85.214.99.117/ml/packs/usa/USAmap.jpg"/>		

<!-- All Tracks -->		
	<!-- 1 Alabama -->
		<quad posn="53 -29 0" sizen="13 13" image="http://85.214.99.117/ml/packs/usa/MapMoT.png" imagefocus="http://85.214.99.117/ml/packs/usa/MapMo.png" url="#campaign=$b80$wA$nl$wa$nb$wa$nm$wa@aroundUSA@flighthigh"/>
</frame>
</manialink>
If you click on "Alabama" for example, the map starts, you can do a medal, but then the next map can't be played anymore because you get a message that the map is locked:

Image

It seems the map is locked by the 1st menu, the solo campaign. But if you start the game new, all maps are unlocked again, abrakadabra.
Searching, I found this: viewtopic.php?f=321&t=27762
But here I see 2 more problems, manialink not found - and maybe I understood something wrong:

Image

And 2nd: there's no explanation how to write a playlist.

----------------------

One more idea where I need help:
I want to give players the possiblity to see an overview of their records in a list as a new
manialink or something like that, but have no idea how to realize it.

I hope someone can help me, thanks !
Flighthigh
Posts: 406
Joined: 29 Jun 2010, 06:48

Re: singleplaymode in Titelpack

Post by Flighthigh »

I found a way. Its not elegant but its work

In the Map-ML i call a separat ML

Code: Select all

    <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    <manialink name="USAmenu" version="2">

    <frame>
    <!-- Menu for a special singlerace of all Track inside the Pack -->

    <!-- Background Card -->
          <quad posn="-160 90 0" sizen="320 180" image="http://85.214.99.117/ml/packs/usa/USAmap.jpg"/>      

    <!-- All Tracks -->      
       <!-- 1 Alabama -->
          <quad posn="53 -29 0" sizen="13 13" image="http://85.214.99.117/ml/packs/usa/MapMoT.png" imagefocus="http://85.214.99.117/ml/packs/usa/MapMo.png" manialink="http://85.214.99.117/ml/packs/usa/xml/alabama.xml"/>
    </frame>
    </manialink>
in this i take the play_map as maniacode

Code: Select all

<maniacode>
<play_map>
<name>Alabama</name>
<url>http://85.214.99.117/ml/packs/usa/maps/Alabama.Map.Gbx</url>
</play_map>
</maniacode>
By the click on the Star of Alabama it comes a small downloadwindow and a Message that the Maniacode ist ready.

Is it possible to disable this message?

After a click on OK the map starts.

If i drive this map and get a Medal it woud be great to display this for the Gamer. Therefor i come to the next step.

IS it possible to display the Medals in a ML and how to do it?
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Re: singleplaymode in Titelpack

Post by Dommy »

Code: Select all

<maniacode noconfirmation="1">
or something like that
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: singleplaymode in Titelpack

Post by Flighthigh »

Thks PERFEKT :3
Post Reply

Return to “Title Pack & Custom Data Creation”

Who is online

Users browsing this forum: No registered users and 1 guest