I'm really hoping someone can help me with this, because I'M GOING NUTS and pulling my hair out over this one!!
I've searched the forums and read tutorials til I'm blue in the face. I've been working on this to NO AVAIL all day!!
Here's what I want to do:
I want to play a stock .mp3 as the background sound/music for everyone. If possible I'd also like to set the volume of it a little past 100% (like 1.3 or something). This file is located at: C:\Program Files\EA GAMES\MOHAA\main\sound\amb_stereo\Amb_M2_SubpenInt 02.mp3
Okay.... I'd like to do this in a script, so this is what I have in my mapname.scr file:
Okay, THEN, I created a folder "music" and in that folder I put the mapname.mus file. Here's the mapname.mus file:main:
level waittill prespawn
setcvar "g_obj_alliedtext1" "xxxxxx"
setcvar "g_obj_alliedtext2" ""
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "textures/mohmenu/dmloading/xxxxxx.tga"
exec global/DMprecache.scr
exec global/ambient.scr mapname
/*
level.farplane = 3500
$world farplane 3500
$world farplane_color (.3 .3 .3)
*/
level waittill spawn
Now, according to all the tutorials and messages I've read THAT IS SUPPOSED to do it! I have the "exec global/ambient.scr mapname" BETWEEN "level waittill prespawn" and "level waittill spawn" AND I have the mapname.mus file IN the "music" folder!!path sound/amb_stereo
normal Amb_M2_SubpenInt02.mp3 // Default
!normal volume 1.3
!normal loop
Here's what I see in the log file:
Well, I CANNOT here the .mp3 playing in the background when I play the map! I simply can't get this to work!! I've also tried putting the line: "level.script = maps/dm/mapname.scr" just above the "exec global/ambient.scr mapname" line - doesn't help.------ Server Initialization Complete ------ 4.61 seconds
soundtrack switched to music/mapname.mus.
playing music/mapname.mus
music set to normal with fallback normal
Loading Ambient.scr
I'm looking for help here in a few possible ways:
If someone can see what I'm doing wrong using this method (does it even work for Spearhead or is this an AA method), and can help me get it working that would be great...
OR
If someone simply knows of a way to start up one of the stock .mp3's as the background for EVERYONE for the ENTIRE map that would be great!!
Thanks

