Jump to content
Sign in to follow this  
bull_a

setObjectTexture for Rocks

Recommended Posts

Hi all,

 

I'm trying to set a rocks texture to a custom texture (at the moment I am testing using "#argb(8,8,3)color(1,1,0,1)").

 

I have had a look in the config class for the rock I am using, "Land_BluntStone_02". However, there is no entry in the hiddenSelectionTextures attribute which is causing me to think this cannot be without modding. Has anyone had any luck with setting custom textures on the rock objects?

 

Here is the code I am using for testing:

// executed on object 'init'

for "_i" from 0 to 100 step 1 do {
  this setObjectTexture [_i, "#argb(8,8,3)color(1,1,0,1)";
}; 

Any help or further testing is appreciated,

 

Bull

Share this post


Link to post
Share on other sites

No hiddenSelections on rocks, atleast in \a3\rocks_f\config.cpp

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  

×