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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Puciek
Newbie


Joined: 16 Aug 2011
Posts: 3

PostPosted: Sat Aug 18, 2012 8:28 am   

How to automatically connect all rooms in zone?
 
I just mapped a big zone in one mud that required semi-manual mapping (had to create triggers that create the rooms), but problem is - they are only linked in one way (the one i entered from). How can I now automatically connect all adjacent rooms, so they will be linked? Currently they are just stubs that are positioned correctly.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4671
Location: Pensacola, FL, USA

PostPosted: Sat Aug 18, 2012 1:23 pm   
 
You dont... the easiest manual method would be to turn on keyboard creation under zone, and then you can connect the rooms while offline.
_________________
Discord: Shalimarwildcat
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sat Aug 18, 2012 9:52 pm   
 
You can set it so that they are automatically linked to adjacent rooms as you create them--edit your map configuration to enable this. However, once the rooms are created, there is no way to automatically connect two stub links together. You will have to do it manually or write a script. It will not be easy because you will need to search for rooms by X and Y coordinates.
Reply with quote
Puciek
Newbie


Joined: 16 Aug 2011
Posts: 3

PostPosted: Sat Aug 18, 2012 9:54 pm   
 
Rahab wrote:
You can set it so that they are automatically linked to adjacent rooms as you create them--edit your map configuration to enable this. However, once the rooms are created, there is no way to automatically connect two stub links together. You will have to do it manually or write a script. It will not be easy because you will need to search for rooms by X and Y coordinates.
The former was not an option because it was custom trigger creating them.
It's sad that I can't just select room and tell cmud to link them
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sat Aug 18, 2012 10:00 pm   
 
If the trigger was using #TAG, then the map configuration would work. If the trigger used %roomlink() or %roomexit, you're right, the map configuration wouldn't work. If every room had exactly the same exits (say, 6 or 8 compass directions), a #TAG would have worked, though.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Sun Aug 19, 2012 12:39 am   
 
Puciek wrote:
It's sad that I can't just select room and tell cmud to link them

You can, more or less. Just click the add link button, then click the first room, then click the second room (you'll need to click on the side of the room that the exit goes on, I find it easiest to zoom in a bit to not misclick).
Reply with quote
desait
Newbie


Joined: 26 Feb 2012
Posts: 3

PostPosted: Sat Aug 25, 2012 6:27 am   
 
The keyboard creation won't work. It will move around in "some" linked directions but will not connect any non linked rooms.

What can I check or unckeck from the options? I made a 40mb map, and I really need to connect the lines for it to be complete.

Keyboard creation seems the easiest to me, since I have probably 2000 or more rooms to link
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4671
Location: Pensacola, FL, USA

PostPosted: Sat Aug 25, 2012 7:36 am   
 
Sounds like you get to either manually do the links, or turn the mapper on and run through the rooms along all the stubs and it will link as you go. Tedious, yes, but it gets the job done.
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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