Creating maps

Post Reply
kendric
Posts: 9
Joined: Fri Feb 22, 2013 1:18 pm

Creating maps

Post 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?

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Creating maps

Post 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

kendric
Posts: 9
Joined: Fri Feb 22, 2013 1:18 pm

Re: Creating maps

Post by kendric »

Thanks for your help!

Post Reply