JEDI Comport » ((JEDI RolePlay Mod/RPMod)) » Suggestions
-
Notifications ()
Notifications Settings
- You have no notifications
Run/Walk Toggle Indicator
-
- Lost One
- Posts: 2539
- Joined: Thu May 08, 2008 12:07 am
- Location: One with the Force
Run/Walk Toggle Indicator
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?
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?
- Arikakon Genkal
- Lost One
- Posts: 317
- Joined: Fri Apr 06, 2007 9:42 pm
- Location: Home
- Aknaross Myotis
- Lost One
- Posts: 362
- Joined: Wed Nov 07, 2007 10:31 am
- Location: Jedi Enclave - Alzoc III
- Contact:
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
/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
This doesn't need to be implemented in RPMod. Like Ctathos said,
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.
.. you can do it with a script, such as the following one (untested, but it should work):Ctathos wrote:vstr with echo.
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

-
- Lost One
- Posts: 2539
- Joined: Thu May 08, 2008 12:07 am
- Location: One with the Force