Hey all,
I already had this script once but I lost it. And I can´t find how to make it again. :no:
How I can make the real time properties of a texture be controlled by a property with python?
Like when the property is 1, image = 1 etc.
Thanks.
Hey all,
I already had this script once but I lost it. And I can´t find how to make it again. :no:
How I can make the real time properties of a texture be controlled by a property with python?
Like when the property is 1, image = 1 etc.
Thanks.
I don’t quite know what you mean. If you mean texture switching, there’s an example in my signature. If you mean something else, you’ll have to be a bit more specific.
could it be that you mean a modified version of the UV-Scroll script?
Joeman your script could also work well.
But what I actually ment what monster sais.
just a post to get it to the top of forum again
I do not have the UV-Scroll script here. As far as I remember there is a property “speed” or so. You need to explicit set this property.
I hope the vague hint helps a bit.
Here is a link to a UV-Scroll script. http://blenderartists.org/forum/showthread.php?t=146155&highlight=bullethole+parrent
Thanks!
But uhm… I don´t wanna be annouying or anything… xD But I need the script to controll the uv and stay at the new spot.
It´s for changing face textures on a guy.
If you use -[Killer]-'s script, the uv changes with each execution of the python controller.
You you should only activate the controller when you want to change the uv.
and you need to add:
cont = ...
if not cont.sensors[0].positive:
return
to make sure it is executed on positive pulses only.
I hope it helps
Thanks so much!
But I just realized I’m being stupid. I need this script to change the face expressions on the character… And with that also save them.
So in 1 texture, I have 3 face expressions next to each other, and when the property is 1, the uv goes to the 1st one… when the property is 3, it jumps to the 3rd etc.