Results 1 to 3 of 3

Thread: Texture Object CG. Change.?¿

  1. #1
    Registered User
    Join Date
    Feb 2008
    Location
    España
    Posts
    22

    Texture Object CG. Change.?¿

    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.

  2. #2
    Registered User
    Join Date
    May 2004
    Location
    Vancouver, WA
    Posts
    1,532
    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

  3. #3
    Registered User
    Join Date
    Feb 2008
    Location
    España
    Posts
    22
    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •