EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Request

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #12  
Unread 03-25-2007, 02:05 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

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:
  1. 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.)
  2. The button has the commands
    OnPress="useability Cure Trauma
    target_previous"
    target_previous switches your target back to whatever it was before.
  3. 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
Attached Files
File Type: zip Auroz_player_window.zip (2.2 KB, 497 views)
Reply With Quote
 



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 10:53 AM.


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