|
lowb Newbie
Joined: 11 Aug 2005 Posts: 2
|
Posted: Thu Aug 11, 2005 11:57 pm
Mapper Configuration Help Please! |
Can anyone help me set up my Zmud mapper? I've tried automatic and offline configuration, but it still won't work properly. I'm trying to set up the Room Name and Room Exits.
Here's a copy/paste with my character walking into 2 rooms. Any help would greatly be appreciated!
-Kate (Lowb)
Code: |
Trader Road
+=--------------------------------------------------------------------------=+
| Lighting: Lit Time: Night Terrain: Town Street |
| Exits: NESW Moon: waxing gibbous Room Size: Elephant |
| Weather: cool; partly cloudy; gentle breeze from ENE |
+=--------------------------------------------------------------------------=+
north : a grocer
east : a weary elf, two spotted leopards, a giant falcon, a rabbit,
two pack mules, a fantail, a Chiiron guard, a townsman,
an old man
south : a bartender
<x|20hp 53e 95mv 95wm 100xp NESW> s
You leave south.
The Fighting Ferret
+=--------------------------------------------------------------------------=+
| Lighting: Lit Time: ??? Terrain: Room |
| Exits: NSU Moon: ??? Room Size: Ogre |
| Weather: cold |
+=--------------------------------------------------------------------------=+
A bartender stands behind the counter cleaning some mugs.
Two barstools sit here beside the counter.
A grand old piano rests against the wall, waiting to be played.
south : a drunk
up : a swordsman
<Sx|20hp 53e 94mv 94wm 100xp NSU> s
You leave south.
The Back Room
+=--------------------------------------------------------------------------=+
| Lighting: Lit Time: Night Terrain: Room |
| Exits: N Moon: waxing gibbous Room Size: Ogre |
| Weather: cool; partly cloudy; gentle breeze from ENE |
+=--------------------------------------------------------------------------=+
A drunk is resting on a long wooden bench.
north : a bartender
The drunk mumbles about life being cruel...
<x|20hp 53e 91mv 91wm 100xp N> |
[/code] |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Aug 12, 2005 8:28 am |
You will likely have to use #TAG to get this to work.
#TRIGGER {^You {walk|run|fly|swim|leave} %t.} {}
#COND {$} {}
#COND {*} {#VAR RoomName {%trim(%line)};#TAG name @RoomName}
#COND {~|%sExits: (%w)} {#TAG exit %1} |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
lowb Newbie
Joined: 11 Aug 2005 Posts: 2
|
Posted: Fri Aug 12, 2005 7:44 pm |
Thanks for the reply. Can you tell me if I'm doing this correctly?
I copy/pasted your #TRIGGER and #COND's into a text file. Opened Triggers and Imported the file. Save and exit Triggers. Open Map and run the Automatic config again. Is that right?
I must be missing something, or entering the trigger/tag incorrectly. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Aug 12, 2005 11:08 pm |
That method should work. Problems with the automapper are notoriously hard to solve. If you can't get it to work right you might want to go so far as dig up a script I posted to the Finished Scripts forum for completely overriding the automapper system. While my script is overkill in this situation, and will require heavy modifications as well as having zMapper installed and operational; it is certain to work. I definitely support testing the much simpler triggers I wrote first though. This would be done by checking for the existence and value of variables such as "RoomName" after entering a room. You can add more variables; or even reuse the existing variables to further test that the triggers are firing properly.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|