|
wingmaker77 Newbie
Joined: 29 Dec 2007 Posts: 2
|
Posted: Sat Dec 29, 2007 3:15 am
Mapping "New Worlds" |
Hello I've recently started playing a mud called New Worlds. My problem is that I cant seam to get Zmud to automap it at all. I'm using Zmud 7.21 Here is an example of the output
The room name is always on top but not always the same color.. and the exits are always at the bottom and as far as i know always the same color... the room description in the middle can just be on paragraph or it can be two or three and sometimes contains exit words such as North - Such and such place
and then items in the room are listed after the exits like the room example directly below.
> [53ms[0m
[1;32mOffice of the Ambassador[0m
The lavish office is set near the Immigrants guild. Normally guards of the
Duke and the Ambassador to Gahlen and the Kingdom reside here awaiting the
swearing of fealty for new immigrants that enter the city. Double doors lead
out into the Great Way of the city of Gahlen. In order to pass through the
doors you must [1;33mswear fealty to the crown[0m.
You may wish to wait for a moment in case someone wishes to come here and
witness your ceremony.
[1;37m There is one obvious exit: north.[0m
Three Gahlen guards.
Ambassador.
> [53mn[0m
[33mThe Great Way[0m
You are at the south end of The Great Way. Red cobblestones mark the pathway
underfoot. This part of the small city of Gahlen is home to several interesting
historical buildings. South of you is the Ambassador's office. To the west is
the [1;33mImmigrants Guild[0m.
On the side of the street a lantern hangs from a tall pole.
[1;37m Obvious exits : north, west and south.[0m
> [53mn[0m
[33mThe Great Way[0m
This Great Way is the oldest street in Gahlen. It is fairly clean and
designed with red cobblestones brought from the Dwarves of the Eastern Peaks.
Directly east is an ancient building of strange design. The single door to this
building is jet black in color and the walls are made of a grey substance that
does not appear to be stone.
East - [1;30mCustoms[0m
[1;37m Obvious exits : north, south and east.[0m
> [53mn[0m
[33mThe Great Way[0m
Great Way is the oldest street in Gahlen. It is fairly clean and designed
with red cobblestones brought from the Dwarves of the Eastern Peaks. This
street is home to several interesting historical buildings.
On the side of the street a lantern burns dimly.
A huge structure built of limestone stands to the west.
A massive Gold Embossment on the entranceway reads:
[1;33mThe Great Hall of Fame[0m
[1;37m Obvious exits : west, north and south.[0m
> [53mw[0m
[33mThe Hall of Fame[0m
You stand in the main lobby of a huge hallway, one of the largest structures
in Gahlen. The lobby is decorated with beautiful tapestries varying in size
and color. The floor is decorated marble and a large chandelier hangs from a
golden chain about twenty feet above you.
Ahead of you is a dimly lit hall with statues, articles, and paintings lining
the walls.
[1;37m Obvious exits : west and east.[0m
> [53mw[0m
I've tried to modify a script I found for Achaea by Larkin (nice job btw I brefly played Achaea and your script works great) but I dont know enough to get it to work.. any help would be appreciated. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Dec 29, 2007 4:44 am |
The problem with Larkin's approach is that it relies on the room name line being a particular colour, which isn't the case with your example. An exit trigger won't be so hard:
#trig {^{There are |}obvious exit{s|}} {#tag exits}
but creating a trigger for the room name will be much harder. You might try using a multistate trigger - an oninput state that recognises your direction commands, and a normal trigger that'll match any line of text (since the next line after a movement command will be the room name). |
|
|
|
|
|
|
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
|
|