Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Music to your custom story ?
Crypto Offline
Junior Member

Posts: 14
Threads: 4
Joined: Mar 2011
Reputation: 0
#1
Shocked  Music to your custom story ?

Does anyone know how i can add music to my custom map ?
a little help would be nice !
03-26-2011, 11:55 PM
Find
Viperdream Offline
Member

Posts: 124
Threads: 16
Joined: Jan 2011
Reputation: 0
#2
RE: Music to your custom story ?

Just add an .ogg file to the music folder

03-27-2011, 12:15 AM
Find
Crypto Offline
Junior Member

Posts: 14
Threads: 4
Joined: Mar 2011
Reputation: 0
#3
RE: Music to your custom story ?

(03-27-2011, 12:15 AM)Viperdream Wrote: Just add an .ogg file to the music folder

Do i have to make new music folder somewhere else because there is already one music folder that contais all songs from the game. And where do i have to put that .ogg file and what ogg. file ??? Confused
03-27-2011, 12:52 AM
Find
Viperdream Offline
Member

Posts: 124
Threads: 16
Joined: Jan 2011
Reputation: 0
#4
RE: Music to your custom story ?

I just add it to the music file and it works fine.

And look a converter up for the .ogg file. It's just the same as mp3 or .wav, just another format.

03-27-2011, 12:55 AM
Find
Crypto Offline
Junior Member

Posts: 14
Threads: 4
Joined: Mar 2011
Reputation: 0
#5
RE: Music to your custom story ?

(03-27-2011, 12:55 AM)Viperdream Wrote: I just add it to the music file and it works fine.

And look a converter up for the .ogg file. It's just the same as mp3 or .wav, just another format.

I want use games original music. And how i can add them to my custom map??
03-27-2011, 01:17 AM
Find
Kurton Offline
Senior Member

Posts: 533
Threads: 8
Joined: Oct 2010
Reputation: 16
#6
RE: Music to your custom story ?

Add
void OnEnter()
{
PlayMusic("10_amb.ogg", true, 1, 0, 0, true);
}

to your map's HPS file, and replace 10_amb.ogg with whichever musictrack you want.

And this song can be in the game's main music folder, or in the music folder in that of your custom story.

(This post was last modified: 03-27-2011, 01:55 AM by Kurton.)
03-27-2011, 01:54 AM
Find
Crypto Offline
Junior Member

Posts: 14
Threads: 4
Joined: Mar 2011
Reputation: 0
#7
RE: Music to your custom story ?

Thanks alot !!!!!!!
03-27-2011, 02:29 AM
Find




Users browsing this thread: 3 Guest(s)