Page 1 of 2
Install a skin with maniacode
Posted: 11 Aug 2013, 18:12
by Bonfi96
I'm having a bit of trouble making my first
manialink
I can't understand a thing, is <file> the location where the file from the url will be installed? I took this code from the wiki.
Code: Select all
<install_skin>
<name>Name of the skin</name>
<file>Skins/Vehicles/CommonCar/Name of the skin.zip</file>
<url>direct url of the skin</url>
</install_skin>
Do I have to put this mania code in a new xml file and link it from the main xml or there is a way to put it all in one file?
Also how can users download the locator along with the skin?
Re: Install a skin with maniacode
Posted: 11 Aug 2013, 19:40
by TStarGermany
Code: Select all
<?xml version='1.0' encoding='utf-8' ?>
<maniacode>
<show_message>
<message>You are about to install a Skin!</message>
</show_message>
<install_skin>
<name>TheDesiredNameOfTheSkinInTheMenu</name>
<file>Skins/Vehicles/ArenaPlayer/FileNameOfTheSkin.zip</file>
<url>http://yourdomain.com/UrlOfTheSkin.zip</url>
</install_skin>
</maniacode>
That's how a real complete XML Maniacode file can look like.
I've never tried mixing Manialink and Maniacode (which is usually a seperately registered manialink for payment) but you might give it a try.
And: When downloading a skin, the locator will be created automatically on the user's PC.
Re: Install a skin with maniacode
Posted: 11 Aug 2013, 20:01
by Bonfi96
Awesome, thanks

Re: Install a skin with maniacode
Posted: 11 Aug 2013, 20:30
by Bonfi96
Now i have another problem I recieve an error when I click on the link "acces denied".
I've read on the forum that you have to register a maniacode.xml to make it work. So for every download I need to pay 100 planets???
Re: Install a skin with maniacode
Posted: 11 Aug 2013, 20:54
by steeffeen
just set the costs 0 planets

Re: Install a skin with maniacode
Posted: 11 Aug 2013, 21:08
by Bonfi96
Removing the cost from the gbxs would remove the merchant and maker feeling that I have now when someone buys one of my creation

Re: Install a skin with maniacode
Posted: 11 Aug 2013, 21:15
by steeffeen
if the costs are only set on the gbx then you don't have to pay for the download, just for using it
Re: Install a skin with maniacode
Posted: 11 Aug 2013, 21:22
by Bonfi96
So why it says "acces denied"? Sorry but the whole thing is kinda confusing :/
Re: Install a skin with maniacode
Posted: 11 Aug 2013, 21:39
by steeffeen
Re: Install a skin with maniacode
Posted: 11 Aug 2013, 21:43
by Bonfi96
I've only registered the manialink and it works perfectly