Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > General authoring help / discussion
User Name
Password

Reply
 
Thread Tools Display Modes
Old 04-10-2003, 10:11 AM   #1
Inertia
A Ghoul
 
Join Date: Aug 2002
Posts: 13
Question Hotkey Window and Graphics

Is it possible to place a graphic in the Hotkey Window?

I have a graphic I have loaded into a custom tga file that has the correct references in the animations.xml file, but nothing shows in the space I made for the graphic.

HotButtonWnd.XML Code:
*******************************
<StaticAnimation item = "HB_BHPic">
<ScreenID>HB_BHPic</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>218</X>
<Y>180</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
<Animation>HB_BHPic</Animation>
</StaticAnimation>

<Screen item="HotButtonWnd">
***Blah Blah Blah***
<Pieces>HB_BHPic</Pieces>
***Blah Blah Blah***
</Screen>

Animations.xml Code:
*******************************
<Ui2DAnimation item = "HB_BHPic">
<Frames>
<Texture>resist.tga</Texture>
<Location>
<X>35</X>
<Y>70</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
</Frames>
</Ui2DAnimation>

Also I was wondering IF its possible to put this graphic in the Hotkey Window, is it then possible to make it active for a certain function. So when I click it, it does something, like "/say Hello" Its fine if what I want it to do has to be hard-coded and not changeable in game.

Thanks in advance
__________________
Bleed Well,
Inertia Dampers
Mage of the 61st Circle of Knowledge
Warmistress of the Bloodhorde guild of Terris-Thule
You will know us by the Trail of the DEAD...
Inertia is offline   Reply With Quote
Old 04-30-2003, 02:32 PM   #2
Xymarra
Manaetic Prototype IX
 
Join Date: Sep 2002
Server: E'Ci
Posts: 501
Interface Author - Click to view interfaces
Default

I am not going to run off and test this, but I am pretty sure you should give the StaticAnimation and the Ui2DAnimation different names, like HB_BHPic and A_BHPic.

Also, to get the effect you wish, I think you probably want to use the animation for the button, rather than as a static animation.

Code:
<Button item = "HB_Button5"> <ScreenID>HB_Button5</ScreenID> <Location> ** </Location> <Size> <CX>40</CX> <CY>40</CY> </Size> <ButtonDrawTemplate> <Normal>A_BHPic</Normal> </ButtonDrawTemplate> </Button>


Of course, this will make button 5 have that same image on every panel, but that is going to happen however you do this.

You could also use your image as a decal on the desired button if you wanted to keep the button press animation.
Xymarra is offline   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


All times are GMT -5. The time now is 01:55 PM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI