Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH Maps, Mods & Skins
Reload this Page BACK GROUND MUSIC!!!
MoH Maps, Mods & Skins Discuss custom maps, skins and mods here.

Reply
 
Thread Tools Display Modes
BACK GROUND MUSIC!!!
Old
  (#1)
Guest
 
Posts: n/a
   
Default BACK GROUND MUSIC!!! - 08-19-2002, 12:33 PM

How do I add background music to my map
  
Reply With Quote
Old
  (#2)
bluebrooks is Offline
Senior Member
 
Posts: 156
Join Date: Jun 2002
   
Default 08-19-2002, 09:30 PM

2 ways that I know of:

1. the right way. add a text file called (your map name).mus
Take a look at the ones in the pak files...but it looks like this. The commented out section explains how it works. Someone else gave that to me (I don't remember who, or I'd give them credit). For this to work (although it may just have been my my map for some reason), I had to copy the mp3 file into the amb_stereo directory. It didn't work when it was zipped in the pak file.

//#set values are as follows:
//For interior:
//#set1 plays on aux2
//#set2 plays on aux4
//#set3 plays on aux6
//For exterior:
//#set1 plays on aux1
//#set2 plays on aux3
//#set3 plays on aux5

path sound/amb_stereo

normal Amb_whatever.mp3
aux1 Amb_whatever2.mp3

!normal volume 1.0
!normal loop
!normal fadetime 1

!aux1 volume 1.0
!aux1 loop
!aux1 fadetime 1
-------------------
then lastly, add a trigger_multiple where you want the sound to switch, ex. a door to the outside. give the trigger a #set cooresponding to the chart above.

2. this way is much easier. I used it only because I wanted more control over when the music turned on. The game tends to switch music when go from one one location to another. I was using it when specific events happen in the map.
When you want the music to start, add the following line into your script file...

$player loopsound (your sound name)

you then have to add the sound into ubersound.scr also.

good luck
  
Reply With Quote
Old
  (#3)
el_nombra is Offline
Member
 
Posts: 91
Join Date: Aug 2002
Location: somewhere under the moon and just round a little
   
Default 08-19-2002, 09:38 PM

what sort of map u making by the way...just curious.

[img]http://mohaa.cact-sd.org/aasigs/banner.jpg[/img]
  
Reply With Quote
Reply



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



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.