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
Cold breath PlayerHands Entity
Litronom Offline
Member

Posts: 83
Threads: 4
Joined: Feb 2012
Reputation: 25
#1
Cold breath PlayerHands Entity

I created this entity for testing out, how to spawn particles on the player and let them follow the player permanently.
(Since I never got StartPlayerSpawnPS to work)

It came out pretty decent, so I thought of sharing it with you guys.
The best use is in cold and moldy maps and regions. Or outside at night.

The Entity is made out of an invisible cube with a single joint, where a custom made particle system is attached to.
It will spawn a white breath cloud every 3 seconds, where your players mouth is supposed to be. Every cloud lasts about 1 second.

Preview (kinda hard to see, but as I said, it's decent looking)
Spoiler below!
[Image: 4z6Z5.jpg]

Download is attached to the post.

How to use:
Just put the entity somewhere in your map, or spawn it via script.

Limitations:
You can not turn it off. I found no way of disabling a PlayerHands entity, the only way of disabling it, is to spawn a new PlayerHands entity without particles, but the old one would just stay static in midair. (If someone has a solution, please tell me about it.)
You can not use the lantern, after activating this entity. It will work again, as soon as you change the map.


Attached Files
.rar   PlayerBreathParticle.rar (Size: 7.27 KB / Downloads: 188)

(This post was last modified: 09-24-2013, 05:12 PM by Litronom.)
09-24-2013, 04:37 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#2
RE: Cold breath PlayerHands Entity

But the lantern stops working right?

09-24-2013, 05:06 PM
Find
Litronom Offline
Member

Posts: 83
Threads: 4
Joined: Feb 2012
Reputation: 25
#3
RE: Cold breath PlayerHands Entity

(09-24-2013, 05:06 PM)Amn Wrote: But the lantern stops working right?

Yes, you are right, I forgot to mention it in the post.

09-24-2013, 05:10 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#4
RE: Cold breath PlayerHands Entity

Maybe if you capture the event when the player uses the lantern, you may give back the lantern model again. And this new lantern file could have included your breath ps. Just thinking.

09-24-2013, 07:33 PM
Find




Users browsing this thread: 1 Guest(s)