Jump to content
Sign in to follow this  
askingmachine

My island my environment sounds?

Recommended Posts

Hello all,

I've made a fully working test island for my own purposes and now I'm trying to learn how to change the environmental sounds of the island.

First of all, is it even possible? I mean is it possible to change the forest sounds (wind, birds etc.) to my own sound (.ogg) files so that it will NOT change the environment sounds of the other islands? I've made some experimental test with the configs and I've succeeded to change forest sounds to sea sounds or to my own sounds but every time it affects also to the sounds of the other islands and as this shouldn't be a sound replacement pack, is there any solution to make these sound changes to take effect in my island only?

Thanks

Share this post


Link to post
Share on other sites

So... nobody really knows?

Every island just has to have exactly same environmental sounds?

Share this post


Link to post
Share on other sites

This is how my config.cpp is atm:

#define private		0
#define protected		1
#define public		2

#define ReadAndWrite		0
#define ReadAndCreate		1
#define ReadOnly		2
#define ReadOnlyVerified		3

class CfgPatches {
class UNI1 {
	units[] = {"Unnamed Island"};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"CAData", "CABuildings", "CABuildings2", "CAMisc", "CARoads2"};
};
};

class CfgEnvSounds
{


class uni1_sound_Trees
{
	name = "uni1_sound_trees";
	sound[]={"\uni1\Sounds\Enviroment\forest", 0.1, 1};
	volume="trees*(1-rain)*(1-night)";
};


};



.... .... and so on

I can hear the new sound ingame, but I can also hear it in chernarus/utes... I'm guessing that my sound script is in a wrong location? Where it should be inside the config.cpp?

Edited by askingmachine

Share this post


Link to post
Share on other sites

I believe you can set a certain place for those to play in using a CfgWorld class?

Im not sure as i have not tested this or even tried it.

Edited by [R-CON]Pantera

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  

×