Change Log:
>
-- Confirmed working version. Hooray!
>
-- Bug fixed in print function.
-- Hmmm! Debug time!
-- Silly error because I'm rusty. Got the variables passed to SetScript mixed up.
-- This should see the line 5 ? bug fixed.
-- So basically, everything seems fine except for that.
-- Here's hoping!
-- I took apart the checksummer and tinkered with it, lots of fun!
-- Local tests with a Lua parser shows that it does return valid checksums.
-- Basically, I can get it to spit out something like "14992.mp3".
-- I also screwed up the events again last time, _CLOSED, blast it!
-- If I'm right, I've covered all my bases, this should be a working version.
-- If so, that experimental notice can be removed and we can start doing something with this!
-- I dropped the MD5 library all together, the mod is smaller now.
-- This has been replaced with a checksum algorithm I found on the net (eek!).
-- The mod is now less ambiguous with errors, and should report failed checksums.
-- Got no errors running this through a parser, but the checksummer is an unknown quantity.
-- Let me know your results if this works, as I must ensure it's not providing impossible filenames.
-- Attempt to fix an interesting bug.
-- Slightly more robust code.
-- Whee, firing in the dark here, but here's hoping!
-- Thanks to OttoDeFe for helping me to squash boogs.
-- Rusty, been a while. I got one event wrong, it's GOSSIP_CLOSED, not GOSSIP_HIDE, damn it.
-- First highly experimental release, which didn't work at all.
Description:
I Hear NPC People
What is this?
Are you visually impaired, and because of that (or for some other reason) do you have trouble reading in-game gossip & quest dialogues? This mod concept is designed to help you. The idea is that when you're presented with text, it'll be read out to you from an audio file.
How do I use it?
For those who just want to put this to use, there's only one consideration: due to the nature of the way World of Warcraft plays files that can be halted at will, you'll need to keep your music enabled. If there's interest, I'll try and design a version that detects whether your music is enabled or not, and enable it only for the amount of time the file is playing.
Once the mod is in place, you'll need some sound files. The sound files will generally be a string of numbers with an mp3 extension, and these must be put in the 'Sound Files' folder that's inside the 'I Hear NPC People' folder. A download link for a compressed file containing all the files created thus far can be found below.
How can I contribute?
If you wish to contribute, you'll need only a decent microphone and the ability to speak clearly. Here's my recommended procedure for creating the required file.
1. Start your favourite audio recording software.
2. Task-switch into World of Warcraft.
3. Open up the dialogue you wish to record voice for.
4. Enter: /gossipid
5. This will give you a filename, keep this in mind.
6. Task-switch away to your audio recording software.
7. Start recording and switch back*.
8. As clearly as you can, read all the text within the dialogue.
9. Switch back to your audio recording software*.
10. Stop the recording.
11. Save the file with the filename /gossipid gave you.
12. Put the file in the 'Sound Files' folder.
13. Restart World of Warcraft.
14. Open the relevant dialogue again to see if it plays.
15. Once you're satisfied, upload to the rep... |
|