|
ponfyr Beginner
Joined: 15 Feb 2003 Posts: 14 Location: USA
|
Posted: Wed May 14, 2003 8:28 pm
Change command speedwalk sends |
If I walk from room 'a' to room 'b' zmud walks me with the abbreviated commands for each exit just as it should. But if I wanted to switch the command sent for direction east from ‘e’ to be ‘sneak east’ or ‘run east’ how would I go about it? Currently I have a button now for changing my walk macros on the keypad by activating the proper class folder. I would like speedwalk to use the same active class.
Any help would be greatly appreciated. I am on version 6.62 of the very best mud client found anywhere. |
|
|
|
Lain Novice
Joined: 26 Oct 2001 Posts: 38
|
Posted: Wed May 14, 2003 10:14 pm |
Hmm..
I know that if you want the mapper to move when you type in a movement command other then the normal north, south, east, west ecetera, like "sneak north" that you can go into your system's class folder, find the two directions folders (Directions and DirectionsDiag) and add them onto the existing directions - n|north|sneak north. I guess that you want the mapper to add the sneak or run in front of the direction when you have it enabled. |
|
|
|
ponfyr Beginner
Joined: 15 Feb 2003 Posts: 14 Location: USA
|
Posted: Wed May 14, 2003 10:20 pm |
Yes, that is correct. I want to change the walk method from normal to sneak or run.
|
|
|
|
Lain Novice
Joined: 26 Oct 2001 Posts: 38
|
Posted: Wed May 14, 2003 10:37 pm |
You could make two class folders (Dir_Run and Dir_Sneak) with duplicates of the normal directions but with sneak or run in front of them, so you'd have the normal directions folder, a sneak directions folder and a run directions folder.
#DIR ns {sneak north} n "System|Dir_Sneak"
#DIR sn {sneak south} s "System|Dir_Sneak"
#DIR we {sneak west} w "System|Dir_Sneak"
#DIR ew {sneak east} e "System|Dir_Sneak"
#DIR ns {run north} n "System|Dir_Run"
#DIR sn {run south} s "System|Dir_Run"
#DIR we {run west} w "System|Dir_Run"
#DIR ew {run east} e "System|Dir_Run"
(I've only added the n, e, s, w directions for example.)
Then using a multistate button with 3 walking options, you could turn the one folder you wish you use on and the other two off, zmud would then use only the enabled directions. For the values,
Normal
#t+ Directions
#t- Dir_Run
#t- Dir_Sneak
Run
#t- Directions
#t+ Dir_Run
#t- Dir_Sneak
Sneak
#t- Directions
#t- Dir_Run
#t+ Dir_Sneak
Hope this helps,
Lain |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed May 14, 2003 10:49 pm |
Open the settings editor. Create a new class (DirectionsSneak).
Select the System|Directions class. From the Show menu, select Directions. You should now see the settings for n, s, w, e, u, and d (these are inherited System settings, and should not be changed, but it's okay to copy them and change the copies). Use the mouse to select all of them, then right-click and select Copy. Switch to your DirectionsSneak class and Paste them into place.
If you use the diagonal directions, go to the System|DirectionsDiag and copy the directions from there also.
In DirectionsSneak, pick one of the new directions (n). In the command field, add the new movement command at the beginning.
sneak n|n|north
Repeat for the remaining directions.
When you want to use the Sneak commands, enable your class
#T+ DirectionsSneak
When you don't want to use them, disable the class
#T- DirectionsSneak
This won't affect the keyboard commands.
This is untested.
LightBulb
Advanced Member |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu May 15, 2003 3:14 am |
On most MUDs that allow you to "run", the "run" command moves you many rooms at a time. There's no easy way to combine this with speedwalking or mapping.
LightBulb
Advanced Member |
|
|
|
ponfyr Beginner
Joined: 15 Feb 2003 Posts: 14 Location: USA
|
Posted: Fri May 16, 2003 1:48 am |
Works except with Speedwalk Mode : Slow
Which is still wonderfull. |
|
|
|
|
|