Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / How can I make a fire decal hurt the player?

Author
Message
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 13th Feb 2010 21:52
Title.

Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 14th Feb 2010 00:19
Use a hurt zone where the fire is.

"And we played the first thing that came to our heads...Just so happened to be... the best song in the world...

it was the best song in the world..."
zeza
16
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 14th Feb 2010 00:47
Look in the guide, there was a script for this

Hope This Helps
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 14th Feb 2010 03:54
It's just a standard script, like below:

:state=0:state=1
:state=1,plrdistwithin=40:plraddhealth=-1


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Snipesoul
17
Years of Service
User Offline
Joined: 29th Aug 2007
Location: Somewhere in New York...
Posted: 14th Feb 2010 04:57
You can do the above, or if you want a little more complicated one that hurts the player every half-second, try this one:

:loopsound=audiobank/atmos/firehum.wav

:state=0:rundecal=2
:state=0,plrdistwithin=40:timerstart,plrsubhealth=10,state=1

:state=1,plrdistfurther=40:state=0
:state=1,timergreater=500:timerstart,plrsubhealth=10,state=2

:state=2,plrdistfurther=40:state=0
:state=2,timergreater=500:timerstart,plrsubhealth=10,state=1

If you use this, change the repeatsound.fpi in the appear script to appear1.fpi

I recommend not using hurt zones, because it would give the appearance of hurting the player in an unreasonable range from the fire.
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 17th Feb 2010 00:56
Thanks everyone.

Login to post a reply

Server time is: 2024-11-25 02:52:08
Your offset time is: 2024-11-25 02:52:08