Sorry about jumping in Laffs! You said you weren't going to work on it until later Saturday so I thought I would be safe posting it Friday night.
I tried sending you a tell earlier Auroz but you were afk. Just checking on one thing-- I started from this player window:
http://www.eq2interface.com/download...fo.php?id=4308
by nluerdarea and the health numbers don't change color but it's simple to make them change color if you want to. You can resize the window vertically if you want to hide your name.
Here's a picture of the layout from the UIBuilder:
(I use Notepad++ to edit the xml files directly though. I can't stand the mess the UIBuilder makes.)
Anyway, the layout was pretty simple, only a couple hours work, but debugging the click-to-cure script took another few hours. The buttons just do a simple "useability Cure Trauma" etc. and not any fancy higher level spells like Mail of Souls/Spirits but those are easy to put in if you want (Fetish uses those.)
The complications in the scripting is that when you click on the player window it toggles between you and your pet, the same way F1 toggles. A long time ago we used to press F1 to target ourself and Shift-F1 to target our pet and they didn't toggle. To switch back to this old mode you use the command /target_allow_pet_self_toggle 0. So to properly cure yourself the order goes:
- On the cures page
OnHoverIn="target_allow_pet_self_toggle=0 target_allow_pet_self_toggle=0"
to disable toggling. (The script has to has to be in this form since OnHoverIn="target_allow_pet_self_toggle 0" doesn't work. I'm not sure why though.)
- The button has the commands
OnPress="useability Cure Trauma
target_previous"
target_previous switches your target back to whatever it was before.
- Then the cures page has
OnHoverOut="target_allow_pet_self_toggle=1 target_allow_pet_self_toggle=1"
to put you back into toggling mode.
It seems to all work now, as far as I can tell.
Othesus - Dirge - Lucan DLere
Vaspar - Fury - Lucan DLere