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
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 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
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
  #8  
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
  #9  
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
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
  #10  
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
  #11  
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
Reply



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 09:02 PM.


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