GoldenEye: Source Forums

  • March 28, 2024, 07:08:11 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Change out Music?  (Read 3759 times)

0 Members and 1 Guest are viewing this topic.

ZeroSkerbo

  • Agent
  • *
  • Posts: 1
  • Reputation Power: 0
  • ZeroSkerbo has no influence.
  • Offline Offline
Change out Music?
« 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
Logged

markpeterjameslegg

  • Did I fire six shots? Or only five?
  • 00 Agent
  • ***
  • Posts: 879
  • Reputation Power: 202
  • markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!markpeterjameslegg is awe-inspiring!
  • Offline Offline
Re: Change out Music?
« Reply #1 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.
« Last Edit: August 25, 2016, 02:51:22 am by markpeterjameslegg »
Logged

namajnaG

  • Grindcore FM worshipper
  • 007
  • ****
  • Posts: 1,144
  • Reputation Power: 333
  • namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!namajnaG is awe-inspiring!
  • Offline Offline
Re: Change out Music?
« Reply #2 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.
Pages: [1]   Go Up