Please or Register to create posts and topics.

Custom Sounds in map - how to upload them in BSP? [SOLVED]

Page 1 of 3Next

Hello fellow members.

I'm in the situation where I have finished my custom story in Hammer.
I want to create a "Beta" for my friend, containing only 1 map.
The problem is that we can't make the custom sound files to work.

I read about Pakrat and tried using it. This is what I did.

After compiling my map I opened Pakrat.
In Pakrat I opened the mymap.bsp
Then I clicked "Add".
Then I found the custom sound files and added them.
I also added the mymap.txt which contains all the necessary lines for the sound files to work.
Then I click "Save BSP".
Then I send the BSP to my friend.

I install the map as everyone does but when he plays it everything is there, but the sound files.
How do I implement them in my BSP file?

It has to be said that I can play all the files on my computer, because they're in the right directories and so and so...
It's only when I pack it into a BSP it doesn't work.

Mostly lurking

I'm working on a map with custom sounds too. I also need to know this!

@Beecake: you didn't mention anything related to fixing up the path to the files when you listed the things you did. Maybe that is your problem. What pakrat does is just fix up the paths to your custom files so that when your map searches for them in game, it searches inside the .BSP instead of the original locations your custom files are in.

You can set this to be done automatically by going to File > Preferences. You should have the "Path fixup on add file" on one of these options: "Never", "Ask", "Always". I set it to "Ask", because I want to make sure that it does its work.

Check out this.

Also, are you using soundscapes? Have you named your script file correctly relative to your map? something like soundscapes_beecake_new_map.TXT

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
@Beecake: you didn't mention anything related to fixing up the path to the files when you listed the things you did. Maybe that is your problem. What pakrat does is just fix up the paths to your custom files so that when your map searches for them in game, it searches inside the .BSP instead of the original locations your custom files are in.

You can set this to be done automatically by going to File > Preferences. You should have the "Path fixup on add file" on one of these options: "Never", "Ask", "Always". I set it to "Ask", because I want to make sure that it does its work.

Check out this.

Also, are you using soundscapes? Have you named your script file correctly relative to your map? something like soundscapes_beecake_new_map.TXT

I have no script files, because I am using no soundscapes.
Have no experience in them yet...
Everything I'm using is ordinary ambient_generics

I'll take a look at your idea and report back!

Mostly lurking
beecake wrote:
I have no script files, because I am using no soundscapes.
Have no experience in them yet...

Hmmm.... then what is that "mymap.txt" file that you mentioned you needed for your sound files to work?

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
beecake wrote:
I have no script files, because I am using no soundscapes.
Have no experience in them yet...

Hmmm.... then what is that "mymap.txt" file that you mentioned you needed for your sound files to work?

Well the sounds I have are custom (Placed in the /temp folder), and I have to write the path of the sounds to make them work. That's what I read about, at least, and it's working, so things should be good.

Mostly lurking

I think it's way simpler. Just put your sounds under your /sound folder or /sound/music (and create your own custom folder there too if you want) and you're done. They should be working in game without the need of any other "path file".

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
I think it's way simpler. Just put your sounds under your /sound folder or /sound/music (and create your own custom folder there too if you want) and you're done. They should be working in game without the need of any other "path file".

Oh well, it's just a text file. I can always delete it.
I'll be checking if it works when I delete it today. Thanks.

Mostly lurking

Sorry for doubleposting

This is how it looks in Pakrat right now
Image

Does it look ok?

I checked the preferences and it seems like it is already on "Ask" to begin with.

Mostly lurking

Well, that looks good.... as long as you DID fix up the paths, it should be working.

One tip: in order to have a clearer view into pakrat you can choose to see the packed elements list "As a Tree" by going to View menu ;)

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
Page 1 of 3Next