EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Help!?!?!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-21-2005, 05:21 PM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default XP Bar switching

Ok, I am trying to modify my Advanced Player window that has both Adv and TS XP bars included on it.

What I am wanting to do is, only show ONE bar at a time.

I have the adv bar part working just fine, but when I right clickon the bar to switch to TS bar, I do not get the option for TS. No matter what I do.

I even took the experience bar, copied everything in it and added it as a page on my player window thinking I lost a setting. This experience bar works when NOT included on the player window. It works solo. When added on the player window, I start to lose the functionality of the switchable bars.

Any HELP please!!!!!

I even tried to switch the bars via buttons, but still I can not get the TS bar to showm and the Adv bar to hide.
Reply With Quote
  #2  
Unread 03-21-2005, 06:38 PM
insomniac's Avatar
insomniac insomniac is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Blackburrow
Posts: 555
Default

the right click switch is a hardcoded soe thing.
a button switch is easy.
something like
onpress="Parent.AdventureXP.Visible=true Parent.TradeskillXP.Visible=false" maybe more or less parents, depending on where you put it.. and you want the buttons to switch too.. so that be another visible=true/false in the same onpress
__________________
Shizlak Xml - Templar/Provisioner
Blackburrow
Join Chat! irc: #EQ2Interface (dalnet) Ingame: /join eq.serverwide.eq2ui



Last edited by insomniac : 03-21-2005 at 06:44 PM.
Reply With Quote
  #3  
Unread 03-21-2005, 07:00 PM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default

Quote:
Originally Posted by insomniac
the right click switch is a hardcoded soe thing.
a button switch is easy.
something like
onpress="Parent.AdventureXP.Visible=true Parent.TradeskillXP.Visible=false" maybe more or less parents, depending on where you put it.. and you want the buttons to switch too.. so that be another visible=true/false in the same onpress

I tried the onpress with and without buttons BOTH did not work.
Reply With Quote
  #4  
Unread 03-21-2005, 07:03 PM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Attach your XML. I can dump a simple button in for you that you can tweak and stuff to your liking. I'll try and keep it straight-forward so you can see what I did and learn from it.

Quib
Reply With Quote
  #5  
Unread 03-21-2005, 08:54 PM
depechenode's Avatar
depechenode depechenode is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Toxxulia
Posts: 584
Default My XML W.I.P.

Thanks Quib,

I am pretty good with buttons usually, just this one has me baffled. Matter of fact I was able to get buttons to work in both my inventory mod and my target mod. And you helped me with the Inventory one I believe.


I want the single bar to work just like it does on the default Experience window. Preferably without the use of a button. Right clicking to switch like the SOE version experience window. BUT, since the right click switch thingy is Hardcoded, I really want a "hidden" button to allow the switching. I wanted the button to be "over" the xp bar so it could act like SOE right click select, but instead my button would be a single left click and switch back and forth. I used Humudce's XP window for the xp stuff I like and placed into the player window so you know where I got my stuff.

btw, my xml has the corrected code for the experience window as mentioned by Humudce to reflect the 21 Mar 05 changes. ALSO, Quib, the buttons I tried are not in this xml. You will get my xml as I want it to look prior to addiditon of the "buttons". I left my attempts out to lessen the code and confusion.

If any other DL this xml, bewarned...it is a WIP and I will release the switchable XP version as soon as I can get it to work with Quib's help.
Also, since it a WIP, not all images, etc. are included that I used. So if any try to use this WIP it will probably be "broken".

Thanks
-dn
Attached Files
File Type: xml eq2ui_mainhud_player.xml (32.1 KB, 394 views)

Last edited by depechenode : 03-21-2005 at 09:00 PM.
Reply With Quote
  #6  
Unread 03-23-2005, 01:29 PM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Ok, no promises that you can even find the invisible button I added (I'm not really sure where it wound up, you'll probably want to move and size it yourself), but it should do what you're asking for. Left-click once to switch between Adventure and Tradeskill Experience bars. There's unfortunately no way to do it with right click.

I haven't had the time to test this but am confident that it's modified properly. If you can't figure out what I did, or it doesn't work, yell at me and I'll do proper testing and get it functioning.

Quib
Attached Files
File Type: xml eq2ui_mainhud_player.xml (32.3 KB, 608 views)
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 11:34 AM.


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