eain Posted September 3, 2009 Share Posted September 3, 2009 I'm trying to find some way to add some key bindings to the game, so I could go directly to the Pip-Boy's Local Map, Weapons, Aid, etc, but so far, the only thing included with the game is pressing the main Pip-Boy key and then navigating with the mouse. I've been looking all over for an existing mod that does this, but haven't found one yet (I haven't looked through all of the mods out there, I'm sure, but I've looked through a darn lot of them), and I'm at the point where I'm ready to just mod it myself. However, I can't even find info on where to mod the UI for this kind of thing, either. I can't tell if I'm just looking in the wrong places (Looked through here, the Bethesda forums, the GECK Wiki), or if it's really not that obvious, or if I'm just using the wrong search terms, or what. Summed up, what I'd like to be able to do is be able to assign hotkeys to the various Pip-Boy screens. Any thoughts? Link to comment Share on other sites More sharing options...
HugePinball Posted September 3, 2009 Share Posted September 3, 2009 I'm not sure if this is documented anywhere, but F1, F2, and F3 will open the PipBoy directly to STATS, ITEMS, and DATA respectively. To do more than that would require some scripting with FOSE. I'm not aware of an existing mod that does the things you're looking for, but I haven't searched for one specifically. Currently, I'm not aware of a way to change the screen within each of the PipBoy menus from script - that is, going specifically to Local Map, World Map, Quests, etc., in the DATA menu. By checking UI values with GetUIFloat, you can determine which of these screens is currently displayed, but I haven't yet found a way to go the other way - that doesn't mean it can't be done of course. ;) Here is one method for creating a hotkey in script that works well. Once you can figure out a way to do the actions you want from script, you should be able to use this structure to assign it to any desired key (with a little more code, can do key combos too, like SHIFT+KEY). There may be a way to do this through the UI xml code, as you can create new "buttons" in the UI which can have hotkeys assigned (I believe these must be pre-defined keys though). I've never been able to fully follow the xml code for these though - maybe DarN could provide some insight as to whether this is even possible. Link to comment Share on other sites More sharing options...
eain Posted September 3, 2009 Author Share Posted September 3, 2009 Thank you very much! Fx and the arrow keys may serve me for now. If not, I'll start looking through the rest of the code. :) Link to comment Share on other sites More sharing options...
Recommended Posts