Page 1 of 1

Creating maps

Posted: Fri Feb 22, 2013 1:20 pm
by kendric
I am new to mudlet. So far I have liked everything I have used in it, which is not all that much mind you. I wanted to try out making a map but after googling a bunch, searching the forums, nowhere can I find an explanation of how you add a new area. There is no button in the map window, and the area drop down selector is empty. Where is the add area button?

I saw something aobut a script command to create areas but I was hoping there was a way to do it via the gui. I haven't really devled into the scripting yet. If the only way is to do it via scripting, I haven't seen a scripting console where your commands don't go to the mud but go to the scripting engine instead. Is there such a thing?

Re: Creating maps

Posted: Fri Feb 22, 2013 1:59 pm
by Heiko
1. There's no need for a scripting console. Make a simple alias such as:
new alias name: create new area (useage: na <area name>)
pattern:^na (.*)
script:
local name = matches[2]
local areaID = addAreaName( name )
echo("created new area: ID:".. areaID .." name:" .. name .. "\n")

2. more info on making simple mapper scripts: http://forums.mudlet.org/viewtopic.php?f=9&t=2730

Re: Creating maps

Posted: Sat Feb 23, 2013 2:29 am
by kendric
Thanks for your help!