Replies: 2 comments 5 replies
-
I like the idea of it... but I don't fully understand. Is this intended to replace the ascii maps I have (for example), or to be a larger scale map that mostly deals with landmarks? I could think of a few ways something like this could work. |
Beta Was this translation helpful? Give feedback.
-
Well I admit I come from a generation of MUD playing that predates this, so it's a bit foreign to me... but overall I think it's a really nice feature. I think aspirationally I could see adding this down the line as an optional feature... I do feel like it would really benefit from the alternative screen buffer mode and redrawing elements on screen, but that would likely conflict greatly with mudlet, which refuses to respect moving the cursor around... so that's an interesting problem. overall i like it though, and will keep this around for future reference. |
Beta Was this translation helpful? Give feedback.
-
The in game map is wonderful so far. However, one of my favorite things on other codebases is the support for overland maps to occupy that space between towns and castles. Instead of builders having to create a "filler space" like a forest with little actual stuff in it or one single long path to make it feel spacious, the overland can take this over and mostly be an ASCII map with basic descriptions.
I believe a lot of MUD's have adapted the code from AFKMud to handle overland maps, and the beauty of that system is it uses a PNG image, say 1000x1000 pixels, and each pixel represents a room if it is that corresponding RGB color.
The overland actually exists as only one (maybe a few?) vnum's but uses a grid numbering system for where the player is. You can mapedit in game to change the overland map, or edit a PNG with an editor (paint, gimp, etc), or a generator.
Code reference:
https://github.com/Arthmoor/AFKMud/blob/master/src/overland.cpp
https://github.com/Arthmoor/AFKMud/blob/master/areadocs/RGB.txt
You can use something like Azgaar's Fantasy Map generator and just modify the biome RGB colors to match what the MUD wants and export your map as a PNG and add it to the map directory, along with a few references in code. Quite literally creating an overland map within minutes. I even successfully managed this on my first try.
Overland image generator:
https://azgaar.github.io/Fantasy-Map-Generator/
Beta Was this translation helpful? Give feedback.
All reactions