 |
ferahgo Newbie
Joined: 02 Sep 2007 Posts: 7
|
Posted: Fri Sep 07, 2007 5:31 pm
Automapper recognize non-cardinal movement |
Hi I was playing with the automapper and getting frustrated with the custom configuration (as the help file warned). Since you guys are really good at this program and I am not, I figured I would ask...
Is there an easy way to make to automapper notice the area in [ ] as the room name, the second part as the desc. and the exits including the non-cardinal ones. This is an example of exactly the information you get when you enter a room.
| Quote: |
[entrance hall of the Thieves' Guild]
A magnificent dome covers, etc...
There are five obvious exits: up, west, north, south, east, stairs, and portal. |
Thanks in advance. |
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Sep 07, 2007 7:23 pm |
The room name is easy:
#trig {^~[*~]$} {#tag name}
And similar triggers can be applied to the description and exits (especially if you use a multistate trigger). The problem is that the mapper won't recognise cardinal exits on its own, even if you've tagged the exits line properly. This issue is going to be corrected in CMUD in the future, but unfortunately, it's harder to emulate in zMUD. You'll probably find it easier to create them manually using the mapping character than you will writing a script to create the custom exits for you. |
|
|
|
 |
ferahgo Newbie
Joined: 02 Sep 2007 Posts: 7
|
Posted: Fri Sep 07, 2007 8:40 pm |
you're quite right, that's easy and it works. Now how about this one. I try to go north but the game says 'The north door is locked.' and the mapper makes a new room which is a duplicate of the one I tried to come from. Is there an easy way to make the room not be created, or deleted rather when this happens?
|
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Sep 07, 2007 8:55 pm |
#trig {The %w door is locked.} {#nodir}
should work. You might also want to look at the #nomap command. |
|
|
|
 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Fri Sep 07, 2007 8:55 pm |
Grr.. Ninja'd.
#TRIGGER {The %w door is locked.} {#NODIR}
Very easy. :) Stops the room from being created.
Charneus |
|
|
|
 |
|
|
|