Frictional Games Forum (read-only)

Full Version: How can i add Breath (snow) every like.. 3 seconds.[SOLVED]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How is it possible to have a breathing Like a small fogarea...

I am trying and trying........
I can get it to work, only it seems that the fog only works when walking in 1 direction..
When i walk to x for example it works..
When i walk in a Z direction the fog isnt showing, only on the side of the player..

Any help would be required and apreciated here.
Thanks!

Have this script set up for the fog to show up every.. seconds.

PHP Code:
//// Timer which creates Breath at the player 
void Refresh_Snow(string &in asTimer)
{

CreateParticleSystemAtEntityExt("Snowy""Snow_Breath_28.ps""Player"false,1111false0077);

AddTimer("Refresh_Snow"0.25f"RemoveFog");
}
 
void RemoveFog(string &in asTimer)
{
DestroyParticleSystem("Snowy"); 
DestroyParticleSystem("Snowy"); 
AddTimer("Refresh_Snow"2"Refresh_Snow");

The player only has 1 direction. It never changes, which is a problem for adding particle areas at the player.

I can only suggest making the particle symmetrical around the y-axis, so that it looks the same anywhere you look.
(06-25-2015, 09:21 PM)FlawlessHappiness Wrote: [ -> ]The player only has 1 direction. It never changes, which is a problem for adding particle areas at the player.

I can only suggest making the particle symmetrical around the y-axis, so that it looks the same anywhere you look.

That would never work..
It need to be a breath.. like out the mouth not from all sides (or a too big area of fog)..
Dont think this is just possible with HPL2

Hopefully will work en HPL3

Thanks anyways Flawless!
Litronom did something like this in one of his stories, I believe it was It's Hurting My Eyes 2. There's an ice level with it.
We did it in Horizon too, have you tried attaching the particle effect to the lantern entity?
Sorry, misunderstood.
(06-25-2015, 11:46 PM)Traggey Wrote: [ -> ]We did it in Horizon too, have you tried attaching the particle effect to the lantern entity?

Thanks Traggey, will give that a try.

(06-25-2015, 10:25 PM)Mudbill Wrote: [ -> ]Litronom did something like this in one of his stories, I believe it was It's Hurting My Eyes 2. There's an ice level with it.

I will also check this out, otherwise ill try adding it to the lantern as Traggey adviced.
cant get it to work!
Fog area is going everywhere!!!
How did you guys do it with your mod Traggey?
You can't do it with a fog area, that won't work. You'll need to make a custom particle effect.
https://www.frictionalgames.com/forum/th...ght=breath Wink
The only problem is that you can't use the lantern with it :/
Pages: 1 2