Jump to content
Neviothr

A Question About soundBegin[]={}

Recommended Posts

Let's say I have the next config (take from the Biki):

begin1[] = {"A3\sounds_f\weapons\pistols\pistol_st_1", 5, 6, 700};
soundBegin[] = {"begin1", 1}

What do the 2nd (5), 3rd (6) and 4th (700) value in the first line (begin1[] = {}) mean?

 

Thanks.

Share this post


Link to post
Share on other sites

Hi,

 

I think that is

- Volume (5)

- Pitch (6)

- Distance (700)

 

And the 1 in soundBegin array is the probability from 0 to 1, if you have more than one beginX total has to be equal to 1.

  • Like 1

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

×