
This is a guide (and script) to add keybinding via AutoHotkey until the devs actually add it. How To I was inspired to do this because of a) someone in the forum mentioned losing the use of their dominant hand and thus needing keybindings. The idea is originally from: https://steamcommunity.com/sharedfiles/filedetails/?id=447835974 The following code is an ahk-script. All it does is rebind keys when the active window is powerwash.exe. #Requires AutoHotkey v2.0 #SingleInstance ;This ensures that the remapping only happens in PW2 #HotIf WinActive('ahk_exe PowerWash Simulator 2.exe') /* IMPORTANT: The syntax is: ChangeMe::LeaveMeAlone - so you change the left key and leave the other alone. I have not done any presets, instead, if using this as is, you'd have the normal keybind. So for example: If you want to press k to move left, you'd have "k::a" as the keybind for "Left". If you want to have a key act like scrolling the mouse wheel down, you'd have "b::WheelDown" (assuming you want to bind it to "b"). For a list of available keybinds and their names, see: https://www.autohotkey.com/docs/v2/KeyList.htm Note: If you change a keybind, the original key still does the same, unless you also use it for a new keybind. So, changing "a::a" to "j::a" would make both j and a move left, unless you use a somewhere else. Limitations: This cannot change the displayed keys ingame. You have to remember your keybindings. This does not do is offer a rebind for looking around by moving the mouse because that's not a keybind. */ /*Mouse bindings*/ ; Left click LButton::LButton ; Right click RButton::RButton ; Wheel click Mbutton::MButton ; Scroll Wheel down (towards you) WheelDown::WheelDown ; Scroll Wheel up (away from you) WheelUp::WheelUp /*Movement*/ ; Up w::w ; Left a::a ; Down s::s ; Right d::d ; Sprint LShift::LShift ; Toggle Stance LCtrl::LCtrl ; Jump Space::Space /*Washer*/ ; Washers 1::1 ; Nozzles 2::2 ; Extensions 3::3 ; Rotate Nozzle/Refill Soap r::r ; Toggle free aim mode c::c /*Menus/Misc*/ ; Open/Close game menu Esc::Esc ; Open task list Tab::Tab ; Dirt Highlight q::q ; Interact e::e To run this, download and install Auto Hotkey 2 (official download: https://www.autohotkey.com/download/ahk-v2.exe). AHK is at its base a text replacement program, but it is capable of A LOT - changing keybinds is only a weak example. This method is usable for pretty much all games with small adjustments, but this specific script has all the keys used by PW2. Copy this and paste it into a text editor. Save with the ending ".ahk" and double click the file to start the script. You'll have a small green H in your notification area, because it runs in the background immediately. To edit, just open the file in a text editor. If the script is running, you have to reload it by either starting it via the file again or by right-clicking the taskbar symbol and selecting "Reload script". Instructions for changing the keybindings are in the script itself, but basically: Change the thing on the left of "::" to what you want to press and PW2 believes you've pressed the key the devs assigned. For a list of available keybinds and their names, see: https://www.autohotkey.com/docs/v2/KeyList.htm This does not change the displayed keys ingame (duh) nor replace the mouse movements for looking around. Hope this helps!
2026-02-20 04:00:17 发布在
冲就完事模拟器2
说点好听的...
收藏
0
0
