Page 1 of 1

support for large LPC style color grid maps added

Posted: Sat Jan 29, 2011 7:03 pm
by Heiko
I've added support for large LPC style color grid maps. Mudlet has now the ability to render an ascii overlay of the grid map as if the MUD has no graphical hand drawn etc. map available which will be the case for most MUDs.
Image
Image

Re: support for large LPC style color grid maps added

Posted: Sat Jan 29, 2011 9:07 pm
by Omit
Very Nice! (for those that did not catch it... the render time for a map like this is 0ms... instant, or near enough... and that is with what looks to be a few thousand rooms displayed)

Re: support for large LPC style color grid maps added

Posted: Sat Jan 29, 2011 9:19 pm
by Heiko
That's correct. It was necessary to make a fast display for large grid maps because they contain far too many rooms so that the conventional display would be too slow.
The mapper is very fast now.

Re: support for large LPC style color grid maps added

Posted: Tue Nov 22, 2011 9:52 pm
by Omit
Is there any documentation on displaying the ascii map?

I would also like to suggest adding the ability to display this style of map by hitting a button in the map window. (2D/3D/Ascii)

Re: support for large LPC style color grid maps added

Posted: Tue Nov 22, 2011 10:58 pm
by Heiko
You need to set the area to grid map mode setGridMode(areaID, true). To make the grid map look like an ascii map you need to set the ascii char for each room and the color. Note that you cannot use the visual map editor in grid mode. If you want to use the map editor for a grid map area, you need to set it to non grid mode (standard mode) first, use the editor and then set it back to grid mode.

My Avalon.de map script + the demo map can serve as an example on how to use grid maps to display ascii maps.