Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
scyren
Beginner


Joined: 13 Oct 2000
Posts: 25
Location: Monroe, WA USA

PostPosted: Wed Jul 30, 2003 1:47 am   

Dragonrealms: Maps
 
Getting ready to post some maps for dragonrealms at http://groups.yahoo.com/groups/DRzMUD under the files section.

Also, below is the class I'm using to do this. I couldn't find a way to fix the problem with rooms being identified but just being created so they overlapped the room that was already on the map. So, I made macros and what not to do it for me ;)

Here's a copy and paste out of the text section of the editor, should be able to paste it back in (I hope ;))

Wijet

--------------------8<--------------------------------
Code:

#CLASS {Mapping}
#ALIAS MakeGo {
  #door {%1} {%2 %3}
  #MAKEROOM %1
  ~Go %2 %3
  }
#VAR Room_Name {Langenfirth, Jalgelvjegu}
#VAR Room_Desc {Wheels and hooves clatter on the wood as they move on and off the platform of the landing. Heavy foot traffic joins the carts and wagons to add to the general turmoil of arriving goods and departing trades. Through the general commotion can be heard chimes from a nearby temple and the occasional call of a lake bird frightened from its perch.}
#VAR Room_Exits {w|nw|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?|?}
#TRIGGER {o} {} "" {gsl}
#COND {^~[(*)~]$} {Room_Name=%1}
#TRIGGER {I} {Room_Desc=%gsl( I)} "" {gsl}
#TRIGGER {j} {
  Room_Exits=%2
  #TAG name @Room_Name
  #TAG exit @Room_Exits
  #TAG desc @Room_Desc
  } "" {gsl}
#KEY CTRL-KEY7 {
  #MAKEROOM NW
  NW
  }
#KEY CTRL-KEY8 {
  #MAKEROOM NORTH
  NORTH
  }
#KEY CTRL-KEY9 {
  #MAKEROOM NE
  NE
  }
#KEY CTRL-KEY4 {
  #MAKEROOM WEST
  WEST
  }
#KEY CTRL-KEY5 {
  #MAKEROOM Out
  out
  }
#KEY CTRL-KEY6 {
  #MAKEROOM E
  East
  }
#KEY CTRL-KEY1 {
  #MAKEROOM SW
  SW
  }
#KEY CTRL-KEY2 {
  #MAKEROOM South
  South
  }
#KEY CTRL-KEY3 {
  #MAKEROOM SE
  SE
  }
#KEY CTRL-KEY0 {
  #MAKEROOM DOWN
  DOWN
  }
#KEY CTRL-DEC {
  #MAKEROOM Up
  UP
  }
#CLASS 0
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net