Frictional Games Forum (read-only)

Full Version: Help with the music!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Okay, so I have an mp3 that I thought would be a good background music while playing the custom story that I'm creating,

I took the .mp3 and converted it into .ogg and placed it in the folders with everything.

>
map(folder)
music(folder)
custom_story_settings.cfg
extra_english.lang

It was in the music folder , but when I put it in my scripts on my .hps, it doesn't play, unless the .ogg is from the original game.

Can anybody fix this?
You have to create a snt file
There is a tutorial on the wiki on how to create sounds: http://wiki.frictionalgames.com/hpl2/tut...cript/page
(04-06-2012, 11:01 PM)Datguy5 Wrote: [ -> ]You have to create a snt file
There is a tutorial on the wiki on how to create sounds: http://wiki.frictionalgames.com/hpl2/tut...cript/page
Actually, you don't use .snt files for PlayMusic, only for sound functions.


@OP: Could you paste the script here? I'm wondering if maybe you are using the wrong function or something.
Perhaps the .ogg converter you have is broken.
What did you use?
I didn't use a converter. I replaced 01_intro.mp3 into 01_intro.ogg and immediately the file became OGG

----


void OnStart()
{
PlayMusic("01_intro.ogg", false, 1, 1, 1, false);
}



^^ and this is actually it
(04-08-2012, 03:39 AM)mrscoomich Wrote: [ -> ]I didn't use a converter. I replaced 01_intro.mp3 into 01_intro.ogg and immediately the file became OGG

File extension does not reflect file content.
Yikes.. xD


Thanks. I'll try using a converter.

I feel pretty stupid.
Alright, so I used a converter... However it's still the same problem, and it won't play
Can you tell me the name of the Audio Converter you used?
(04-10-2012, 11:23 PM)Xanthos Wrote: [ -> ]Can you tell me the name of the Audio Converter you used?
[url]http://media.io/[/url]
Pages: 1 2 3