maniacode problem for horns

If you have anything to say - or advice to give - on the creation or publishing of ManiaLinks, here is the place to do it!

Moderator: TM-Patrol

Post Reply
jonasredant
wheelbarrow operator
wheelbarrow operator
Posts: 22
Joined: 23 Sep 2013 11:10
Owned TM-games: TMUF

maniacode problem for horns

Post by jonasredant » 10 Aug 2014 15:50

Hi, I'm creating a Manialink for Trackmania United Forever. I'm currently adding horns to the manialink.
I have the following problem: Suppose you have 2 horns (in reality I have much more of them):

Crazy Frog Ding Ding.ogg and Doh.ogg

What I do now is create a maniacode for each horn and register it on the player page:

code1:

<?xml version='1.0' encoding='utf-8' ?>
<maniacode>
<install_skin>
<name>Crazy Frog Ding Ding</name>
<file>Skins/Horns/Crazy frog ding ding.ogg</file>
<url>http://jonasmanialink.freeiz.com/horns/ ... g.ogg</url>
</install_skin>
</maniacode>

code2:

<?xml version='1.0' encoding='utf-8' ?>
<maniacode>
<install_skin>
<name>D'oh</name>
<file>Skins/Horns/Doh.ogg</file>
<url>http://jonasmanialink.freeiz.com/horns/ ... h.ogg</url>
</install_skin>
</maniacode>

Is there a way to combine code1 and code2 into one maniacode file and select the
proper code when someone downloads one of the horns? That way I have to create only one
maniacode for all my horns and register only one code on the player page.

Plz some help.

Mizu
road tourist
road tourist
Posts: 77
Joined: 17 Aug 2014 09:23
Owned TM-games: TMU
Manialink(s): mec!

Re: maniacode problem for horns

Post by Mizu » 19 Aug 2014 09:24

If you put them into one code we will download them all everytime we will want to download one.

Post Reply