Frictional Games Forum (read-only)
Appearing footsteps trail - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Appearing footsteps trail (/thread-6290.html)



Appearing footsteps trail - nekrodamus - 01-20-2011

Well, this is the first thing I can't figure out by myself...Angry
I'm trying to made a footsteps trail appears when the player enters an area.
The idea was to create the decals deactivated in the level editor and then activate them with a script when the player enters the area... But i can't create the decals deactivated...Sad
Then i thought i could create the decals with a 0x0 size and resize them in the script so they "appear" magically, but i don't know how to do it either...Undecided
How can I do that trail appears from the thin air?Huh
Thanks!


RE: Appearing footsteps trail - Shev - 01-20-2011

I think if you make it a object, have the script deactivate it OnEnter() and then activate it when you want the player to see it.


RE: Appearing footsteps trail - nekrodamus - 01-20-2011

(01-20-2011, 01:31 AM)Shev Wrote: I think if you make it a object, have the script deactivate it OnEnter() and then activate it when you want the player to see it.

And this is the newbie question... How can i transform a decal to an object? Which tool must i use?


RE: Appearing footsteps trail - Shev - 01-20-2011

(01-20-2011, 03:32 AM)nekrodamus Wrote:
(01-20-2011, 01:31 AM)Shev Wrote: I think if you make it a object, have the script deactivate it OnEnter() and then activate it when you want the player to see it.

And this is the newbie question... How can i transform a decal to an object? Which tool must i use?

Just go into static objects (red block on the left), and click decals (it'll be in the drop down box on the right). Theres also entities but I think thats just blood pools.


RE: Appearing footsteps trail - nekrodamus - 01-20-2011

(01-20-2011, 04:58 AM)Shev Wrote: ...
Just go into static objects (red block on the left), and click decals (it'll be in the drop down box on the right). Theres also entities but I think thats just blood pools.

I found the decals i can use, but in entities (the ones in object didn't work either), and yes, there are only blood spatters, but they'll do the job anyway with some timers and all, the bloody trail is ready and working!
Thanks a lot! Now i have a little problem with the sound, so i'll open another thread. Thanks again!