28-05-2006, 11:05 PM
|
#1
|
|
WorldofWar.Net Member
Join Date: Feb 2006
Location: Montreal, Canada
Posts: 7
|
API requests for Blizzard
This letter is intented for Blizzard, but I cant log in to their damn forums, and perhaps some of you could help me out too!
Dear Blizzard,
I’m developing an add-on called Soundtrack that lets users customize the in-game music. They can manage a library of music tracks and assign these to various events such as zones, fighting various mobs based on difficulty, flying, riding mounts, dancing, etc.
However, there are a lot of limitations or missing functionality in the API that force me to make my add-on more complicated for the users, or make it impossible to implement certain features.
Here’s my wish list of features/improvement to the API. If add-on developers think one of these features is already possible, please tell me!- Ability to scan for available music files in add-on folder: Because this functionality is missing, I had to write an external python application which will generate a .lua file that contains the list of mp3 tracks the user has in his add-on folder. I wish this wasn’t necessary, and that my add-on could retrieve this list of files directly from the WoW API to avoid having my users rely on an external application.
- Event to tell me when a music track is finished: I also use my python script to retrieve each mp3’s length, because that is the only way I can know when to start playing the next music track.
- Ability to override musical moments: When I use the PlayMusic() method, it will override the currently playing music in WoW, but not for musical moments such as the intro to Ironforge. These tracks seem to be played like sound effects, and so are not stoppable. That means users who assign custom tracks to a zone end up listening to two music tracks at the same time. The workaround I did was to provide a bunch of empty mp3 files which overrides each of these intro music in the sound.mpq file (e.g. “Sound/Music/CityMusic/Ironforge/Ironforge intro.mp3”.). PlayMusic() should stop any musical moment that is playing.
- Ability to detect bosses: I want to be able to let users assign music for bosses. However, it’s impossible to detect bosses because UnitClassification() only returns “elite” for bosses such as “Herod” or “High Inquisitor Fairbanks”. UnitClassification() should return “boss”, “rare” or “rare boss” correctly.
|
|
|