EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > UI User Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-08-2009, 02:56 PM
DjThaPimp DjThaPimp is offline
A Dervish Cutthroat
 
Join Date: Mar 2005
Server: Mistmoore
Posts: 35
Default Adding Sound

Ive asked about this before and I tried to see if there was anything on this topic already but I wasnt able to find it, maybe I wasnt using the right search words. Anyway, my question is this, Is there any way to add sound to a window when it closes for whatever reason. I am mainly interested in this as I really came to like a pet window that had a sound component when the pet died. Basically I dont even need to have the option button to toggle this function off/on. Just wondering if there is a snippet of code that can be added to a window mod so that a sound is triggered when the window closes, for whatever reason. Thanks in advance if anyone is able to help me with this

It appears I have posted this in the wrong area pls delete and Ill post it elsewhere.

Last edited by DjThaPimp : 05-08-2009 at 02:58 PM. Reason: Posted in the wrong area, sorry.
Reply With Quote
  #2  
Unread 05-08-2009, 03:24 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

There is a collection of sounds available to the UI described in the UI Customization doc around page 12. Just use one of those values in the HideSound attribute of the UI mod's page.

Like: <Page Name="SomeUI" HideSound="skill_up" />
Reply With Quote
  #3  
Unread 05-08-2009, 03:26 PM
DjThaPimp DjThaPimp is offline
A Dervish Cutthroat
 
Join Date: Mar 2005
Server: Mistmoore
Posts: 35
Default Thanks

Thank you, Ill try it out, I dont know anything about modding though so its gonna be alot of trial and error but thanks for starting me in the right direction.
Reply With Quote
  #4  
Unread 05-10-2009, 12:59 PM
mother9987's Avatar
mother9987 mother9987 is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Everfrost
Posts: 204
Default

If you need functional examples to experiment on, my pet window and timer window both use sound.

I don't remember how much of a pain it was to get the list of available sounds - if they were listed somewhere, or if I had to do a search of the eq2 executable, but there's quite a number of them in the timer window mapped out.
__________________
'Tetht the printhiple, tetht the printhiple,' muttered Igor. 'Thorry, thur, but Igorth do not "tetht the printhiple". Thtrap it to the bench and put a good thick bolt of lightning through it, thatth our motto. Thatth how you tetht thomething.'
Reply With Quote
  #5  
Unread 05-10-2009, 01:48 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by mother9987 View Post
I don't remember how much of a pain it was to get the list of available sounds - if they were listed somewhere, or if I had to do a search of the eq2 executable, but there's quite a number of them in the timer window mapped out.
The most complete list I know is in the uibuilder word doc aditu mentioned, I'd wager that you got them from there.
__________________
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
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:23 AM.


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