April 25, 2024, 06:58:41 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Latest WME version:
WME 1.9.1
(January 1st, 2010) -
download
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Texture Swapping?
« previous
next »
Pages: [
1
]
Print
Author
Topic: Texture Swapping? (Read 4013 times)
0 Members and 1 Guest are viewing this topic.
mylesblasonato
Developer
Frequent poster
Karma: 0
Offline
Gender:
Posts: 265
"Give up is to fail as sacrifice is to succeed"
Texture Swapping?
«
on:
July 02, 2008, 03:38:14 AM »
Hey guys can Wintermute support texture swapping, so like if I have character and want him to blink all I have to do is swap the eye textures on the model. Also if it is possible is there a built routine so the animation is automated?
Cheers,
Myles Blasonato.
«
Last Edit: July 02, 2008, 03:40:03 AM by mylesb
»
Logged
Lead Game Designer, Royal Wins.
@mylesblasonato
@royalwins
http://au.linkedin.com/pub/myles-blasonato/26/600/a38
metamorphium
Global Moderator
Addicted to WME forum
Karma: 12
Offline
Gender:
Posts: 1511
Vampires!
Re: Texture Swapping?
«
Reply #1 on:
July 02, 2008, 07:23:51 AM »
Look into documentation for actor.SetTexture(). I don't know what you mean by automated animation though?
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet
coshoi
Lurker
Karma: 0
Offline
Posts: 1
Re: Texture Swapping?
«
Reply #2 on:
July 02, 2008, 08:25:11 PM »
By automated i think he means make the script work on a continuous loop. For example, you want the code that makes your character blink (by changing its textures) to constantly loop (and thus make your character blink periodically).
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: Texture Swapping?
«
Reply #3 on:
July 02, 2008, 08:42:13 PM »
Remember you can also use WME sprites (i.e. animations) for textures, or even theora videos in the latest version.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
mylesblasonato
Developer
Frequent poster
Karma: 0
Offline
Gender:
Posts: 265
"Give up is to fail as sacrifice is to succeed"
Re: Texture Swapping?
«
Reply #4 on:
July 16, 2008, 05:48:42 AM »
Thanks for all your answers guys and Coshoi is right thats what I want, a continuous loop
Cheers,
Myles Blasonato.
Logged
Lead Game Designer, Royal Wins.
@mylesblasonato
@royalwins
http://au.linkedin.com/pub/myles-blasonato/26/600/a38
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
Texture Swapping?