Posted 02 August 2017 - 04:26 PM
So for a while I'd been thinking about making a terminal object which draws directly to Minecraft maps. It would've been neat, but it turns out that's not viable - there's no way to write map data directly from in-game. Short of using external software tools, the only way to modify a map's content is for a player to actually view that map near its associated terrain.
Hence this Command Computer script, which instead generates single terrain "images" according to whatever GIFs you feed it, using what's dubbed "the staircase method".
On first run, the script will offer to "prepare" the build area. Doing so moves the computer and player to the middle of the mapping zone, and re-running the script from that location will trigger the option to actually construct your images.
Each individual map holds 128x128 pixels (regardless of its zoom level). Images are scaled accordingly, but you can opt to spread them out over multiple maps if you want higher resolutions (in which case each section is generated in order from left to right, top to bottom). The script automatically gives you a new map to store the art in as each build completes - simply open it to record that section of image data, and then move it away from your hotbar before telling the script to continue.
Builds are performed at the nearest suitable location to your computer, and are heavily destructive to any pre-existing terrain there. Server time slows to a crawl while the script is active, and it may take a minute or so for the clock to "catch up" after a build.
Once a map is complete, you can safely fill the area back in (or build a new map in that same area) so long as you do not view your old maps in that area again. Perform your builds somewhere remote, and then take your maps back to your home base for display in item frames.
Later versions of Minecraft have better colour depth, but the script should be able to automatically figure out what's available in whatever version you have installed.
Version History
2017/08/031.0.0
Initial release.
2017/08/07
1.1.0
Fixed bugs concerning transparent and / or very bright images.
Script now teleports user to the center of the best construction zone.
Multi-map builds can now be quit mid-way and then resumed later.
2017/08/10
1.1.1
Uses "tpn" (instead of "teleport") if the server implements it.
Edited on 09 August 2017 - 11:38 PM