2023-05-21: Yes, we're back. No, you can't login yet

Map GUI for BLOCKLAND SURVIVAL

Uploaded by Queuenard

The add-on board icon. Client Mods
The add-on file name icon. Client_Survival_Map.zip
The add-on upload date icon. Dec 13th 2016, 12:39 AM
The add-on download count icon. 1,211

Description

With a keybind, you can show an isometric rendering (http://imgur.com/GeU2LYE) and you can see your current location as a dot on the rendering. You can also see the direction in which your player is facing on the map.

This works for SurvivaI's "BLOCKLAND SURVIVAL" using the current map as shown above.

Assign a key to the show map bind (Survival Map -> Show map) and hold the key to open it. Releasing the key makes the map disappear. Pressing the key twice (within 0.5 seconds) will make the map stay up until you hit the key again.

Note: the add-on doesn't yet support height, so any time you're on a hill the dot may be slightly inaccurate.

For scripters:

The isometric images are angled, so all points have to be rotated 135 degrees clockwise in order to align with the image. Each vector is then scaled according to predetermined scalars, which are explained in the next paragraph. The X and Y are then swapped before being put onto the image.

Because the isometric images are produced at different zoom levels, I had to calibrate particular points in the image (at the same heights) with the real points in-game. The calibration positions are represented in the function survival_moveToPoint as %point0 and %point1. The positions on the image where those two points correspond is represented in %point0_img and %point1_img. If you want to make another map, find two distant points and figure out where they should be on the image and then change %point[N] and %point[N]_img accordingly.

Comments (5)

Queuenard
2016-12-13 00:45:09
great add-on would use
Queuenard
2016-12-13 01:34:19
9/11 ~ign
Daniel.S
2016-12-21 08:10:57
If only the server were back
TheCrowbar
2016-12-30 23:17:48
Make this render any server and I will like you.
Bobi72
2020-02-15 10:37:07
left 4 block