Jump to content
Sign in to follow this  
MINKA

Is it possible to remove RVMats and Replace texture with a script

Recommended Posts

Hey all,

I am curious towards the possibility to remove RVMats and replacing the texture on a set of faces on a model?

As an example,

I am trying to make a road cone that has a light on the top, When the light turns on, the Texture is set to yellow and the RVMat is set to a bright yellow as well to make a better effect at night, Then when the light is off, The RVMat is taken away and the Texture is set to a texture of an inactive light.

Would this kind of thing be possible? If so It really is beyond me, I would just like to know if and possibly how you can do this?

Thank you in advance for any replies.

Share this post


Link to post
Share on other sites

I got it figured!

You need to basically apply the RVMat to the selection in the Object Builder, Then in the model.cfg, Just hide the selections, Then when you use setObjectTexture, It will show the texture and RVMat!

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  

×