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
How can i add Breath (snow) every like.. 3 seconds.[SOLVED]
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#1
How can i add Breath (snow) every like.. 3 seconds.[SOLVED]

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: (Select All)
//// 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");

(This post was last modified: 06-26-2015, 09:32 PM by DnALANGE.)
06-25-2015, 09:20 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: How can i add Breath (snow) every like.. 3 seconds.

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.

Trying is the first step to success.
06-25-2015, 09:21 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#3
RE: How can i add Breath (snow) every like.. 3 seconds.

(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!
(This post was last modified: 06-25-2015, 09:24 PM by DnALANGE.)
06-25-2015, 09:24 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: How can i add Breath (snow) every like.. 3 seconds.

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.

06-25-2015, 10:25 PM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#5
RE: How can i add Breath (snow) every like.. 3 seconds.

We did it in Horizon too, have you tried attaching the particle effect to the lantern entity?
06-25-2015, 11:46 PM
Find
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#6
RE: How can i add Breath (snow) every like.. 3 seconds.

Sorry, misunderstood.

Derp.
(This post was last modified: 06-26-2015, 07:15 AM by Neelke.)
06-26-2015, 07:14 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#7
RE: How can i add Breath (snow) every like.. 3 seconds.

(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.
(This post was last modified: 06-26-2015, 10:04 AM by DnALANGE.)
06-26-2015, 10:04 AM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#8
RE: How can i add Breath (snow) every like.. 3 seconds.

cant get it to work!
Fog area is going everywhere!!!
How did you guys do it with your mod Traggey?
06-26-2015, 11:26 AM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#9
RE: How can i add Breath (snow) every like.. 3 seconds.

You can't do it with a fog area, that won't work. You'll need to make a custom particle effect.
06-26-2015, 12:13 PM
Find
MatiCekuriel Offline
Member

Posts: 79
Threads: 11
Joined: Aug 2012
Reputation: 3
#10
RE: How can i add Breath (snow) every like.. 3 seconds.

https://www.frictionalgames.com/forum/th...ght=breath Wink
The only problem is that you can't use the lantern with it :/
06-26-2015, 06:10 PM
Find




Users browsing this thread: 1 Guest(s)