Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 06-05-2015, 03:30 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

On my lunchbreak, I figured out the cooldown options, which clarified the unknown field before the x,y,z coords and the odd behavior of the fields between Range and xmiIndex.

Here's the updated field list for .emt files:

Code:
;?,SoundFile (wav=sound, mp3/xmi=music for volume sliders),Unknown (0=OK 1=OK),WhenActive (0=always 1=day 2=night),Volume (1.0 = 100%),FadeInMS,FadeOutMS,LoopType (0 = Constant, 1 = Delayed Repeat),X,Y,Z,WavFullVolRadius,WavMaxAudibleDist,1 = RandomizeLocation,Range,MinRepeatDelay,MaxRepeatDelay,xmiIndex,Echo (50 = Max),IsEnvSound (for option toggle)
LoopType affects sounds (.wav files) only, separating constant sound effects (campfire, waterfall) from delayed repeating sound effects (bats screeching, water dripping, rocks rumbling). Music (.mp3 and .xmi) is unaffected. It always loops immediately after finishing.

If LoopType=0, both MinRepeatDelay and MaxRepeatDelay need to be 0, or the client doesn't know what to do with the conflicting information.

If LoopType>0, the client will wait a random amount of time between MinRepeatDelay and MaxRepeatDelay milliseconds before repeating the sound effect. If both are the same, it'll be a constant cooldown between each activation.

Note also that the delays must include the actual playtime of the music/sound. If you play a 5-second sound effect that should pause for 25 seconds after playing before it activates again, you'd set the Min/Max delay fields to 30000. 5 seconds to play, 25 second wait, 5 seconds to play again, etc.

Last edited by Shendare; 06-05-2015 at 03:31 PM.. Reason: omitted xmi from SoundFile field description
Reply With Quote
 

Tags
everquestmusic


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:43 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3