t3d persistent foot prints ?
by Jeff Yaskus · in Torque 3D Professional · 01/21/2011 (3:15 pm) · 4 replies
Is there a configuration or such that controls the "life span" of foot prints and such ? I'd like them stick around about 5x as long, so you can see trails and such of the animals being hunted.
About the author
Long time gamer, hacker and programmer. With dreams of making video games -
#2
01/21/2011 (3:41 pm)
TGE had a global setting, which set the lifespan of all foot prints ... but I understand T3D uses a new decal system, so I'm not sure where to start.
#3
Datablock fields to make use of:
01/21/2011 (4:05 pm)
Looking at the source it appears that the "fade time" for each decal type is set in the decal datablock instead of using a global setting. Datablock fields to make use of:
/// Milliseconds for decal to expire.
U32 lifeSpan;
/// Milliseconds for decal to fade after expiration.
U32 fadeTime;Haven't verified that it works that way though.
#4
01/22/2011 (6:22 pm)
Thanks! I'll try setting the value to something like 50000 or such and see how it works.
Associate Michael Hall
Distracted...