Deleted3507349User Posted November 13, 2014 Share Posted November 13, 2014 I know essentially nothing about XML, I can barely make heads or tails out of it. My mod, XBOX Controller Support, is close...so close!...to being what I would consider nearly perfect. All I need is to sort out a few issues that I suspect can only be done through the menu xml files. I've been trying to avoid modifying the xml files in hopes of reducing compatibility issues, but I think it's just going to necessary. Here's the problems, in order of priority: 1) That triple-danged Persuasion menu. I can ClickMenuButton the four buttons on the bottom no problem (Bribe, Rotate, Start, Done). The trouble is with the actual wheel itself. Turns out it's not a button or buttons at all, the selector window is apparently linked to the mouse and (I assume) the game itself detects mouse clicks according to where on the graphic it's clicked. If that can somehow be modified into four buttons (Admire, Joke, Coerce, Boast) then it should be a simple matter to script a keypress to it. 2) Lockpicking; here's the code I have for it: begin MenuMode 1014 ;Lockpicking menu EnableKey 256 ;left mouse button EnableControl 5 ;ACTIVATE If iMenuActivated != 1 MoveMouseX -1 ;this is needed to 'focus' the menu to make it responsive to keypresses Set iMenuActivated To 1 Return EndIf If OnKeyDown 33 ;F key/controller X ClickMenuButton "lockpick_background\lockpick_auto_attempt" 1014 EndIf If OnKeyDown 39 ;SEMICOLON key/controller B ClickMenuButton "lockpick_background\lockpick_exit" 1014 EndIf end MenuMode 1014 The trouble is, it appears that the buttons themselves are on the wrong layer, so they still don't respond to ClickMenuButton. All I get is that *tink* sound from the tumblers. If I actually mouseover the buttons, then they respond, but they respond incorrectly. Seems the solution is to somehow raise the buttons to a more accessible layer? 3) The XBox icons for the buttons. Looking at the game manual, it obviously shows what buttons to press to do what. Now, there ARE XBox-related xml files in the Oblivion - misc.bsa. There don't appear to be any corresponding textures in Oblivion - textures.bsa, however. That's not such a big deal, I should be able to make them. The issue is how to get them to show up if I do? Obviously the xbox xml file needs to be activated or something, but I've no idea how to go about it. So, in a nutshell; if someone with xml knowledge would be willing to help me with this or perhaps collaborate on the solution, I would be most thankful. Honestly, and I don't mean to brag, I think this mod is the best solution yet for controller support in Oblivion. My sister, who's been my alpha/beta tester and who's never played Oblivion on anything BUT the XBox, even forgets she's playing on a PC. I just want this to be the best it can possibly be, and I'm hitting the limits of my knowledge. Thanks for reading this. Link to comment Share on other sites More sharing options...
Recommended Posts