STRAFTAT
评价数不足
How to jump with Mousewheel
由 (1)AlexV 制作
Jump with mwheelup/down by editing registry entries.
2
   
奖励
收藏
已收藏
取消收藏
Ingame
The (currently) only way to use mwheelup&mwheeldown to jump is to change some entries in your registry.

Before changing the entries, start the game and try to change the "Swap" setting to something else. This won't work, since this option only accepts a "Vector2d", which can only be the scrollwheel - but doing this creates a needed registry entry. Also, just for safety, change the jump bind aswell - you can change it back to space again, but the registry entry only gets created on change.

Registry
After that, close the game, press Win+R, type "regedit" and press enter.

Navigate to "Computer\HKEY_CURRENT_USER\Software\LemaitreBros\STRAFTAT"

In there, you will find an entry called something like
  • "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerJump0_h1746307651"
    and
  • "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerJump1_h1746307651"
(The numbers at the end might differ)


If you want to jump with space AND scrollwheel:
  1. Doubleclick "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerChangeWeapon0_h562535876" (the number at the end might differ).
  2. Copy the content and close the window.
  3. Doubleclick "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerJump1_h1746307651", delete the content and paste the copied value.



If you ONLY want to jump with scrollwheel:
  1. Doubleclick "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerChangeWeapon0_h562535876" (the number at the end might differ).
  2. Copy the content and close the window.
  3. Doubleclick "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerJump0_h1746307651", delete the content and paste the copied value.
  4. Delete "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerJump1_h1746307651"

Registry Swap fix
The only problem remaining now is that whenever you jump, you also swap your weapons. Since you can't change the "Swap" setting ingame, you also have to edit the registry entry.
  1. Doubleclick "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerChangeWeapon0_h562535876" (the number at the end might differ).
  2. Delete the content and type the following: "<Keyboard>/x." without the quotation marks. Change x to whatever key you want as your new "Swap" bind.
tldr
  • Open regedit, go to Computer\HKEY_CURRENT_USER\Software\LemaitreBros\STRAFTAT
  • Set "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerJump1_h1746307651" to the same value that is in "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerChangeWeapon0_h562535876"
  • Set "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerChangeWeapon0_h562535876" to "<Keyboard>/x." without quotation marks. x is your new "Swap" key.
13 条留言
Fadz 8 月 29 日 下午 12:44 
goat gude
djk500 8 月 16 日 下午 12:05 
just open a notepad and put this in and save as mwheeljump.reg
and just run the registry entry.







Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\LemaitreBros\STRAFTAT]
"PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerJump0_h1746307650"=hex:3c,\
4b,65,79,62,6f,61,72,64,3e,2f,73,70,61,63,65,00
"PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerJump1_h1746307651"=hex:3c,\
4d,6f,75,73,65,3e,2f,73,63,72,6f,6c,6c,00
"PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerChangeWeapon0_h562535876"=hex:3c,\
4b,65,79,62,6f,61,72,64,3e,2f,6b,00
FUNNYFOOT_ 8 月 7 日 下午 6:15 
You could also download AutoHotkey and just create a custom script for it. Like this
; Scroll Wheel Up sends Space
WheelUp::
Send, {Space}
return
real 8 月 5 日 下午 2:16 
If you can't bind both <Mouse>/Scroll and <Keyboard>/Space try switching PlayerJump1 and PlayerJump0, so <Mouse>/Scroll -> PlayerJump0 and <Keyboard>/Space -> PlayerJump1
(1)AlexV  [作者] 6 月 1 日 下午 12:33 
nice, what was the issue?
Rogerthat2k 6 月 1 日 上午 9:11 
i fixed it, finally worked, thankyou so much :steamhappy:
(1)AlexV  [作者] 5 月 28 日 下午 6:35 
nope, never had that :(
Rogerthat2k 5 月 24 日 上午 8:56 
the entries worked, but now whenever i go into the game, and try n go into a match, my screen is just some weird texture, and it wont load me into a match, doesn't matter what mode, even in training ground it happens, did you have this too?
(1)AlexV  [作者] 5 月 23 日 上午 10:45 
@Rogerthat2k try to change the "Swap" Setting ingame - you can only set it to mousewheel, but changing it creates the entry (i think).
Rogerthat2k 5 月 23 日 上午 9:46 
i've only got 2 player control entries, both for jump, not the "PlayerControls (UnityEngine.InputSystem.InputActionAsset):PlayerChangeWeapon0"