View Single Post
Meathead~MBG~
Junior Member
Join Date: Mar 2009
Old 10-05-2009 , 23:10   Re: Loading Music II v1.2.9
Reply With Quote #125

For some reason, none of my precached files play except the .wav from counterstrike.
Quote:
; THIS IS A SAMPLE PLAYLIST FILE

; EDITING NOTES:
; 1) put this file under $AMXMODX/config/ folder
; 2) all paths to files must be relative to $MODDIR/ folder
; 3) you can skip an extension, but that file won't be precached (still can
; can be played by client side if exists right there)
; 4) files are precached only if they are placed within $MODDIR/sound/ folder

; NOTE: Half-Life??.mp3 tracks are supplied with HL/CS
;media/Half-Life01.mp3
;media/Half-Life02
media/Half-Life17
; your custom mp3 track to be precached; watch out for mp3 size!
;sound/mp3/your_track.mp3
sound/mp3/aacsong.mp3
sound/mp3/battlecry.mp3
sound/mp3/beer1.mp3
sound/mp3/beer2.mp3
sound/mp3/beer3.mp3
sound/mp3/beer4.mp3
;sound/mp3/Deja Voodoo.mp3
;sound/mp3/Panic Switch.mp3
;sound/mp3/This Love.mp3
sound/mp3/Walk.mp3
sound/mp3/shortbodies.mp3
sound/mp3/game.mp3
sound/mp3/pron.mp3
;sound/mp3/Fixer.mp3

; next track is supplied with CS
sound/ambience/lv_jubilee.wav

; and finally some loading samples supplied with this plugin
//sound/loading/HipHop.wav
//sound/loading/Shogo436.WAV
//sound/loading/ShogoTheme.wav
//sound/loading/Spaceman.wav

; NOTE: max number of tracks is 30; others will be skipped

Quote:
amx_loading_track -1
//sets playback mode:
//-1 - random order
//0 - play nothing (disable plugin)
//N - play single file from playlist (N=1..30)
//filename - name of file to play ignoring the playlist (it's
//a single-file playback mode); if this is a file under precache dir
//it won't be precached
amx_loading_loop 0
//customizes loop mode playback:
//0 - play mp3/wav until a player starts to play
//1 - play mp3 once till the end; play wav as described above
//2 - play mp3/wav forever (strongly do not recommend
//if 'amx_loading_flags' cvar has no flag 'a')
amx_loading_delay 1
//if your clients often complain about silence while connecting to your
//server try to set this cvar to non-zero number to delay (in sec)
//playback after connection event has been triggered
amx_loading_flags abe
//a - play mp3 files only on player connection/spectating; otherwise
//wav files are possible (strongly do not recommend to turn this flag
//OFF because you may get an unstoppable ambient cyclic sound during
//the game)
//b - play mp3 on spectate; otherwise stop playing track when player
//goes to spectator
//c - (CS specific) play wav files only on team select; otherwise
//connection track will continue playing (under CS it can be turned off
//by the game; try using flag 'd' to fix this issue)
//d - (CS specific) restart a track on team select to fix a CS bug;
//has minor priority than flag 'c'
//e - don't play a spectator track on dead players (consider to use it
//if you enabled flag 'b')
__________________
Meathead~MBG~ is offline