[Solved] How to create a animated decal when player is corpse?
by J0linar · in Torque 3D Beginner · 06/25/2013 (6:07 am) · 6 replies
Hi there
i do know how to create decals and such
but how would i go about creating a animated decal
that leaves the corpse of a player
therefore when the player is dead?
any tip and help would be really appreciated
thx
i do know how to create decals and such
but how would i go about creating a animated decal
that leaves the corpse of a player
therefore when the player is dead?
any tip and help would be really appreciated
thx
About the author
http://j0linar.blogspot.co.at/
#2
well, i want the decal to leave the body only when it`s a corpse
and the decal should not be on the corpse itself
but under it/ like a bowl of soup that leaves it
if you know Raven`s Ghoul2 System
www.youtube.com/watch?v=5VsotpwBiBs
that shows the effect what i want to achieve
when the player is a corpse the blood slowly leaves the body
-reason for not directly embeding teh video is well the gore
amhh can you elaborate on that
...Use the animated "frames" setting in the material?
sry if i have missed something but i don`t see how that would work
06/25/2013 (6:41 am)
Ye thats what i want to achievewell, i want the decal to leave the body only when it`s a corpse
and the decal should not be on the corpse itself
but under it/ like a bowl of soup that leaves it
if you know Raven`s Ghoul2 System
www.youtube.com/watch?v=5VsotpwBiBs
that shows the effect what i want to achieve
when the player is a corpse the blood slowly leaves the body
-reason for not directly embeding teh video is well the gore
amhh can you elaborate on that
...Use the animated "frames" setting in the material?
sry if i have missed something but i don`t see how that would work
#3
06/25/2013 (7:16 am)
Either create a new system for dynamically enlarging decals (AFX2 actually has something like this), or keep adding larger decals over a period of time in stock code.
#4
i mean dynamclly enlarging decals? for what purpose
when that can be done with a animated texture
the only problem i face is how to actually make the corpse
bleed out and leave a blood soup decal under it
well anyways thx for your time/ suggestions
06/25/2013 (11:03 am)
that doesn`t really fiti mean dynamclly enlarging decals? for what purpose
when that can be done with a animated texture
the only problem i face is how to actually make the corpse
bleed out and leave a blood soup decal under it
well anyways thx for your time/ suggestions
#5
singleton Material(
{
diffuseMap[0] = "art/shapes/examples/bloodpool_sequence";
sequenceSegmentSize = 1 / 15; // 1 / numFrames
sequenceFramePerSec = 1;
};
Ron
06/25/2013 (11:46 am)
create your decal out of a sprite sheet... within the sheet just gradually make your bloodpool larger then in the decal script tell it to use sprite 1 through 12 or whatever you end up with. Sorta Script below;singleton Material(
{
diffuseMap[0] = "art/shapes/examples/bloodpool_sequence";
sequenceSegmentSize = 1 / 15; // 1 / numFrames
sequenceFramePerSec = 1;
};
Ron
#6
Steves shadow has beaten us both
www.garagegames.com/community/forums/viewthread/122833
funny thing isn`t it? hehe
well thank you both for taking the time to answer
06/25/2013 (12:53 pm)
hey thx Ron but hellSteves shadow has beaten us both
www.garagegames.com/community/forums/viewthread/122833
funny thing isn`t it? hehe
well thank you both for taking the time to answer
Associate Steve Acaster
[YorkshireRifles.com]
Use the animated "frames" setting in the material?