EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-04-2006, 08:50 PM
Ehxo Ehxo is offline
A Young Mystail Rat
 
Join Date: Sep 2006
Server: Antonia Bayle
Posts: 7
Question How do you hide the Alt/Ctrl prefix on the hotbar shortcut keys?

I did several searches on this forum before posting and couldn't find a straight answer, so sorry if it's already been said before...

I want to modify my interface so that the hotbar doesn't prefix the key shortcuts of the secondary and tertiary bars with Alt/Ctrl, but just show the index key of the slot instead (1,2,3,4...=), or mayby even just put the first letter of the control key in caps only (A1,A2...C1,C2)... anything so it takes less space.

I found a lot by playing with the XML and comparing it with the [DrumsUI] Hotbar mod, but couldn't find the differences that would show me how to do it.

Any help?

So far I've only been playing with fonts (to do an overall replace of all interface fonts with verdana, Verdana Bold and Mirianda GD) using XMLPad to edit the files... I'm just starting with UI mods...
Reply With Quote
  #2  
Unread 10-04-2006, 11:29 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

I'm going to take a guess and say its hardcoded. I might be wrong, but thats my guess.
Reply With Quote
  #3  
Unread 10-05-2006, 01:47 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

You can likely mod the hotbar window to make the text right aligned and make the text window so small the Ctrl+ or Alt+ part is hidden (I say likely because the UI refuses to right-align some text data, so go and test it ).
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #4  
Unread 10-05-2006, 02:02 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Send a message via ICQ to Landiin Send a message via AIM to Landiin Send a message via MSN to Landiin Send a message via Yahoo to Landiin
Default

I think the Text Object in that window is hard coded to resize just from looking at it. Havn't tested it but in its default state the size is to small to even display 2 char.

It's worth a shot trying though.

If that don't work you might try some OnShow scripts to make string comparisons and show your own text Object when the compare is true;
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #5  
Unread 10-05-2006, 03:10 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Auto-resizing will be a problem, unless you can reset the size via some OnShow, OnLoad, etc. events.

The easy way is actually to just hardcode the text 1, 2, 3 on all hotbars. (the only problem being that it will not only show on the 1st to 3rd bar, but also on bars that are not controllably via hotkeys)
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #6  
Unread 10-05-2006, 05:26 PM
Ehxo Ehxo is offline
A Young Mystail Rat
 
Join Date: Sep 2006
Server: Antonia Bayle
Posts: 7
Default

Thanks for the replies... but I'm not that good at scripting UI's yet, so I guess I'll just do that when I'm better at it or endure the shortcut keys for now.

Cheers!
Reply With Quote
  #7  
Unread 10-05-2006, 08:21 PM
Hinton's Avatar
Hinton Hinton is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Apr 2006
Server: Befallen
Posts: 42
Default

My UI's Hot Bar has this feature where you can hide just the Alt / Ctrl / #s, the Page Changers, etc... Use the Frame or None feature in the Window Settings. You can download my UI and just grab out the 'hotbar' XML file and you'll be fine. It fully supports the ability to change icon sizes and also has no dead space.

UI Compilations, Hinton's UI Compilation.
Reply With Quote
  #8  
Unread 11-07-2006, 08:00 PM
mortis42's Avatar
mortis42 mortis42 is offline
A Mist Grinnin
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Antonia Bayle
Posts: 76
Send a message via ICQ to mortis42 Send a message via AIM to mortis42 Send a message via MSN to mortis42 Send a message via Yahoo to mortis42
Default

It looks like in [DrumsUI] Hotbar all that was done to show only the number was to move the text to the left (ie -21,xx) so that the ALT and CTRL would just be out of visible area.
__________________
Thist
Reply With Quote
  #9  
Unread 11-07-2006, 08:30 PM
Ehxo Ehxo is offline
A Young Mystail Rat
 
Join Date: Sep 2006
Server: Antonia Bayle
Posts: 7
Default

Quote:
Originally Posted by mortis42
It looks like in [DrumsUI] Hotbar all that was done to show only the number was to move the text to the left (ie -21,xx) so that the ALT and CTRL would just be out of visible area.
Sneaky! Thanks
Reply With Quote
  #10  
Unread 11-08-2006, 12:43 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Send a message via ICQ to Landiin Send a message via AIM to Landiin Send a message via MSN to Landiin Send a message via Yahoo to Landiin
Default

After LU29 or EoF goes live witch ever comes first, the onhide onshow trick isn't going to work any longer. All icons and Text are hard coded into the new iconbank object. Well you can tell it what style of font and icon to use but that's not going to help hide or show it.

Matter of fact all current hotbars will be broke untill the author update them, so be ready.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #11  
Unread 11-08-2006, 04:01 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by Landiin
Well you can tell it what style of font and icon to use but that's not going to help hide or show it.
You can hide or show it by switching between a font that is not there and a correct font definition. However, that will also disable the remaining charges display that I heard is available now.

Disclaimer: The above was method was working when the IconBank first came to Test, haven't looked at that since and have still not been on Beta (although I do have my invite now).
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #12  
Unread 11-08-2006, 11:32 AM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Yeah, but isn't the entire Prefix + # one bit in the iconbank? So by making it a font that doesn't exist, the numbers will also be gone (in addition to the charges like gm9 said).
Reply With Quote
  #13  
Unread 11-08-2006, 12:30 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Yes, the numbers will be hidden. But you should be able to manually overlay the numbers without a problem. Sorry, should have added that part of the idea.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 11-08-2006 at 12:32 PM.
Reply With Quote
  #14  
Unread 11-09-2006, 08:48 AM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Quote:
Originally Posted by gm9
Yes, the numbers will be hidden. But you should be able to manually overlay the numbers without a problem. Sorry, should have added that part of the idea.
Aye, hehe. I thought you meant going with out them entirely. And yeah, it should be relatively easy to overlay numbers manually.... They would have to be in the same page as the icon bank though, wouldn't they? Otherwise I think when you shrink the icons the numbers would stay in the same spot.
Reply With Quote
  #15  
Unread 11-09-2006, 08:56 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

That is true, you would have to do some OnShow code to apply the IconSize parameter to the VolumePage CellSize you use for the numbers.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #16  
Unread 11-09-2006, 12:57 PM
mother9987's Avatar
mother9987 mother9987 is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Everfrost
Posts: 204
Default

Just a thought, but could you make a new font that has only numbers? then charges should still display also.
__________________
'Tetht the printhiple, tetht the printhiple,' muttered Igor. 'Thorry, thur, but Igorth do not "tetht the printhiple". Thtrap it to the bench and put a good thick bolt of lightning through it, thatth our motto. Thatth how you tetht thomething.'
Reply With Quote
  #17  
Unread 11-09-2006, 01:45 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Send a message via ICQ to Landiin Send a message via AIM to Landiin Send a message via MSN to Landiin Send a message via Yahoo to Landiin
Default

Quote:
Originally Posted by mother9987
Just a thought, but could you make a new font that has only numbers? then charges should still display also.
Not really because the 1, 2, 3 .. etc would still show from the alt1 alt2..

Adding a volume page is gonna be a pain, but doable. I say a pain because when the end user changes the size of the iconcell the volume cell isn't going to change with it. You will have to add some code the the sliders OnChange event or some sort of OnHoverIn code on the hotkey page.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #18  
Unread 11-09-2006, 02:26 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

[quote=Landiin]Not really because the 1, 2, 3 .. etc would still show from the alt1 alt2..[quote]

No, I think thats what they want. IE, if its ALT+1 then having only 1 will cause it to display as just "1" correct?

Quote:
Originally Posted by Landiin
Adding a volume page is gonna be a pain, but doable. I say a pain because when the end user changes the size of the iconcell the volume cell isn't going to change with it. You will have to add some code the the sliders OnChange event or some sort of OnHoverIn code on the hotkey page.
Yeah, thats what I meant. OnShow in the window wouldn't work for when you change the slider, so addign a new volume page would have to use a different call.
Reply With Quote
  #19  
Unread 11-10-2006, 02:28 PM
mother9987's Avatar
mother9987 mother9987 is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Everfrost
Posts: 204
Default

Quote:
Originally Posted by Landiin
Not really because the 1, 2, 3 .. etc would still show from the alt1 alt2..
Isn't that exactly that the OP requested? Sorry if I misunderstood.
__________________
'Tetht the printhiple, tetht the printhiple,' muttered Igor. 'Thorry, thur, but Igorth do not "tetht the printhiple". Thtrap it to the bench and put a good thick bolt of lightning through it, thatth our motto. Thatth how you tetht thomething.'
Reply With Quote
  #20  
Unread 11-10-2006, 08:10 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Send a message via ICQ to Landiin Send a message via AIM to Landiin Send a message via MSN to Landiin Send a message via Yahoo to Landiin
Default

LOL it might of been:/ If that's the case yup that will work just fine. Sorry if I misunderstood, I have 100 projects going and the lines are blurring... lol
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:23 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI