GoldenEye: Source Forums

  • September 28, 2021, 03:45:43 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Change out Music?  (Read 2039 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 24, 2016, 03:07:20 pm »

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: 875
  • Reputation Power: 201
  • 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 24, 2016, 03:40:49 pm »

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 24, 2016, 03:51:22 pm by markpeterjameslegg »
Logged

namajnaG

  • Grindcore FM worshipper
  • Tester
  • 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 24, 2016, 03:43:18 pm »

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