|
Throckman Newbie
Joined: 12 Oct 2010 Posts: 6
|
Posted: Mon Nov 15, 2010 2:08 pm
Remapping numpad in zone |
So I'm using Cmud 3.31, playing Genesis mud, and there's a water zone, in which you sail various directions ("sail ne" for example), and I'm wondering if there's a way to make the numpad do this automatically for only that one zone, and not have to faff about re-mapping it for every other zone.
Obviously, it'd also be peachy if the mapper was clever enough to be able to map based on these... |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Nov 15, 2010 7:26 pm |
CMUD is no longer is Beta so please post in the general forum. I've moved it for you.
You can do what your suggesting. I'm guessing your best bet would be a Zone Script that overrides the directions to include the sail.
The standard directions are defined in the Default packages which are normally hidden. You can see them by going to View --> Show Default Packages in the Package Editor. |
|
_________________ Asati di tempari! |
|
|
|
Moo Apprentice
Joined: 10 Apr 2009 Posts: 145
|
Posted: Mon Nov 15, 2010 8:21 pm |
You would need to set up numpad "macros" for the sail-commands and new "directions" for mapper to use. If you put these in a zone class, CMUD should use them correctly when you are in that zone, and use the default ones when you aren't.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Mon Nov 15, 2010 8:24 pm |
I have always used my own direction keypad package that checks a @move variable, in essence the macros look like this:
$dir=north
#IF (@move) {@move $dir} {$dir} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|