Strider
46 个评价
Rebinding Controls (Keyboard, Mouse, Gamepad & D-Pad Movement)
由 DAOWAce 制作
How to rebind your controls natively; no third party tools required.
   
奖励
收藏
已收藏
取消收藏
Intro
Note: Do not copy/paste from this guide unless it is in a code tag (no formatting, properly spaced). I put most of it in quote tags to bold the area you should change for visibility, but it breaks proper formatting so if you copy and paste it into your config file, it may not work correctly (untested).

I will only be listing one example in this guide (attack). You will have to figure out which action ingame matches the one in the config file. It should be relatively easy to match it by just looking at the default binds.

Some keys cannot be rebound.

Thank you to AEon for providing this list of keys:

KEY_ADD KEY_APOSTROPHE KEY_APPS KEY_AT KEY_AX KEY_BACK KEY_BACKSLASH KEY_CAPITAL KEY_COLON KEY_COMMA KEY_CONVERT KEY_DECIMAL KEY_DELETE KEY_DIVIDE KEY_DOWN KEY_END KEY_EQUALS KEY_ESCAPE KEY_F1 ... KEY_F15 KEY_GRAVE KEY_HOME KEY_INSERT KEY_KANA KEY_KANJI KEY_LBRACKET KEY_LCONTROL KEY_LEFT KEY_LMENU KEY_LSHIFT KEY_LWIN KEY_MINUS KEY_MULTIPLY KEY_NEXT KEY_NOCONVERT KEY_NUMLOCK KEY_NUMPAD0 ... KEY_NUMPAD9 KEY_NUMPADCOMMA KEY_NUMPADENTER KEY_NUMPADEQUALS KEY_PERIOD KEY_PREVTRACK KEY_PRIOR KEY_RBRACKET KEY_RCONTROL KEY_RETURN KEY_RIGHT KEY_RMENU KEY_RSHIFT KEY_RWIN KEY_SCROLL KEY_SEMICOLON KEY_SLASH KEY_SPACE KEY_STOP KEY_SUBTRACT KEY_SYSRQ KEY_TAB KEY_UNDERLINE KEY_UNLABELED KEY_UP KEY_YEN KEY_0 ... KEY_9 KEY_A ... KEY_Z

Make sure the game is closed.

1) Go to the game's install directory. eg: \Steam\steamapps\common\Strider

2) Open binds_pc.cfg

3) Scroll down to:

### THESE BINDINGS ARE COPIED DIRECTLY FROM THE XBOX 360 BINDS

### CONTROLLER 1
Keyboard
4a) Go to the second set of binds. You'll see this at the top of it:

addbind 0 COMMAND_FORWARD KEYBOARD 0 KEY_UP 0.0 1.0 1.0

This is where you change the controls to what you want.


5a) Example: To change your normal attack from S to X, find it in the list:

addbind 0 COMMAND_PUNCH KEYBOARD 0 KEY_S -1.0 1.0 1.0

Change it to:

addbind 0 COMMAND_PUNCH KEYBOARD 0 KEY_X -1.0 1.0 1.0

6a) Save the file.

Your attack is now X!
Mouse
You can also bind controls to your mouse buttons!

To change your normal attack from S to left mouse, find it in the list:

addbind 0 COMMAND_PUNCH KEYBOARD 0 KEY_S -1.0 1.0 1.0

Change it to:

addbind 0 COMMAND_PUNCH MOUSE 0 BUTTON_0 -1.0 1.0 1.0

Your attack is now LMB!

Unfortunately, this doesn't seem to work for extra mouse buttons.

For reference: 0 = LMB, 1 = RMB, 2 = MMB
Gamepad
Gamepad rebinding is a bit more difficult.

I will be referencing the 360 controller as an example.

4b) Right under where it says ### CONTROLLER 1, you'll see:

setbind 0 COMMAND_FORWARD CONTROLLER 0 AXIS_Y 0.0 1.0 1.0

This is your set of binds.

5b) To change attack from X to A, find this in the list:

setbind 0 COMMAND_PUNCH CONTROLLER 0 BUTTON_2 -1.0 1.0 1.0

Change it to:

setbind 0 COMMAND_PUNCH CONTROLLER 0 BUTTON_0 -1.0 1.0 1.0

6b) Due to conflicting controls, you need to switch Jump with Attack as well.

Find:

setbind 0 COMMAND_JUMP CONTROLLER 0 BUTTON_0 -1.0 1.0 1.0

Replace with:

setbind 0 COMMAND_JUMP CONTROLLER 0 BUTTON_2 -1.0 1.0 1.0

7b) Save the file.

Your attack is now A and your jump is now X.


Note for analog control: Axis rebinding is more difficult as you need to set the proper axes. I will list them here for convenience:
Up: 0.0 1.0 1.0 Down: -1.0 0.0 1.0 Left: -1.0 0.0 1.0 Right: 0.0 1.0 1.0

Edit: Yes.. there's only two different ones. I don't know whether I made a mistake or if this is how it is. I've never gone back to re-test, but had no issues when I was playing.
Switching Analog to D-Pad movement
By popular request, I figured out how to switch movement to use the DPAD while Analog control is enabled. If you use a PS2 or similar controller you can toggle off analog sticks so the D-Pad works for movement just fine.

Copy this over your settings:

setbind 0 COMMAND_FORWARD CONTROLLER 0 BUTTON_12 0.0 1.0 1.0 setbind 0 COMMAND_BACKWARD CONTROLLER 0 BUTTON_13 0.0 1.0 -1.0 setbind 0 COMMAND_LEFT CONTROLLER 0 BUTTON_14 0.0 1.0 -1.0 setbind 0 COMMAND_RIGHT CONTROLLER 0 BUTTON_15 0.0 1.0 1.0

WARNING: This will break plasma selection hotkeys. In fact, it will probably both move you and select your plasmas.

To fix this, also copy over these settings:

setbind 0 COMMAND_EXT_1 CONTROLLER 0 AXIS_Y 0.3 1.0 1.0 setbind 0 COMMAND_EXT_2 CONTROLLER 0 AXIS_Y -1.0 0.3 1.0 setbind 0 COMMAND_EXT_3 CONTROLLER 0 AXIS_X -1.0 0.3 1.0 setbind 0 COMMAND_EXT_4 CONTROLLER 0 AXIS_X 0.3 1.0 1.0

Your Plasma selection should now use the analog stick.

A 30% deadzone is applied; just change 0.3 to whatever deadzone you prefer if it isn't working out for you. Every 0.1 is 10%.
Multiple binds to same function
If you wish to bind the same function to multiple keys, simply duplicate it and modify the key. For example, I've bound normal attack to X, S and left mouse button:

addbind 0 COMMAND_PUNCH KEYBOARD 0 KEY_X -1.0 1.0 1.0 addbind 0 COMMAND_PUNCH KEYBOARD 0 KEY_S -1.0 1.0 1.0 addbind 0 COMMAND_PUNCH MOUSE 0 BUTTON_0 -1.0 1.0 1.0
Outro
With this knowledge, you should now be able to change the other controls to what you want.

If you need help, feel free to ask.

As an added bonus, this will also update the UI ingame! Awesome!


I half expect them to add rebinding in a patch, but until then, I hope this guide was helpful.
17 条留言
Raistin Kane 2017 年 4 月 9 日 下午 2:37 
Kinda late, but someone may find this useful:
There is no KEY_BACKSPACE...
it's KEY_BACK instead.
The COMMAND_UI_DELETE is use to open to map window.
People may consider to use KEY_TAB for this command...
outsidespace 2016 年 7 月 26 日 上午 3:22 
thanks:).i will try that.i dont have a controller so i kinda tricky to play this with a keyboard.
DAOWAce  [作者] 2016 年 7 月 26 日 上午 3:09 
Isn't it down + attack, like other directional attacks?
outsidespace 2016 年 7 月 25 日 上午 8:20 
what is the key to do down strike?
Horse Feathers 2016 年 1 月 1 日 下午 5:52 
DAOWAce, thanks for posting this. I just bought Strider and couldn't find my controller :Sadclot:. Found this and I can actually play the game really well with mouse & keyboard. Cheers!
DAOWAce  [作者] 2015 年 12 月 18 日 上午 2:21 
Coming to near 2 years since I wrote this guide and I still can't help but feel like I messed up the axis binds since there's only 2 different ones between 4 directions..

I swear they tested just fine ingame like that, but it's still always been at the back of my mind. I never did get around to re-testing it again to confirm or deny my doubts..
AEon 2015 年 12 月 18 日 上午 1:04 
Neat post... did some configuring of my own, and wondered about a few keys. Apparently KEY_LALT or any alt key does not exist. And the .cfg file does not explicitly mention the map key either, that should be bound to KEY_BACKSPACE. So one needs to keep pressing the less than convenient backspace key to open the map. I rebound my keys to use W,S,A,D for movement and keeping space to jump, and left/right mouse buttons as primary/secondary attack keys. Several other platformers use those, and I seem to be better playing with them.
AEon 2015 年 12 月 18 日 上午 1:03 
Anyway to find a complete list of key names that can be bound I looked directly into the .exe:

List of all bindable keys:

KEY_ADD
KEY_APOSTROPHE
KEY_APPS
KEY_AT
KEY_AX
KEY_BACK
KEY_BACKSLASH
KEY_CAPITAL
KEY_COLON
KEY_COMMA
KEY_CONVERT
KEY_DECIMAL
KEY_DELETE
KEY_DIVIDE
KEY_DOWN
KEY_END
KEY_EQUALS
KEY_ESCAPE
KEY_F1 ... KEY_F15
KEY_GRAVE
KEY_HOME
KEY_INSERT
KEY_KANA
KEY_KANJI
KEY_LBRACKET
KEY_LCONTROL
KEY_LEFT
KEY_LMENU
KEY_LSHIFT
KEY_LWIN
KEY_MINUS
KEY_MULTIPLY
KEY_NEXT
KEY_NOCONVERT
KEY_NUMLOCK
KEY_NUMPAD0 ... KEY_NUMPAD9
KEY_NUMPADCOMMA
KEY_NUMPADENTER
KEY_NUMPADEQUALS
KEY_PERIOD
KEY_PREVTRACK
KEY_PRIOR
KEY_RBRACKET
KEY_RCONTROL
KEY_RETURN
KEY_RIGHT
KEY_RMENU
KEY_RSHIFT
KEY_RWIN
KEY_SCROLL
KEY_SEMICOLON
KEY_SLASH
KEY_SPACE
KEY_STOP
KEY_SUBTRACT
KEY_SYSRQ
KEY_TAB
KEY_UNDERLINE
KEY_UNLABELED
KEY_UP
KEY_YEN

KEY_0 ... KEY_9

KEY_A ... KEY_Z

Hope that helps.
Kfnnapa1412 2015 年 6 月 14 日 下午 2:37 
Is there any way for you to bind to mouse scroll up and down without use AHK?
himmatsj 2014 年 10 月 19 日 上午 5:02 
Hey man, any idea if I can bind to the Left ALT key? If yes, what must I do? I find it hard to use LCTRL with my special attacks.