Swap walk/sprint

Currently, I hold the shift key to sprint, and release it to walk. Is there a way to swap this behavior? I want to sprint by default and walk when I hold the shift key. Thanks.
On the options menu in game there is an always dash feature (I think) when it is on, dashing is default, holding shift down walks.
On the options menu in game there is an always dash feature (I think) when it is on, dashing is default, holding shift down walks.

Really? Never tried it.
Really? Never tried it.
I just now checked it. There is indeed that option.
Not sure how to enable it by default though.
system.json file might hide the answer here.
Probably an edit directly to the file can solve the issue, but what shall we put as value?
That's the big question. 🙂
system.json file might hide the answer here.
Probably an edit directly to the file can solve the issue, but what shall we put as value?
That's the big question. 🙂
Maybe
I don't see anything though.
Maybe
I don't see anything though.

"alwaysDash":"Always Dash"

I am not sure if a literal "False" would do the trick here.
Also, let's NOT play with json files directly, so we won't corrupt anything.

EDIT:

facepalm-statue.jpg


Nobody of us used Google yet. Right? Does anything of these works?

https://forums.rpgmakerweb.com/index.php?threads/manage-dashing.46778/

http://yanfly.moe/2016/03/03/yep-77-dash-toggle/
"alwaysDash":"Always Dash"

I am not sure if a literal "False" would do the trick here.
Also, let's NOT play with json files directly, so we won't corrupt anything.
I just now used Ctrl-F and found that.
Nope, I don't think False would do it 🙂
I did not use Google. XD
Those work!!
"alwaysDash":"Always Dash"
That is just text - probably the text that shows on the Options menu.
"alwaysDash":"Always Dash"
That is just text - probably the text that shows on the Options menu.
Yup. The second one "Always Dash" is the text that shows. The first one is the variable, maybe?
which would be used by the program as a lookup. If that's the System.json file, what you're looking at would probably be on the Terms tab.
which would be used by the program as a lookup. If that's the System.json file, what you're looking at would probably be on the Terms tab.
It would be, yes.
Just figured out how to do it without plugins!
1. Open the folder "js"
2. Open "rpg_managers.js" with Notepad.
BE SURE TO BACKUP THIS JS FILE!!!
3. Use Ctrl-F to search for "Dash"
4. You will see a line that looks like this: ConfigManager.alwaysDash = false;
5. Change "false" to "true".
That should do it!
You should do it as a plugin. Otherwise, every time you get an MV update and update your project, you're going to have to remember to redo this. Always create a plugin rather than changing the core scripts. Even if it's only a few lines long.


What happened to the Always Dash line of thought? If turning that on makes you always dash, and walk when the shift key is pressed, that's exactly what the OP wanted. The only reason you'd want to do it in script is if the request is for a permanent thing, but I assumed it was only wanted for the OP's play throughs.
Thanks all! Not sure yet if I want to make it permanent or not.
You should do it as a plugin. Otherwise, every time you get an MV update and update your project, you're going to have to remember to redo this. Always create a plugin rather than changing the core scripts. Even if it's only a few lines long.
Oh, I agree. @Dreadshadow and I were talking about editing the core files to do it though, so I thought I'd just say how to do it that way 🙂
Not sure yet if I want to make it permanent or not.
If it's not permanent, and you only want it for test playing, check the Option and see if it works. Then you can get away without any plugin or script changes. Or you could make the plugin/script changes, and just remember to remove them prior to launch if you don't want to keep them in.

Original thread: https://forums.rpgmakerweb.com/threads/swap-walk-sprint.93582/