Frictional Games Forum (read-only)
How can i add Breath (snow) every like.. 3 seconds.[SOLVED] - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: How can i add Breath (snow) every like.. 3 seconds.[SOLVED] (/thread-30166.html)

Pages: 1 2


How can i add Breath (snow) every like.. 3 seconds.[SOLVED] - DnALANGE - 06-25-2015

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");




RE: How can i add Breath (snow) every like.. 3 seconds. - FlawlessHappiness - 06-25-2015

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.


RE: How can i add Breath (snow) every like.. 3 seconds. - DnALANGE - 06-25-2015

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


RE: How can i add Breath (snow) every like.. 3 seconds. - Mudbill - 06-25-2015

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.


RE: How can i add Breath (snow) every like.. 3 seconds. - Traggey - 06-25-2015

We did it in Horizon too, have you tried attaching the particle effect to the lantern entity?


RE: How can i add Breath (snow) every like.. 3 seconds. - Neelke - 06-26-2015

Sorry, misunderstood.


RE: How can i add Breath (snow) every like.. 3 seconds. - DnALANGE - 06-26-2015

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


RE: How can i add Breath (snow) every like.. 3 seconds. - DnALANGE - 06-26-2015

cant get it to work!
Fog area is going everywhere!!!
How did you guys do it with your mod Traggey?


RE: How can i add Breath (snow) every like.. 3 seconds. - Traggey - 06-26-2015

You can't do it with a fog area, that won't work. You'll need to make a custom particle effect.


RE: How can i add Breath (snow) every like.. 3 seconds. - MatiCekuriel - 06-26-2015

https://www.frictionalgames.com/forum/thread-23355.html?highlight=breath Wink
The only problem is that you can't use the lantern with it :/