(I've not been able to find an official AFX thread on these forums so I'll post this here and hope others notice it)
I've been mucking about with AFX for a couple of months now and have noticed quite a few PlaySoundFile paths missing from AFX (e.g. most of the BloodElves and Draenei samples). After a quick dig around online I found several extensive lists detailing more PlaySoundFile sample paths. After a bit of mucking about (merging, sorting, stripping duplicates, and comparing with AFX's soundlib.lua) I've managed to wittle down the lists to 1932 extra in-game samples.
These can be added in to AFX relatively easily without adversely effecting AFX's ability to share sample plays with other AFX user. Read on for details.
How to add extra sounds into AFX (the easy way)
Download soundlib.zip (attached below)
Rename the soundlib.lua in Interface\Addons\AFX to soundlib.lua.old
Extract the soundlib.lua from soundlib.zip and place into Interface\Addons\AFX
How to add extra sounds into AFX (the hard way)
It is important that make the following changes as detailed. If you place the extra samples in the wrong part of soundlibs.lua you'll end up with your AFX samples playing different sounds to everyone elses for all sample indexes (which is kind of a bad thing).
Download afxextra.zip (attached below)
Extract afxextra.zip so you now have afxextra.txt to hand.
Open afxextra.txt into text editor (e.g. NotePad)
Select all and copy to clipboard.
Open Interface\Addons\AFX\soundlib.lua into another text editor window and scroll down to the bottom which will read as:
When sharing samples across a group of raid (with /afx sendgroup on and /afx playgroup on) /afxp 1 to 9946 will behave normally, irrespective of whether the above changes have been made to the sending and recipient AFX soundlib.lua.
However, the additional 1932 samples will only be audible on recipient versions of AFX that have the same soundlib.lua changes. In testing, unaltered soundlib.lua recipients simply do not hear /afxp 9947 and above. No other issues were noted.
I don't think theres been a major update of AFX for a month or so. The title of this thread "AFX 0.7 - additional sounds" might be a bit misleading in that respect so I'll change it slightly to avoid confusion. :)
AFX lets you play any of WoW's built in samples that are listed in AFX's soundlib.lua. To find a sample you type /afxs <keyword>. To play it you type /afxp <num> (each sample has a corresponding number so you don't have to type out long sample pathnames). Example:
; shows a list of all samples containing anub in the pathname
; plays sample 2886 which without AFX would be played with
Sharing AFXplays so other players hear them
You can also optionally choose to allow other players to hear your /afxp sample plays. Here's how I understand it:
- They must be in the same group / raid as you.
- They must be within inspect range.
- Every participant should set /afx sendgroup on to toggle on sharing of your /afxp sounds to others.
- Every participant should set /afx playgroup on to toggle on playing of other players shared /afxp sounds.
- I'd recommend you also set /afx verbose on as this will tell you who's playing what index.
- Group leaders with AFX can disable afx sharing with /afx quiet on so if you can't share it maybe that the leader needs to /afx quiet off