Jump to content
Sign in to follow this  
Redphoenix

Not able to overwrite UGL_F sound

Recommended Posts

I've been trying to overwrite the StandardSound from the UGL_F, but whatever I do, I cant overwrite it.

 

So, here's the config of the UGL_F

 

 

class Single: Mode_SemiAuto
		{
			sounds[] = {"StandardSound"};
			class BaseSoundModeType
			{
				closure1[] = {"A3\Sounds_F\arsenal\weapons\UGL\Closure_UGL",1.0,1,10};
				soundClosure[] = {"closure1",1};
			};
			class StandardSound: BaseSoundModeType
			{
				begin1[] = {"A3\Sounds_F\arsenal\weapons\UGL\UGL_01",0.70794576,1,200};
				begin2[] = {"A3\Sounds_F\arsenal\weapons\UGL\UGL_02",0.70794576,1,200};
				soundBegin[] = {"begin1",0.5,"begin2",0.5};
			};
		};
 

 

And this is my config for it:

 

class Single: Mode_SemiAuto
		{
			sounds[] = {"StandardSound"};
			class StandardSound
			{
				begin1[] = {"rhsafrf\addons\rhs_sounds\ugl\gp-25_1",0.70794576,1,200};
				begin2[] = {"rhsafrf\addons\rhs_sounds\ugl\gp-25_2",0.70794576,1,200};
				soundBegin[] = {"begin1",0.5,"begin2",0.5};

				closure1[] = {"A3\sounds_f\weapons\closure\closure_rifle_6.wss",3.1622777,1,300};
				closure2[] = {"A3\sounds_f\weapons\closure\closure_rifle_7.wss",3.1622777,1,300};
				soundClosure[] = {"closure1",0.5,"closure2",0.5};
			};
		};

So, what I know now from config inheritance is that my class Single {Standardsound{}}; should now overwrite the previous one fro mthe class UGL_F.

Funny thing now: It doesnt work.

Whatever I tried, the standard sounds from the UGL_F are always played when I fire the grenade launcher.

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  

×