EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI User Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=26)
-   -   Adding Sound (https://www.eq2interface.com/forums/showthread.php?t=12856)

DjThaPimp 05-08-2009 02:56 PM

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.

EQAditu 05-08-2009 03:24 PM

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" />

DjThaPimp 05-08-2009 03:26 PM

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.

mother9987 05-10-2009 12:59 PM

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.

gm9 05-10-2009 01:48 PM

Quote:

Originally Posted by mother9987 (Post 83310)
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.


All times are GMT -5. The time now is 09:22 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI