Jump to content
Sign in to follow this  
Mr_witch

help!not work playsound3D

Recommended Posts

playsound3d ["A3\dubbing_radio_f_data_eng\Male01ENG\RadioProtocolENG\Normal\140_Com_Status\AmmoCritical_1.ogg",player];
playsound3d ["A3\dubbing_radio_f_data_gre\Male01GRE\RadioProtocolGRE\Normal\140_Com_Status\AmmoCritical_2.ogg",player];

not working,

playsound3d ["A3\dubbing_f_beta\firing_drills\Timing\firing_drills_timing_ROF_0.ogg",player];

it's working,

 

Share this post


Link to post
Share on other sites

 

The paths are sometimes really difficult to understand ...

 

from dubbing_radio_f.pbo\config.bin:

class Male01ENG : ENG {
	directories[] = {"\A3\Dubbing_Radio_F\data\ENG\Male01ENG\", "\A3\Dubbing_Radio_F\data\ENG\Male01ENG\"};
	scope = 2;
	displayName = "$STR_A3_CfgVoice_Male01ENG";
	author = "$STR_A3_Bohemia_Interactive";
};
      
...thousands of lines further...
        
AmmoCritical[] = {"RadioProtocolENG\Normal\140_Com_Status\AmmoCritical_1.ogg", "RadioProtocolENG\Normal\140_Com_Status\AmmoCritical_2.ogg", "RadioProtocolENG\Normal\140_Com_Status\AmmoCritical_3.ogg"};

 

so we use the path in config, not in .pbo

playsound3d ["A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\140_Com_Status\AmmoCritical_1.ogg",player];

playsound3d ["A3\Dubbing_Radio_F\data\ENG\Male01ENG\RadioProtocolENG\Normal\140_Com_Status\AmmoCritical_2.ogg",player];

 

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  

×