Ricebug on 10/2/2015 at 17:43
I'm creating a ghost who will provide a narration to the player. So I was wondering if it'd be possible to attach an animated texture to an AI, then give the ghost a sort of shimmering effect as different parts of it appear to phase in and out, shifting back and forth from invisible to visible. Can I pull it off with .mtl files?
Any ideas are welcome.
nicked on 10/2/2015 at 18:53
You can switch an AI's skin on the fly for sure, though I'm not sure on the specifics. So you could have multiple skin variations with shifting translucent parts, yes.
ZylonBane on 10/2/2015 at 19:16
I want to say that MTLs aren't supported on AI meshes, but I'm not 100% sure. They might just be very limited.
LarryG on 10/2/2015 at 19:37
I don't know why normal animated textures (no mtl file) wouldn't work. Have you tried? ref. (
http://www.ttlg.com/forums/showthread.php?t=100283). That tutorial is old, and I believe the limit on the number of frames is now 99, but this approach is what is used on the robot boiler texture to animate it.
Ricebug on 10/2/2015 at 19:37
Quote Posted by ZylonBane
I want to say that MTLs aren't supported on AI meshes, but I'm not 100% sure. They might just be very limited.
I just tried adding some run-of-the-mill shine on an AI and it didn't work.
LarryG on 10/2/2015 at 20:36
Try something obvious, like color changes. Look at the robot boiler textures to make sure you named your textures properly. LGS animated textures work on meshes. So yours should too if you follow the pattern.
i.e. Furn_.gif, Furn_1.gif, Furn_2.gif, ..., Furn_11.gif in Mesh/Txt16. In robotcom.bin the texture reference is to Furn_.gif, so you need to make sure that your mesh refers to the base texture name.
R Soul on 10/2/2015 at 21:01
Quote Posted by Ricebug
I just tried adding some run-of-the-mill shine on an AI and it didn't work.
If you mean like the reflection effect on windows, the texture needs an alpha channel. White = more reflection.
Also, try adding corona with a few frames. If you can find some smoke animation frames they could create a nice effect.
GORT on 11/2/2015 at 13:32
Material files don't work on AI models. Otherwise, I would have all of my golden combat bots shining in areas.
Ricebug on 11/2/2015 at 13:43
Thanks, GORT. I think some of us are getting confused between animating textures and applying material FX via MTL scripts.
I'm looking at how to do an etheral, shimmering, fade-in/fade-out effect. And, can it be done using MTL scripting. Looks like it's not possible, unless someone wants to upload a demo.
GORT on 11/2/2015 at 13:51
Sounds interesting. I wonder if we can do this with NV's script by using NVPhantomTrap.
I may have to test that out.