I'm finished with this mod (for now at least)
It's basically working. It could be improved I think ( volume slider doesn't set the new volume until you move the mouse of the slider )
Download zip with mod / test map / src
http://www.pcgamemods.com/8425/
README.txt:
Doom3 Mod: Jukebox - Winamp controller
Written by: Dante_UK ( Neil J.Martin )
Release: 7th Nov 2004
Instruction:
unzip into doom3 directory
double click on doom3\jukebox.bat
Pack Contains:
jukebox.bat
jukebox folder
readme.txt - This file.
jukebox.pk4
src.zip - Zip file of sources modded. search for NJM to find new stuff
gamex86.dll
maps - Folder with sample map
jukebox.map
jukebox.cm
jukebox.proc
guis - Folder with a sample gui
jukebox.gui
guis\assets\splash - map spash screen
jukebox.tga
guis\map
jukebox.gui - gui for map splash screen
textures\guis - Folder with gui images
wa_buttbat.tga
wa_main.tga
wa_next.tga
wa_pause.tga
wa_play.tga
wa_prev.tga
wa_titlebar.tga
wa_volbar.tga
New cvars:
wa_title - set by getinfo - title of winamp window
ie it's the current track name.
wa_volume - set by setvol & setvol2, 0-255 value set to winamp
New console commands:
winamp [play/playlist/pause/stop/next/prev/setvol 0-255]
NOTE: playlist means restart current playlist from beginning. The rest of the commands should be obvious
New commands available to guis scripts.
eg:
onAction {
set "cmd" "winamp_play";
}
winamp_play = plays current track
winamp_playlist = restart current playlist from beginning.
winamp_pause = guess!
winamp_stop = guess!
winamp_next = guess!
winamp_prev = guess!
winamp_getinfo = sets wa_title cvar
winamp_setvol2 = sends current wa_volume cvar to winamp