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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Throckman
Newbie


Joined: 12 Oct 2010
Posts: 6

PostPosted: 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...
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: 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!
Reply with quote
Moo
Apprentice


Joined: 10 Apr 2009
Posts: 145

PostPosted: 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.
Reply with quote
shalimar
GURU


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

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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