Ambient / IFL work in Show Tool, not in Game
by Brad Strong · in Artist Corner · 03/20/2007 (1:00 pm) · 1 replies
Hi All,
I've been building health patches, and have used the ThinkTanks Health patch demo files to test IFLs and ambient sequences.
My health patches, as well as the ones from ThinkTanks, look good in the Show Tool, but do not work in TGE 1.5. The textures look okay, but do not animate. The meshes look good, but do not animate.
I searched awhile on this, so I've already checked the following:
1. Make sure the sequence object has IFL Animation and Transform Animation checked.
2. Make sure IFL number of frames is same as actual sequence object number of frames.
3. Make sure sequence object is called "ambient" and is setup with same begin / end keys in curve editor.
I am using TGE 1.5 and Max 8.
Why would the ambient sequence + IFLs work in Show Tool Pro but not in TGE?
Thanks for any ideas on this!
I've been building health patches, and have used the ThinkTanks Health patch demo files to test IFLs and ambient sequences.
My health patches, as well as the ones from ThinkTanks, look good in the Show Tool, but do not work in TGE 1.5. The textures look okay, but do not animate. The meshes look good, but do not animate.
I searched awhile on this, so I've already checked the following:
1. Make sure the sequence object has IFL Animation and Transform Animation checked.
2. Make sure IFL number of frames is same as actual sequence object number of frames.
3. Make sure sequence object is called "ambient" and is setup with same begin / end keys in curve editor.
I am using TGE 1.5 and Max 8.
Why would the ambient sequence + IFLs work in Show Tool Pro but not in TGE?
Thanks for any ideas on this!
Torque Owner Brad Strong
function HealthPatch::onAdd(%this,%obj)
{
// %obj is the object being added to the world
// with %this datablock. Start up a thread on the
// new object. If the sequence is cyclic
// this animation will run continously.
%obj.playThread(0,"ambient");
}
Hope this helps someone else!