Maniascript Documentation

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

Maniascript Documentation

Post 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^^
Last edited by konte on 05 Feb 2012, 16:21, edited 11 times in total.
User avatar
kalimerre
Posts: 1165
Joined: 15 Jun 2010, 11:05
Location: Paris

Re: Maniascript Documentation

Post by kalimerre »

Nice documentation !
Stick it :)
User avatar
arc_
Posts: 47
Joined: 05 Sep 2011, 20:14

Complete function reference

Post 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.
konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: Maniascript Documentation

Post by konte »

Waow, thank you :) This looks very useful. I'll try to look over it and add new things :)
User avatar
destroflyer
Posts: 123
Joined: 16 Jun 2010, 22:17
Contact:

Re: Maniascript Documentation

Post 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_ :thx:)
http://www.mania-community.de/showthrea ... #post25800
User avatar
arc_
Posts: 47
Joined: 05 Sep 2011, 20:14

Re: Maniascript Documentation

Post 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 :thumbsup:

Edit: nevermind, did it now already, for the latest beta :D. 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.
User avatar
destroflyer
Posts: 123
Joined: 16 Jun 2010, 22:17
Contact:

Re: Maniascript Documentation

Post 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. ;)
konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: Maniascript Documentation

Post 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 :thx:

Edit: Added the library MapUnits into Directions and Position
konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: Maniascript Documentation

Post 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^^)
User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Maniascript Documentation

Post by magnetik »

I've added the link to the wiki.
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 0 guests