Jump to content
Sign in to follow this  
jw custom

Clutter problem

Recommended Posts

In cfgSurfaces.hpp i have:

class CfgsurfaceCharacters
{
    class jwc_santo_grass_green_Character
      {
        probability[] = {0.92,0.07,0.92,0.92};
        names[] = {"jwc_santo_StrGrassGreen_group","jwc_santo_WeedGreenTall","jwc_santo_ThistleHigh","jwc_santo_FlowerLowYellow2"};
      };
};

There are 4 types but i can only get the 3 first in array to appear, if i switch the order around it's still the 3 first in array that appear!

 

What am i doing wrong?

Share this post


Link to post
Share on other sites

Try this:

 

probability[] = {0.31,0.07,0.31,0.31};

 

Silola

Share this post


Link to post
Share on other sites
There are 4 types but i can only get the 3 first in array to appear, if i switch the order around it's still the 3 first in array that appear!

 

What am i doing wrong?

You can't exceed 1.0

Share this post


Link to post
Share on other sites

You can't exceed 1.0

 

Ohh 1.0 in total... ok thanks B)

 

 

Try this:

 

probability[] = {0.31,0.07,0.31,0.31};

 

Silola

 

 

I see now that it's max 1.0 in total thanks :)

 

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  

×