Texture Object CG. Change.?¿


New member
With VTScript. CG. You can change the texture of an object.
VTScript 3.0 in the manual. I just find this reference.
SetTextureRange (name, value)
GetTextureRange string = (name)

Serve? someone knows how to do this.

Thank you very much.


Active member
What exactly are you trying to do? Basically, you just need to put a user script in the CG skins folder to fire this up, basically on a keyboard shortcut or you can mod the interface to add a button. They keyboard shortcut is easier.

CreateShortCut( "Alt Space" code( 
SetTextureRange(name, value) 

   ) "Always" 2000)

Where name is would be the name of the layer, from the "Layers" tab and value would be what you set it to. I haven't used this particular feature, but I can give it a whirl next time I'm in there.



New member
greetings and thanks for the reply.

My intention is to change from a script. texture that takes a given polygon. by a new one.
Indicating the path. or any of the already loaded in the texture panel.

Thanks for everything.
Top Bottom