The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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: 189)

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


Messages In This Thread
Cold breath PlayerHands Entity - by Litronom - 09-24-2013, 04:37 PM
RE: Cold breath PlayerHands Entity - by Daemian - 09-24-2013, 05:06 PM
RE: Cold breath PlayerHands Entity - by Litronom - 09-24-2013, 05:10 PM
RE: Cold breath PlayerHands Entity - by Daemian - 09-24-2013, 07:33 PM



Users browsing this thread: 1 Guest(s)