OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Terox on 23 Oct 2009, 21:07:24

Title: Desc.ext CfgRadio path to soundfile in dubbings.pbo (BIS Bug)
Post by: Terox on 23 Oct 2009, 21:07:24
I am having problems defining the correct path to a sound file in the dubbings.pbo for a description.EXT CfgRadio class.




The full path to the actual file is
\dubbing.pbo\GLOBAL\RADIO\Male01\EN\secops\artillery\secop_artillery_29.wss

these are the path names that I have tried so far
Quote
//   "\dubbing\GLOBAL\RADIO\Male06\EN\secops\artillery\secop_artillery_29"
//    "dubbing\GLOBAL\RADIO\Male06\EN\secops\artillery\secop_artillery_29"
//   "..dubbing\GLOBAL\RADIO\Male06\EN\secops\artillery\secop_artillery_29"
//   "..\dubbing\GLOBAL\RADIO\Male06\EN\secops\artillery\secop_artillery_29"

I have proven the cfgradio class and the actual sound file by importing the actual file into a sound directory in the mission.pbo and then using a path to that sound folder, however If i were to add all the sound files to the mission.pbo, the filesize would become unmanageable so i need to point the cfgradio class to the actual file in the dubbing.pbo.


Any help would be greatly appreciated
Title: Re: Desc.ext CfgRadio path to soundfile in dubbings.pbo
Post by: Wolfrug on 23 Oct 2009, 21:25:03
Once again, kju will probably want to prove me wrong, but unless they've fixed this for A2, the answer to this is: you can't. It works in addon configs, but it doesn't work in the mission description.ext, even though the two look identical. I wish it did, but it doesn't.

The one who provides a working example mission that, only through adding it in the description.ext, is capable of refering to a sound that resides in one of BIS's pbos and making it work, will get a big ol' Wolfrug-cookie. No, not a "theorethically it would work like this", but tested and working please.

note: some sounds might actually have definitions in a cfgsounds someplace, which would make them show up in for instance a trigger's Effects/Anonymous sounds menu.

Sorry Terox!

Wolfrug out.
Title: Re: Desc.ext CfgRadio path to soundfile in dubbings.pbo
Post by: Terox on 23 Oct 2009, 21:45:44
Thanks for the speedy reply, unfortunately, the artillery sounds are listed in cfgRadioprotocol, which is something new to ArmA2
Title: Re: Desc.ext CfgRadio path to soundfile in dubbings.pbo (BIS Bug)
Post by: Doolittle on 27 Oct 2009, 17:27:13
What's the CfgPatch for dubbing.pbo? It's not always "dubbing".. for example "modules.pbo" is defined as "ca"
Title: Re: Desc.ext CfgRadio path to soundfile in dubbings.pbo (BIS Bug)
Post by: Terox on 27 Oct 2009, 22:04:56
i also tried ca\dubbings