Aller au contenu

Photo

Change textures for an object via script?


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
JackFuzz

JackFuzz
  • Members
  • 408 messages
Anyone know if it's possible to change textures for an object via script?

#2
Adinos

Adinos
  • Members
  • 341 messages
Don't think so, but you can presumably create a different object, using the same model but a different texture, and use a script to replace the the first object with the second one.

#3
JackFuzz

JackFuzz
  • Members
  • 408 messages

Adinos wrote...

Don't think so, but you can presumably create a different object, using the same model but a different texture, and use a script to replace the the first object with the second one.


Do you know how this can be done by any chance? 

I'm pretty knowledgeable so just a basic idea would do.

#4
Adinos

Adinos
  • Members
  • 341 messages
Not quite sure, but you would either have to move the old placeable away and ove the new in, or have them both exist in the same place, but make one invisible....and then change and make it visible and the other one invisible.

#5
elys

elys
  • Members
  • 458 messages
Maybe you could create a new appearance using the same model but with another texture, then use the function SetAppearanceType.


SetAppearanceType: Sets the AppearanceType of a creature. Can be used for character generation and shape shifting

Modifié par elys, 09 janvier 2010 - 12:11 .