|
Phlux Beginner
Joined: 26 Sep 2005 Posts: 14
|
Posted: Tue Oct 11, 2005 8:36 pm
Custom directions and the mapper |
I've put in some custom directions into zmud that seem to be working fine, except that I want a new zone to be created when I use the command if it's a new location.
This mud has space locations and planets, and new planets go into the game as players create them. This requires me to be a little creative in how I link them to my main map.
There are two things I need to be able to do:
Make the mapper understand the "jump <systemname>" command without creating a direction command for each one. This needs to create a new zone if it has never been visited before.
I also need to be able to create new zones when I land on planets. I already have a direction command for that, but it only creates a new location in the current zone, not a new zone. So I need to either be able to move locations from zone to zone, or preferably just create a new zone when I use the "board" command. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Tue Oct 11, 2005 9:14 pm |
Sadly the creation of zones by script has never been included in zMud. I personally think that everything should be scriptable, and I believe there is a way to do it, but it is extremely round about and I can't even be sure it will work. Right now the best you can do is to make the script detect that a new zone should be made. After the room has been established use the #MENU command to move the room to another zone, so it prompts you to create the new zone.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Phlux Beginner
Joined: 26 Sep 2005 Posts: 14
|
Posted: Tue Oct 11, 2005 9:45 pm |
Is there a way to at least to the part where I create a direction with a wildcard in it?
If I could even get "jump <systemname>" to create a new map location that would be helpful, then I could just move it to a new zone manually, but wouldn't have to go through all the hassle of creating the annoying links by hand. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Oct 12, 2005 12:10 am |
Use the direction character (default of >). At the command line:
>jump systemname>direction to place room
The italics portion is optional. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Phlux Beginner
Joined: 26 Sep 2005 Posts: 14
|
Posted: Thu Oct 13, 2005 7:29 pm |
Awesome, that works great. Much better than manually creating links and all of that garbage.
It's still too bad there's not scripted method for creating a room in a new zone...but this is still much better and much faster than before. |
|
|
|
|
|