Maniascript Documentation

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

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

Maniascript Documentation

Post by konte » 05 Sep 2011, 16:15

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: 1173
Joined: 15 Jun 2010, 11:05
Location: Paris

Re: Maniascript Documentation

Post by kalimerre » 05 Sep 2011, 17:46

Nice documentation !
Stick it :)

User avatar
arc_
Posts: 47
Joined: 05 Sep 2011, 20:14

Complete function reference

Post by arc_ » 05 Sep 2011, 20:21

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: 235
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: Maniascript Documentation

Post by konte » 05 Sep 2011, 21:20

Waow, thank you :) This looks very useful. I'll try to look over it and add new things :)

User avatar
destroflyer
Posts: 124
Joined: 16 Jun 2010, 22:17
Contact:

Re: Maniascript Documentation

Post by destroflyer » 05 Sep 2011, 23:00

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_ » 06 Sep 2011, 09:48

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: 124
Joined: 16 Jun 2010, 22:17
Contact:

Re: Maniascript Documentation

Post by destroflyer » 08 Sep 2011, 09:57

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: 235
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: Maniascript Documentation

Post by konte » 03 Oct 2011, 20:57

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: 235
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: Maniascript Documentation

Post by konte » 05 Feb 2012, 16:33

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
Nadeo
Nadeo
Posts: 1620
Joined: 01 Feb 2012, 19:13
Location: Paris
Contact:

Re: Maniascript Documentation

Post by magnetik » 21 Mar 2012, 08:59

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: Yahoo [Bot] and 0 guests