Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Appearing footsteps trail
nekrodamus Offline
Junior Member

Posts: 8
Threads: 3
Joined: Jan 2011
Reputation: 0
#1
Appearing footsteps trail

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!
01-20-2011, 01:17 AM
Find
Shev Offline
Member

Posts: 238
Threads: 25
Joined: Dec 2010
Reputation: 0
#2
RE: Appearing footsteps trail

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.

i spam meme 4 raeg
(This post was last modified: 01-20-2011, 01:35 AM by Shev.)
01-20-2011, 01:31 AM
Find
nekrodamus Offline
Junior Member

Posts: 8
Threads: 3
Joined: Jan 2011
Reputation: 0
#3
RE: Appearing footsteps trail

(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?
01-20-2011, 03:32 AM
Find
Shev Offline
Member

Posts: 238
Threads: 25
Joined: Dec 2010
Reputation: 0
#4
RE: Appearing footsteps trail

(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.

i spam meme 4 raeg
(This post was last modified: 01-20-2011, 04:59 AM by Shev.)
01-20-2011, 04:58 AM
Find
nekrodamus Offline
Junior Member

Posts: 8
Threads: 3
Joined: Jan 2011
Reputation: 0
#5
RE: Appearing footsteps trail

(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!
01-20-2011, 06:22 AM
Find




Users browsing this thread: 1 Guest(s)