New Map Editor plugin features - MP4.1 2019-10-10

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
reggie1000
Nadeo
Nadeo
Posts: 17
Joined: 29 Apr 2015, 17:48
Location: France

New Map Editor plugin features - MP4.1 2019-10-10

Post by reggie1000 » 11 Oct 2019, 14:35

Hi everyone,
With the release of the new ManiaPlanet update, new features have been added to the Map Plugin API.
These mainly concern the following :
  • There's a new smarter Camera API to avoid difficult calculations in script. You can ask the Camera to watch a certain block, follow your cursor, move to the starting line, watch a block selection, move around and more.
  • Similarly, there is a new Cursor API. You can ask it to stay centered on the camera, change it's color, move it around in script and easily know what is currently selected.
  • Get to know easily if you can place a block in your map with GetConnectResults
  • Move around in the block and item inventories with the new Inventory API
  • Change the maptype through the script with SetMapType and GetMapType
  • A few more new minor improvements
If you want to see how use most of them, I made a small script taking a bit over 300 lines of code allowing you to build maps entirely with your controller.
Place this script in Documents\ManiaPlanet\Scripts\EditorPlugins\TrackMania, and go in the plugins in any environment to open it. Use Ctrl+P to close it. The mouse interface will globally not work as long as the plugin is active.
It does not have any particular interface to keep the script short, and to mostly see what's new.
Below are the controls :
Image

If you have any questions, don't hesitate :thumbsup:
You do not have the required permissions to view the files attached to this post.
Nadeo|Lama on ManiaPlanet :D
I work on the map editor, plugins and more.

Hit me up in french, dutch or english :thumbsup:

Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 1 guest