Fallout 4

Updated the script on 8/18/2023 to fix issues with adding activation items to the hotkeys.

Important:
When creating a hot key, be sure to clear any weapon selection on the player prior to clicking the item/weapon you wish to activate .  For some reason, the fix I implemented will pick up the equipped weapon rather than the item/weapon clicked for activation.  With no weapon selected, the mapping looks to work as intended.

This seems to be a new issue that arose with the fix for the weapon issue described below. At the moment, I do not have a fix for this.  It seems to work fine with the caveat described above. 

Also, for reasons unknown, the first assignment sometimes doesn't set correctly, nothing is set, or the enchantment is set vs the weapon.  Repeating the assignment usually sets the weapon correctly.  At least this is the behavior I usually see and I run this fix in all my games.



The bug I and others have encountered.....

Seems that Fallout 4 HotKeys has a bug that maps a weapon's enchantment (if one exists) vs the actual weapon.  When you add a hotkey for the weapon then activate the hotkey you get a message that you do not have that enchantment.  I looked at  the controlling script and believe the author had the right idea but the game code returns the enchantment form id not the weapon form id.

I had to add a flag to check when a weapon is selected, then pull the correct weapon form id.   This is an experiment but thus far it seems to have addressed the issue without creating new issues.   In my games, the hotkeys seem to be working correctly now. 

To install the update (in optional files here), simply extract the zip file and copy the scripts folder to the mod folder in your mod manager.

Example:

I use Mod Organizer 2 ( Mo2) so open  the folder for FO4 Hotkeys i.e. C:\ModOrganizer\Fallout 4\mods\FO4 Hotkeys - Option 1 - Full - v1.2 and drop in the scripts folder from the zip

FO4Hotkeys - Main.ba2
FO4Hotkeys.esp
FO4Hotkeys.ini
Hotkeys - Original.ini
Hotkeys.ini
meta.ini

SCRIPTS        add this folder from the archive, it has a corrected script that should override the script contained in the .ba2

alternately you can just extract the ba2 and replace the original script with my update script.

Article information

Added on

Edited on

Written by

rlbaxter

0 comments