Page 1 of 1
Run/Walk Toggle Indicator
Posted: Fri Jan 30, 2009 7:38 pm
by Aslyn Denethorn
Evening,
So since most of us tend to use a single bind for run/walk, would it be possible to create a HUD indicator to show which one is currently active at the time? If you're anything like me, you're probably always switching between the two when you're stationary (yeah, probably because I use shift as the toggle, and you need that and tilde for the console), and as such, the number of times I've started moving with a run instead of the more dignified walk...
So, is this one possible?
Posted: Fri Jan 30, 2009 7:42 pm
by Arikakon Genkal
I have CTRL bound to cl_run 0 and ALT bound to cl_run 1, to avoid confusion.
Posted: Fri Jan 30, 2009 9:05 pm
by Aknaross Myotis
Yet there are two possibilities to active RUN/WALK mode:
/bind key cl_run !
or
/bind key "toggle cl_run" (with the quotes)
Then.. the key for run/walk will toggle the different action:
Example: Running mode - Key will toggle to Walk
Walking mode - Key will toggle to Run
But still lack on a indicator for the mode activate.. that would be nice if we get something on that. Soh hear us! =D
Posted: Fri Jan 30, 2009 10:44 pm
by Ctathos
vstr with echo.
Posted: Fri Jan 30, 2009 11:46 pm
by Ze'eal
I'd be interested in this, but I don't really use toggles, I just use shift for walking most of the time.
Posted: Sat Jan 31, 2009 8:28 am
by Soh Raun
This doesn't need to be implemented in RPMod. Like Ctathos said,
Ctathos wrote:vstr with echo.
.. you can do it with a script, such as the following one (untested, but it should work):
Code: Select all
set do_run "set cl_run 1;set run_msg echo Running mode;vstr run_msg;set key_run do_walk"
set do_walk "set cl_run 0;set run_msg echo Walking mode;vstr run_msg;set key_run do_run"
// Default mode
set key_run do_walk
vstr key_run
// Key bindings
bind CTRL vstr key_run
bind Z vstr run_msg
Exec it once, then use the keys. The CTRL key would be used to toggle between Running and Walking mode and would display the new mode. The Z key would only display the current status in the upper left corner of the screen.
Posted: Sat Jan 31, 2009 8:32 am
by Aslyn Denethorn
Hmm...that might work. Thanks.