|
|
Line 48: |
Line 48: |
| {{Game data| | | {{Game data| |
| {{Game data/config|Windows|}} | | {{Game data/config|Windows|}} |
− | }}
| |
− |
| |
− | ===Change keybindings===
| |
− | {{Fixbox|description=Change keybindings|ref=|fix=
| |
− | #Edit <code>{{p|game}}\pc.ini\</code>
| |
− |
| |
− | The key bindings cannot be changed ingame, only via the launcher, which might not work anymore.
| |
− |
| |
− | Here are some explanations for the lines and sections in the file:
| |
− | <pre>
| |
− | # shooting
| |
− | bind Mouse HA1_CLK VK_LBUTTON CLICK
| |
− | bind Mouse HA1_DWN VK_LBUTTON DOWN
| |
− | bind Mouse HA1_UP VK_LBUTTON UP
| |
− |
| |
− | # walking
| |
− | bind Keyboard WIN_UP_ARROW VK_ARROW_UP DOWN
| |
− | bind Keyboard WIN_DOWN_ARROW VK_ARROW_DOWN DOWN
| |
− | bind Keyboard WIN_RIGHT_ARROW VK_ARROW_RIGHT DOWN
| |
− | bind Keyboard WIN_LEFT_ARROW VK_ARROW_LEFT DOWN
| |
− |
| |
− | #bullet time (hold key) and jump
| |
− | bind Mouse HA3_CLK VK_MBUTTON CLICK
| |
− | bind Mouse HA3_DWN VK_MBUTTON DOWN
| |
− | bind Mouse HA3_UP VK_MBUTTON UP
| |
− |
| |
− | # auto aim an enemy
| |
− | bind Mouse HA5_CLK VK_RBUTTON CLICK
| |
− | bind Mouse HA5_DWN VK_RBUTTON DOWN
| |
− | bind Mouse HA5_UP VK_RBUTTON UP
| |
− |
| |
− | #crouch
| |
− | bind Keyboard HA7_CLK VK_RCONTROL CLICK
| |
− | bind Keyboard HA7_DWN VK_RCONTROL DOWN
| |
− | bind Keyboard HA7_UP VK_RCONTROL UP
| |
− |
| |
− | # next/prev weapon/item
| |
− | bind Keyboard HA9_CLK VK_PRIOR CLICK
| |
− |
| |
− | # next/prev weapon/item
| |
− | bind Keyboard HAA_CLK VK_NEXT CLICK
| |
− |
| |
− | # switch between weapons and items category
| |
− | bind Keyboard HAB_CLK VK_HOME CLICK
| |
− | bind Keyboard HAC_CLK VK_END CLICK
| |
− |
| |
− | #calling the dog
| |
− | bind Keyboard HA8_CLK VK_BACK CLICK
| |
− | bind Keyboard HA8_DWN VK_BACK DOWN
| |
− | bind Keyboard HA8_UP VK_BACK UP
| |
− | </pre>
| |
− |
| |
− | To change the key bind you have to adjust the "VK_" value to something different.
| |
− |
| |
− | E.g. to change walking from the arrow keys to WSAD change it like this:
| |
− |
| |
− | From:
| |
− | <pre>
| |
− | bind Keyboard WIN_UP_ARROW VK_ARROW_UP DOWN
| |
− | bind Keyboard WIN_DOWN_ARROW VK_ARROW_DOWN DOWN
| |
− | bind Keyboard WIN_RIGHT_ARROW VK_ARROW_RIGHT DOWN
| |
− | bind Keyboard WIN_LEFT_ARROW VK_ARROW_LEFT DOWN
| |
− | </pre>
| |
− | To:
| |
− | <pre>
| |
− | bind Keyboard WIN_UP_ARROW VK_W DOWN
| |
− | bind Keyboard WIN_DOWN_ARROW VK_S DOWN
| |
− | bind Keyboard WIN_RIGHT_ARROW VK_D DOWN
| |
− | bind Keyboard WIN_LEFT_ARROW VK_A DOWN
| |
− | </pre>
| |
− | You can also change something from mouse to keyboard or the other way around.
| |
− | To change bullet time and jumping from middle mouse button to space you can this:
| |
− |
| |
− | From:
| |
− | <pre>
| |
− | bind Mouse HA3_CLK VK_MBUTTON CLICK
| |
− | bind Mouse HA3_DWN VK_MBUTTON DOWN
| |
− | bind Mouse HA3_UP VK_MBUTTON UP
| |
− | </pre>
| |
− |
| |
− | To:
| |
− | <pre>
| |
− | bind Keyboard HA3_CLK VK_SPACE CLICK
| |
− | bind Keyboard HA3_DWN VK_SPACE DOWN
| |
− | bind Keyboard HA3_UP VK_SPACE UP
| |
− | </pre>
| |
| }} | | }} |
| | | |