Unofficial World of Warcraft Forums  
Please respect other members. Please do not post links or information about hacking/warez/cheats.
Read the rules of these forums as we rarely warn before banning. Lost or need RSS check the forum map.

Quick Site Nav
Navigation
Worldofwar.Net
WoW Forums
WoWDigger WoW Database
Articles
Community Blogs
WoW Info
Wrath of the Lich King Info
Primary Professions
Secondary Professions
Maps
Classes
PvP
A-Z Index
Guides
Submit Guides
List Guides
UI/Mods
Latest Mods
Submit Mod
List Macros
Submit Macro
Media Gallery
Gallery Home
Upload Pics
Community WoW Shots
Community BC Shots
Player Pics
Official WoW Shots
Official BC Shots


Donate and get extra forum perks
Support WoW:IncGamers

Go Back   Unofficial World of Warcraft Forums > WoW Community Forums > UI Customisation > UI/Mod Developer Forum

Reply
 
Thread Tools Display Modes
Old 28-05-2006, 11:05 PM   #1
Morricone
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!
  1. 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.
  2. 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.
  3. 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.
  4. 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.
Morricone is offline   Reply With Quote
Old 23-06-2006, 01:15 PM   #2
sibbor
WorldofWar.Net Member
 
sibbor's Avatar
 
Join Date: Jun 2005
Location: Sweden
Posts: 1
I'm the author os myMusic and would like to see some changes too.
What I would like is PlayMusic() function changed like this: PlayMusic("path\file", int*)

*int: How many seconds into the file the playback should start. Then I can just count how many seconds the song been playing. This can be useful for building a "fake" pause function; when the user calls StopMusic(); I can store how many seconds the song been playing, and then when the user hit "play" again, I can put it in like this: PlayMusic("path\file", variableWithSecValue);
sibbor is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 +1. The time now is 01:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Advertisement System V2.5 By   Branden