Jump to content
barbolani

playSound3d, mission path,steam

Recommended Posts

Hi!

 

I use playSound3d for some effects, just because AFAIK is the best MP compatible.

 

I use the method posted on biki about missionPath etc..

 

Well, it seems to work well except when you play as client on dedi in a steam downloaded version.

 

There, client's .rpt is flooded with this:

 

21:41:12 Audio Stream: Cannot load sound 'steamMPMission\__cur_mp.Altis\Music\dog_bark02.wss'

 

As I don't se a "My Documents" etc.. I suppose the mission path in a Steam version is changed by anything.

 

To know the mission path, I use this code from biki:

missionPath = [(str missionConfigFile), 0, -15] call BIS_fnc_trimString;

Is there any possible workaround? I would like to avoid a remoteExec + say3d, as the playsound3d works fine with distances etc..

 

Thanks in advance.

Share this post


Link to post
Share on other sites

 

21:41:12 Audio Stream: Cannot load sound 'steamMPMission\__cur_mp.Altis\Music\dog_bark02.wss'

the section in red is what BIS_fnc_trimString supposedly returned. Make sure that you have folder Music and it has the dog_bark in it

Share this post


Link to post
Share on other sites

Yes yes, I have.

 

As I said, it is working in SP, MP hosted, and my MP dedi tests (the dog barks), that's why I think this has something with Steam missions, beause the error spawns when I play in some of the public open servers around the lobby (all of them Dedi)

Share this post


Link to post
Share on other sites

Sorry to bump this, but still don't find any solution and it seems it got lost among the other thousand issues are nowdays happening in the edition world (which is good!!!)

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

×