Texture Object CG. Change.?¿

Batman_cond

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.
Thx.
 
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.

Code:
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.

Kris
 
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.
 
Back
Top