Page 13 of 18
Re: Title packs
Posted: 27 Jul 2013, 20:37
by steeffeen
i've encountered an issue and i can't really figure out what's causing that..
the multiplayer script which i've included in my shootmania title pack works fine on the server
but if any player except me tries to start an ingame match (either multiplayer or local play) the script compilation fails
it says the #requirecontext directive is missing which is maybe caused by a wrong encoding or by the file not being read at all..
(just to clarify, server and ingame match on my end are working fine)
i can supply an example title pack file if needed
help would be greatly appreciated!
(local script file is in UTF-8 with BOM)
Re: Title packs
Posted: 02 Aug 2013, 12:28
by xbx
meuh21 wrote:How is it possible to have replays in the solo campaign ?
http://forum.maniaplanet.com/viewtopic. ... 96&start=0
Re: Manialink
Posted: 02 Aug 2013, 13:17
by xbx
alividerci wrote:
but it dont work...arguments
Code: Select all
<station_manialink url="file://Media/Manialinks/blabla.xml" />
<file name="Media\Manialinks\blabla.xml" public="false" internal="false" />
why?
Hi!
So the issue is that the file must be available before the title is fully loaded (since it's displayed on the stations before entering it)
You have to use public="true" internal="false" for this to work.
Additional info:
* you need to add a button with action="enter" to allow entering the station.
Code: Select all
<label posn="0 -60 1" halign="center" style="CardMain_Tool" substyle="Editor" text="Enter" action="enter" />
* Instead of having a single blabla.xml file, you can have three to deal with the different sizes.
name them: blabla_size=3.xml, blabla_size=2.xml, ...
(or if using http:// the request is
http://myurl.php?size=3 )
Code: Select all
<packaging>
<station_manialink url="file://Media/Manialinks/teststation.xml" />
</packaging>
<files>
<file name="Media\Manialinks\teststation_size=1.xml" public="true" internal="false" />
<file name="Media\Manialinks\teststation_size=2.xml" public="true" internal="false" />
<file name="Media\Manialinks\teststation_size=3.xml" public="true" internal="false" />
</files>
* <boxcase_manialink> --> does nothing so far...
Re: Manialink
Posted: 02 Aug 2013, 14:25
by alividerci
xbx wrote:alividerci wrote:
but it dont work...arguments
Code: Select all
<station_manialink url="file://Media/Manialinks/blabla.xml" />
<file name="Media\Manialinks\blabla.xml" public="false" internal="false" />
why?
Hi!
So the issue is that the file must be available before the title is fully loaded (since it's displayed on the stations before entering it)
You have to use public="true" internal="false" for this to work.
Additional info:
* you need to add a button with action="enter" to allow entering the station.
Code: Select all
<label posn="0 -60 1" halign="center" style="CardMain_Tool" substyle="Editor" text="Enter" action="enter" />
* Instead of having a single blabla.xml file, you can have three to deal with the different sizes.
name them: blabla_size=3.xml, blabla_size=2.xml, ...
(or if using http:// the request is
http://myurl.php?size=3 )
Code: Select all
<packaging>
<station_manialink url="file://Media/Manialinks/teststation.xml" />
</packaging>
<files>
<file name="Media\Manialinks\teststation_size=1.xml" public="true" internal="false" />
<file name="Media\Manialinks\teststation_size=2.xml" public="true" internal="false" />
<file name="Media\Manialinks\teststation_size=3.xml" public="true" internal="false" />
</files>
* <boxcase_manialink> --> does nothing so far...
it is doesn't work

Re: Manialink
Posted: 06 Aug 2013, 12:18
by xbx
alividerci wrote:
it is doesn't work

It definitely does work for me.
Here is my test title, with a manialink (and valley test campaign with opponents):
http://files.maniaplanet.com/tools/Samp ... e.Pack.Gbx
created with those files:
http://files.maniaplanet.com/tools/Samp ... .Title.zip
Re: Manialink
Posted: 08 Aug 2013, 07:36
by alividerci
Re: Title packs
Posted: 12 Aug 2013, 17:03
by xbx
steeffeen wrote:i've encountered an issue and i can't really figure out what's causing that..
the multiplayer script which i've included in my shootmania title pack works fine on the server
but if any player except me tries to start an ingame match (either multiplayer or local play) the script compilation fails
it says the #requirecontext directive is missing which is maybe caused by a wrong encoding or by the file not being read at all..
Did you sort it out?
Other that that, I tried the speedball title, and I noticed the menu 3d style doesn't work.
The reason is that the file extension must be ".Manialink3dStyle.xml"
so you have to rename "Menu.Stylesheet.xml" to "Menu.Manialink3dStyle.xml"
Re: Title packs
Posted: 12 Aug 2013, 17:33
by steeffeen
xbx wrote:Did you sort it out?
did you try it yourself? does it work on your end? ^.^
i think it's not yet fixed but i will ask the players i know having this issue
xbx wrote:Other that that, I tried the speedball title, and I noticed the menu 3d style doesn't work.
The reason is that the file extension must be ".Manialink3dStyle.xml"
so you have to rename "Menu.Stylesheet.xml" to "Menu.Manialink3dStyle.xml"
yeah, now the default menus are working (and aren't that shiny anymore) but my custom menu is still invisible.. so it's still buggy
however it's a big step!
thanks

Re: Title packs
Posted: 12 Aug 2013, 17:45
by spaii
steeffeen wrote:xbx wrote:Other that that, I tried the speedball title, and I noticed the menu 3d style doesn't work.
The reason is that the file extension must be ".Manialink3dStyle.xml"
so you have to rename "Menu.Stylesheet.xml" to "Menu.Manialink3dStyle.xml"
yeah, now the default menus are working (and aren't that shiny anymore) but my custom menu is still invisible.. so it's still buggy
however it's a big step!
thanks

Thx for precisions
Same here on Stunters, i can customise Nadeo 3D buttons, frame3d, etc... but not others

Re: Title packs
Posted: 19 Aug 2013, 13:34
by steeffeen
small question: is it possible to exit the title pack from the menu manialink script?
(script! not control action

)
// Edit: just tried
no idea what that should be used for but it lets the game crash
crash log