Page 1 of 1

JV helppppppp....

Posted: Fri Mar 14, 2003 7:07 am
by 7th Es Cyborg
ok what I've got set up in a rcon control panel is:


resource
PulldownMenuContainer
{
title "music"
name "Default"
rect 241 160 24 16
fgcolor 0.00 0.00 0.00 1.00
bgcolor 0.75 0.75 0.75 1.00
borderstyle "INDENT_BORDER"
menushader "MENU" "textures/menu/pulldownarrow"
selmenushader "MENU" "textures/menu/pulldownarrow_sel"
addpopup "MENU" "xx1" command "tmstop;wait5;tmstart xx1.mp3"
addpopup "MENU" "xx2" command "tmstop;wait5;tmstart xx2.mp3"
addpopup "MENU" "xx3" command "tmstop;wait5;tmstart xx3.mp3"
addpopup "MENU" "xx4" command "tmstop;wait5;tmstart xx4.mp3"
addpopup "MENU" "xx5" command "tmstop;wait5;tmstart xx5.mp3"
addpopup "MENU" "xx6" command "tmstop;wait5;tmstart xx6.mp3"
addpopup "MENU" "xx7" command "tmstop;wait5;tmstart xx7.mp3"
addpopup "MENU" "xx8" command "tmstop;wait5;tmstart xx8.mp3"
addpopup "MENU" "xx9" command "tmstop;wait5;tmstart xx9.mp3"
addpopup "MENU" "xx10" command "tmstop;wait5;tmstart xx10.mp3"


how do I create and execute a script that will play one song after the other has finished?? basicly I want to add an option to the menu to play all songs in order.

Posted: Fri Mar 14, 2003 11:08 am
by jv_map
Don't think you can type a 'wait' in console :?.

Also don't know a better way. Maybe ask Innkeeper, he seems good at jukeboxes ;).

Posted: Fri Mar 14, 2003 4:32 pm
by 7th Es Cyborg
damm, guess I'll just restart them each time. Playing Disturbed, Godsmack, Metallica, and Marylin Manson in the background gets that killer edge up :lol: :lol: :lol:

Posted: Fri Mar 14, 2003 11:51 pm
by 7th Es Cyborg
ok think i have a solution, but I don't know how to script it,

If I was to set the command line to run say, exec song.cfg

then had in song.cfg

xx[variable].mp3 in an array with something to count the variable from 1 to 10 and switch to the next varaible when the mp3 ends.

anyone got any ideas???????