Jump to content
Wilson543210

Using an external .paa to set the color of a vehicle?

Recommended Posts

Just like the title. I basically want to have two (or more) of the same vehicles to be one blue and one red. I know some basics on scripting but I could not find anything on how to go about this. I can only assume I make a solid red and solid blue .paa and fine some script to say "make color car1 "red.paa" or whatever. I appreciate any feedback or comments.

Share this post


Link to post
Share on other sites
57 minutes ago, HazJ said:

No need for texture PAA. You can set RGBA colour now.

https://community.bistudio.com/wiki/setObjectTexture

https://community.bistudio.com/wiki/setObjectTextureGlobal


_obj setObjectTexture [0, "#(rgb,8,8,3)color(1,0,0,1)"]; // red
1,1,0,1 // yellow
1,0,1,1 // pink
0,0,1,1 // blue
etc

 

Thank you a lot. I do not know how I missed these :s

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

×