Title packs documentation
Moderator: NADEO
Re: Title packs
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)
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
http://forum.maniaplanet.com/viewtopic. ... 96&start=0meuh21 wrote:How is it possible to have replays in the solo campaign ?
Re: Manialink
Hi!alividerci wrote: but it dont work...argumentswhy?Code: Select all
<station_manialink url="file://Media/Manialinks/blabla.xml" /> <file name="Media\Manialinks\blabla.xml" public="false" internal="false" />
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" />
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>
- alividerci
- Posts: 363
- Joined: 11 Feb 2012, 07:03
Re: Manialink
it is doesn't workxbx wrote:Hi!alividerci wrote: but it dont work...argumentswhy?Code: Select all
<station_manialink url="file://Media/Manialinks/blabla.xml" /> <file name="Media\Manialinks\blabla.xml" public="false" internal="false" />
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.* Instead of having a single blabla.xml file, you can have three to deal with the different sizes.Code: Select all
<label posn="0 -60 1" halign="center" style="CardMain_Tool" substyle="Editor" text="Enter" action="enter" />
name them: blabla_size=3.xml, blabla_size=2.xml, ...
(or if using http:// the request is http://myurl.php?size=3 )
* <boxcase_manialink> --> does nothing so far...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>

Re: Manialink
It definitely does work for me.alividerci wrote: it is doesn't work
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
- alividerci
- Posts: 363
- Joined: 11 Feb 2012, 07:03
Re: Manialink
thxxbx wrote:It definitely does work for me.alividerci wrote: it is doesn't work
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: Title packs
Did you sort it out?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..
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
did you try it yourself? does it work on your end? ^.^xbx wrote:Did you sort it out?
i think it's not yet fixed but i will ask the players i know having this issue
yeah, now the default menus are working (and aren't that shiny anymore) but my custom menu is still invisible.. so it's still buggyxbx 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"
however it's a big step!

thanks

Re: Title packs
Thx for precisionssteeffeen wrote:yeah, now the default menus are working (and aren't that shiny anymore) but my custom menu is still invisible.. so it's still buggyxbx 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"
however it's a big step!![]()
thanks

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

Re: Title packs
small question: is it possible to exit the title pack from the menu manialink script?
(script! not control action
)
// Edit: just triedno idea what that should be used for but it lets the game crash
crash log
(script! not control action

// Edit: just tried
Code: Select all
Page.MainFrame.Unload()

crash log
Who is online
Users browsing this forum: No registered users and 1 guest