GoldenEye: Source Forums

Debriefing => Questions, Help, & How To's => Topic started by: ZeroSkerbo on August 25, 2016, 02:07:20 am

Title: Change out Music?
Post by: ZeroSkerbo on August 25, 2016, 02:07:20 am
Hello,

Is there any way i might be able to swap the music for certain stages with my own files. So like, whenever i play a certain match if the level is archives, the specific music for archives would play?

Thanks
Title: Re: Change out Music?
Post by: markpeterjameslegg on August 25, 2016, 02:40:49 am
The definitions for each maps music set is in:-

Steam\steamapps\sourcemods\gesource\scripts\music

They're just text files so you can easily add or completely replace the music for a map. You could add a "Custom" folder in "gesource/sound" and change the text to something like this:-

"music"
{
   "file"   "music/basement.mp3"
   "file"   "music/basement2.mp3"
   "file"   "music/basement3.mp3"
   "file"   "Custom/NewTrack1.mp3"
   "file"   "Custom/NewTrack2.mp3"
}

This will add "NewTrack1" & "NewTrack2" to the list of played tracks in the map.
For this method you will need to create a folder called "Custom" in "D:\Steam\steamapps\sourcemods\gesource\sound" to place your mp3's in.
Title: Re: Change out Music?
Post by: namajnaG on August 25, 2016, 02:43:18 am
Greetings! It is possible, yes, and quite simple.

As Mark said (I wrote up a post but you beat me to it ;) ) just go to said folder to edit out the desired file of said level.
Make sure your mp3 files go in Steam\steamapps\sourcemods\gesource\sound\music.

As far as I know, any bitrate will work.