Page 1 of 3
Maniascript/Plugin documentation
Posted: 17 Aug 2011, 21:34
by TGYoshi
Is there any documentation of those scripts? What is the base language used?
The examples look interesting, but I'd like to get a documentation as well.
Re: Maniascript/Plugin documentation
Posted: 17 Aug 2011, 21:43
by jonthekiller
We wait a documentation for the moment. You have an example of the solitaire (file://Media/Manialinks/Solitaire/index.xml) and the file is in Program Data/ManiaPlanet/PacksCache/Maniaplanet_Extras.zip
Re: Maniascript/Plugin documentation
Posted: 17 Aug 2011, 22:12
by TGYoshi
LOLOL playing solitaire in a race track is possible

.
Awesome

. (Drive back for solitaire will be in my next track for sure

)
Will it be possible (or is it possible) to include the manialink (+ scripts etc.) inside the GBX file? Or do you need an external host for it?
Re: Maniascript/Plugin documentation
Posted: 17 Aug 2011, 22:18
by jonthekiller
External but you can add a clip "manialink" in MT with the link of the manialink/maniascript.
Re: Maniascript/Plugin documentation
Posted: 17 Aug 2011, 22:19
by TGYoshi
Awwww too bad.
Yea, I've figured out the last thing.
Seems like people have to wait till it's loaded then D=.
Re: Maniascript/Plugin documentation
Posted: 20 Aug 2011, 19:32
by TGYoshi
[bump]
Isn't there a list of methods or something like that? Without explanation, just a list with possible arguments.
Re: Maniascript/Plugin documentation
Posted: 20 Aug 2011, 21:13
by aXu
What are the possibilities of Maniascript? Can it log key presses? Can it modify the map on the fly? The latter would be a killer feature, really

Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 12:12
by TGYoshi
There is a function to place blocks/terrain etc, so it might be possible if they don't block that method in-game. It works for plugins tho.
Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 12:30
by svens
+1 for docs / a class and methods list
Is there any more sample code out there?
It looks like a bunch of C++ exports to me, not like a "real" scripting api though..
Re: Maniascript/Plugin documentation
Posted: 21 Aug 2011, 12:31
by jonthekiller
Nadeo write the documentation actually, please wait the release.