[Manialink] See your position while mapping

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
User avatar
Harest
Posts: 144
Joined: 26 Mar 2018, 04:21
Contact:

[Manialink] See your position while mapping

Post by Harest »

Hi,

This Manialink will mostly be useful to do some checks in relation to the quests tool (and its EditorPlugin that displays blocks positions), but still, it's available to anyone and it could be useful so i'm sharing it here.
It returns a specific script that'll display your position while racing. So you'd use it in a MT clip of your map for instance.
You can stop the display by either pressing "Enter" or "Backspace".
The manialink to call:

Code: Select all

In TM:
MLSideQuests?DisplayPosition
In SM:
MLSideQuests?DisplayPosition&SM=1
For now, i mostly used it to gather the info on blocks sizes in the different environments to improve the EditorPlugin included in the quests tool based on the CursorCoords plugin included by default in ManiaPlanet.
For instance, Stadium/Valley/Lagoon are 32x32x8 blocks, Canyon blocks are 64x64x16 and Storm (SM) ones are 8x8x2. They all have some different Y offset as well as a Y start position for the cursor (so not in block size here):
  • Canyon: No offset but starts at Y cursor pos of 15.
  • Stadium: No offset except 9 for the floor. Starts at Y cursor pos of 9.
  • Valley: No offset except 2 for the floor. Starts at Y cursor pos of 5.
  • Lagoon: Y Offset of 11 for the roads. Starts at Y cursor pos of 6 (5 in water).
  • Storm: Y Offset of 1. Starts at Y cursor pos of 9.
It'll probably help me set up new quests in the future if i do more maps.

Update: No longer required to put a value of 1 to DisplayPosition, only the presence of the parameter is checked.
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 0 guests