Page 1 of 1
Maniascript Documentation
Posted: 05 Sep 2011, 16:15
by konte
This documentation is now available here:
http://konte.org/trackmania/maniascript ... ation.html
The documentation lists (almost) every possible method and property of ManiaScript in Manialinks, EditorPlugins and Camera Effect Scripts. For some more information text, read the introduction^^
Re: Maniascript Documentation
Posted: 05 Sep 2011, 17:46
by kalimerre
Nice documentation !
Stick it

Complete function reference
Posted: 05 Sep 2011, 20:21
by arc_
Here's the complete list of *all* available scripting classes and their functions:
http://pastebin.com/hiqZGeW5 (note that this doesn't include libraries like MathLib)
Each class name is followed by the name of its parent class, i.e. the functions of the parent class are also available in the class itself.
Re: Maniascript Documentation
Posted: 05 Sep 2011, 21:20
by konte
Waow, thank you

This looks very useful. I'll try to look over it and add new things

Re: Maniascript Documentation
Posted: 05 Sep 2011, 23:00
by destroflyer
I've wrote a little script to display these categories, functions and methods in a prettier style:
http://destroflyer.mania-community.de/m ... erview.php
I think, that's easier to read - I'll add a table of contents and intern links the next time, so that you can naviagte through it instead of searching long time.
EDIT: Added internal links to the parent classes.
EDIT²: Added table of contents.
EDIT³: Official Thread at
Mania-Community.de (
With hint to arc_ 
)
http://www.mania-community.de/showthrea ... #post25800
Re: Maniascript Documentation
Posted: 06 Sep 2011, 09:48
by arc_
Great work destroflyer, the page looks really good
I saw some comments on the Mania Community thread stating that the list is not up to date. This is perfectly possible, as it is based on the previous beta update, not the newest one. I'll regenerate the list once TM2 is released
Edit: nevermind, did it now already, for the latest beta

. Here you go:
http://pastebin.com/dd4hZdRU
Edit 2: sadly, the bulk of these functions is actually disabled... They exist, but you can't actually use them from script. I updated the function list to mark the disabled ones (with a *). These functions *can* be enabled, but it requires modding ManiaPlanet.exe.
Re: Maniascript Documentation
Posted: 08 Sep 2011, 09:57
by destroflyer
All right, here is the updated version.
http://destroflyer.mania-community.de/m ... erview.php
Answered you already at MC - This is just, that the ManiaPlanet-Users see it as well.

Re: Maniascript Documentation
Posted: 03 Oct 2011, 20:57
by konte
There's a big update:
- I exported the documentation to a file. The advantages are a navigation with anchors and that it is easier for me to edit it.
- colour highlighting added
- I guess I dindn't mention the key and mouse states yet, did I?^^
- Added OpenLink() - thanks to Rainer_J. for discovering how it works
- Block Models section is restructured
- Always mentioning the types and classes now, also the arguments, so it's more straigtforward in general
- Added Camera Effect Scripts (isn't very much^^)
- Added #RequiredContext values to the three MS applications
There's a bit more to come, the block functions section and place and edit mode sections aren't completed, and I think there's still a bit missing with the directions.
Here you go:
http://konte.org/trackmania/maniascript ... ation.html
Oh, and a big thanks again to arc_, without his list it wouldn't be as complete by now as it is
Edit: Added the library MapUnits into Directions and Position
Re: Maniascript Documentation
Posted: 05 Feb 2012, 16:33
by konte
The link changed from konte.dyndns-web.com to konte.org, just in case you have saved it as a bookmark or so
http://konte.org/trackmania/maniascript ... ation.html
(by the way, you can still donate some planets if you like^^)
Re: Maniascript Documentation
Posted: 21 Mar 2012, 08:59
by magnetik
I've added the link to the
wiki.