FAQ  •  Register  •  Login

Custom XML menu: weird button set load behavior

Moderator: MiRai

<<

Finney

Posts: 81

Joined: Fri Jul 05, 2013 8:49 am

Post Mon Jun 23, 2014 11:18 pm

Custom XML menu: weird button set load behavior

I'm trying to use a Firescue17's http://isboxer.com/forum/viewtopic.php?f=21&t=3399 virtual menu system, but because I want to use the numpad for keys, I can't use a click bar (the numpad of course isn't a simple grid--it has a few tall and wide keys). So I'm using a menu instead, and to make the menu lay out correctly, I've put together a custom xml in the shape of the numpad.

The problem comes in when I try to update the keys to display their new function. For some reason, when I load a new button set (or try to alter an individual key), I can only alter the 1-9 keys on the menu. It's weird because those aren't the first keys declared in the xml, or the last, or even contiguous in the middle.

Screenshots below show what happens. Privatepaste said my profile was too large to save, so I zipped up the files and attached them here. In the attached file, I'm trying to load the Combat1 button set to the "Numpad Menu" menu.

default xml.png
default xml menu before button load
default xml.png (21.79 KiB) Viewed 8422 times


only 9 of 17 in the button set load.png
only 9 of 17 in the button set load
only 9 of 17 in the button set load.png (23.21 KiB) Viewed 8422 times


As usual, any help is appreciated!
Attachments
numpad_problemprofile.zip
(94.23 KiB) Downloaded 632 times
<<

firescue17

User avatar

League of Extraordinary Multiboxers

Posts: 584

Joined: Wed Sep 19, 2012 7:37 am

Location: Omaha, NE

Post Mon Jun 23, 2014 11:27 pm

Re: Custom XML menu: weird button set load behavior

I believe the error is due to the naming of your buttons in numpad.xml

My understanding is Button name='btn1' through Button name='btn<x>' are a required format to be recognized. btnnumlock, btnslash, btnstar, etc are not valid button names.

I believe you should be using "btn1" through "btn15."
<<

Finney

Posts: 81

Joined: Fri Jul 05, 2013 8:49 am

Post Tue Jun 24, 2014 7:18 am

Re: Custom XML menu: weird button set load behavior

Yep, that did it. Thanks for the quick reply!

Return to Menus

Who is online

Users browsing this forum: No registered users and 3 guests