Jump to content
Sign in to follow this  
nichevo

referencing sounds in pbo files

Recommended Posts

I've had a look around but this question doesn't seem to have been raised anywhere else. I recently extracted everything out of sounds.pbo and there's quite a few nice sounds in there I might want to use.

I want to know if it is possible to reference a sound from a pbo like this in a custom mission, perhaps to use in say or playSound.playSound. The sounds I am interested mostly in are the voices that say "bad weather", "grenade out", "I need help here" and so on and so forth.

Now, I know that some sounds you can access by name, for example, "alarmbells". But most of them do not appeared to be named this way.

I've checked to see how the campaign missions do it, for example in "Dawn of Hope" (that mission where you defend the airport). It seems they extract the .ogg files and put them in mission folder and reference them in description.ext. Sure, this works, but surely there must be a better way? Why have a pbo loaded with sounds if you can't actually get to them directly? crazy_o.gif

Does anyone have any ideas?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×