Fallout: New Vegas PCR

Fallout: New Vegas PCR

Not enough ratings
How to rebind hotkeys without mods?
By Dreadful Snake
Are you annoyed because the button ' 2' is busy for changing type of ammunition? Do you want to have quick access to items in a row, from 1 to 7? Then this guide is for you.
   
Award
Favorite
Favorited
Unfavorite
Intro
Not everyone knows that the game have hotkeys. For binding hotkeys hold the keyboard button then select inventory item you want to map to hotkey. By default for hotkeys you can use only number keys: 1, 3-8
The key "2" is used by default to change the type of ammunition and can not be used for quick access to items, even after reassigning the change of ammunition to another key in menu options. And it's very annoying.
How to rebind hotkeys on keyboard without mods?

Remap hotkeys from the menu options is impossible, but it can be done by editing FalloutPrefs.ini file.
The file is located in My Documents\My Games\FalloutNV
NOTE: I strongly recommend to make a copy of the file before editing!
In FalloutPrefs.ini find the [Controls] paragraph.
All controls are listed in this block, and a binded key is specified after the "=" sign. We are have interest in these lines:
Hotkey1=0002FFFF
Ammo Swap=0003FF01
Hotkey3=0004FFFF
Hotkey4=0005FFFF
Hotkey5=0006FFFF
Hotkey6=0007FFFF
Hotkey7=0008FFFF
Hotkey8=0009FFFF
You may notice that the keyboard buttons are submitted as eight-digit codes. Google said me that it's DirectInput Keyboard Scan Codes
DirectInput Keyboard Scan Codes and examples
You can find these codes here[www.gamespp.com] or everywhere else by searching "DirectInput Keyboard Scan Codes"
But In FalloutPrefs.ini they are written a little differently
For example, the button "1" in the table is written as "0x02", but in our INI-file we will write it like 0002FFFF, i.e. "X" was changed to "0" (Zero) and was concated with "FFFF".

For Example:
Hotkey1=0002FFFF
Ammo Swap=002DFFFF
Hotkey3=0003FFFF
Hotkey4=0004FFFF
Hotkey5=0005FFFF
Hotkey6=0006FFFF
Hotkey7=0007FFFF
Hotkey8=0022FFFF
In the game it will: X button to change the type of ammo, 1-6 and G - hotkeys. This is convenient for me because I set the explosives to "G".

OR
Hotkey1=0002FFFF
Ammo Swap=002DFFFF
Hotkey3=0003FFFF
Hotkey4=0004FFFF
Hotkey5=0005FFFF
Hotkey6=0006FFFF
Hotkey7=0007FFFF
Hotkey8=0008FFFF
In the game it will: X button to change the type of ammo, 1-7 - hotkeys.

But using the codes table you can assign any buttons convenient for you .
3 Comments
XŦĦ§¥ Aug 4, 2019 @ 11:54am 
Done, posted a link at the end, for Refs.
I also updated links, corrected a few things and made it easier to read for english viewers :cozybethesda:
Dreadful Snake  [author] Aug 4, 2019 @ 10:06am 
You are welcome. Also you can copypast my guide to FO:NV community
https://steamcommunity.com/app/22380/guides/
XŦĦ§¥ Aug 3, 2019 @ 10:04am 
FO:NV and FO:NV RU are two different games, go fucking wonder why, so I can't rate, but i'll sure say this was helpful, I kept ramming my head against the wall messing around with .AHK.

Then ! Your guide made me realize I could just swap the hotkey's code... Derp ! :steammocking: