|
Protagoras Newbie
Joined: 30 Jul 2012 Posts: 1
|
Posted: Mon Jul 30, 2012 7:58 pm
Automapper Configuration help |
I just downloaded Cmud and am trying to get the automapper to work. Autoconfiguration will not detect the exits. I assume it has to do with them being in [] here is an example room.
Academy of Mythrandir
Academy Hallway
The hall extends to the east and west, the floor is covered in simple
carpeting. The walls are unadorned, save small oil lamps that illuminate
the hall. Two alcoves are set to the north and south of the hall.
[Exits: north east south west]
An academy chest is here, against the wall.
<216 180>
what should I do to get the mapper to recognize the exits? Currently it finds "An academy chest is here, against the wall." as the exit string. |
|
|
|
mikeC130 Apprentice
Joined: 03 Jul 2006 Posts: 110
|
Posted: Mon Jul 30, 2012 10:25 pm Re: Automapper Configuration help |
Protagoras wrote: |
I just downloaded Cmud and am trying to get the automapper to work. Autoconfiguration will not detect the exits. I assume it has to do with them being in [] here is an example room.
Academy of Mythrandir
Academy Hallway
The hall extends to the east and west, the floor is covered in simple
carpeting. The walls are unadorned, save small oil lamps that illuminate
the hall. Two alcoves are set to the north and south of the hall.
[Exits: north east south west]
An academy chest is here, against the wall.
<216 180>
what should I do to get the mapper to recognize the exits? Currently it finds "An academy chest is here, against the wall." as the exit string. |
You will want to use the #TAG command to grab the appropriate exit line.
Your pattern would be:
Note, if there are any leading spaces before the opening bracket, you'll need to add them or just remove the caret.
Then the command to execute would just be:
Once you create that trigger, run your mapper through a new configuration and you should be able to capture the correct line for exits.
Mike |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jul 30, 2012 11:37 pm |
Several games use that format, making it more likely that your problem stems from the fact that you have a multiline room name. The advice is the same, though.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|
|
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
|
|