I've got a quick question.
I'm running a vanilla rom2.4 mud for some friends and I figured, I'd give them a map of the game. Since I have all of the .are files I figured I'd parse them and lift them up to json or xml, which is done. I'll release the source code if anyone else is parsing .are file or wants to auto generate a map for their players.
Here's the lifted and parsed .are file preview But now I'm having tremendous trouble trying to get mudlet to display a custom (tiny) map and I hand make.
Here's my 3 room map with connected exits. Nothing fancy. I save this as custom_map.xml, and load it with mudlet
Code: Select all
<?xml version="1.0"?>
<map>
<areas>
<area id="1" name="Mud School" x="0" y="0" />
</areas>
<rooms>
<room id="3700" area="1" title="Entrance to Mud School" environment="1" important="1" color="#ff0000">
<coord x="0" y="0" z="0" />
<exit direction="north" target="3757" />
<exit direction="down" target="3001" />
</room>
<room id="3757" area="1" title="A Room in Mud School" environment="1">
<coord x="0" y="5" z="0" />
<exit direction="south" target="3700" />
</room>
<room id="3001" area="1" title="The Temple of Mota" environment="1">
<coord x="0" y="0" z="-1" />
<exit direction="up" target="3700" />
</room>
</rooms>
<environments>
<environment id="1" name="School" color="2" htmlcolor="#00B300" />
</environments>
</map>
Also, let's say it does load, how does mudlet know to follow what room I'm in? Do I need a lua script to go with it?
Can anyone give me some direction?
Many thanks,
Moon