Difference between revisions of "Mudlet Mapper"

From Mudlet
Jump to navigation Jump to search
Line 13: Line 13:
  
 
<lua>
 
<lua>
local main = Geyser.Container:new({x=0,y=0,width="100%",height="100%",name="ofn.whc"})
+
local main = Geyser.Container:new({x=0,y=0,width="100%",height="100%",name="mapper container"})
  
 
local mapper = Geyser.Mapper:new({
 
local mapper = Geyser.Mapper:new({

Revision as of 15:00, 16 June 2011

Mudlet's mapper is split into two parts for the best compatibility on all MUDs - the display and functions in Mudlet, and a per-MUD Lua script that tracks where you are, allows mapping and provides aliases for using the mapper.

Pre-made mapping scripts are available from Mudlet forums. For more information on mapping scripts, see Mapping_script.

Mapping

General Mudlet Mapper tips

  1. Don't move the room you're currently in, you'll go haywire
  2. The number when spreading/shrinking room selections it the multiplication factor - 2 is a good number to try

Placing the mapper into a corner

Here's a snippet you can use to place the mapper window into a corner and have it automatically come up whenever you open Mudlet. To use this, create a new script and copy/paste the code into it.

<lua> local main = Geyser.Container:new({x=0,y=0,width="100%",height="100%",name="mapper container"})

local mapper = Geyser.Mapper:new({

 name = "mapper",
 x = "70%", y = 0, -- edit here if you want to move it
 width = "30%", height = "50%"

}, main) </lua>