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 / Requests!!!

Author
Message
gozzy1999
13
Years of Service
User Offline
Joined: 11th Jun 2011
Location: in the closet
Posted: 11th Dec 2011 20:19
This is a thread of script requests for scripters who want to make free scripts to look at, please post scripts for scripters to try and script.

I would like to start by asking if someone could make me a script that electrocutes people and if shot in water electrocutes the water. is this even possible?

''Make sure your hands are clean before you point the finger''
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 11th Dec 2011 20:37
you can put a hurtplrinzone in the same area as a waterzone, that might not work because it will hurt the player wven when jumping so put the hurt script right in the water zone

:state=0,plrwithinzone=1:water=1,waterfogdist=2000,waterheight=10,state=1

:state=5,plrwithinzone=1,plrhigher=10:etimerstart,state=6
:state=6,plrwithinzone=1,etimergreater=100,plrhigher=0:plraddhealth=-1,state=5
:state=6,plrwithinzone=1,etimergreater=100,plrhigher=10:plraddhealth=1,state=5


change the states around to fit in the water zone or whatever

I appear to have burst into flames...
gozzy1999
13
Years of Service
User Offline
Joined: 11th Jun 2011
Location: in the closet
Posted: 11th Dec 2011 21:03
could you tell me how to start of that script. sorry im new to scripting. havent scripted a thing.

''Make sure your hands are clean before you point the finger''
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 11th Dec 2011 21:29
I made that to be put straight into a trigger zone but I didn't test it

I appear to have burst into flames...
gozzy1999
13
Years of Service
User Offline
Joined: 11th Jun 2011
Location: in the closet
Posted: 12th Dec 2011 08:48
Quote: ":state=0,plrwithinzone=1:water=1,waterfogdist=2000,waterheight=10,state=1

:state=5,plrwithinzone=1,plrhigher=10:etimerstart,state=6
:state=6,plrwithinzone=1,etimergreater=100,plrhigher=0:plraddhealth=-1,state=5
:state=6,plrwithinzone=1,etimergreater=100,plrhigher=10:plraddhealth=1,state=5
"

so i put that in to a script like that with nothing else or do i have to add anything??

''Make sure your hands are clean before you point the finger''
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 12th Dec 2011 15:36
that should be fine, if it doesn't work try tweaking the plrhighter conditions

I appear to have burst into flames...
gozzy1999
13
Years of Service
User Offline
Joined: 11th Jun 2011
Location: in the closet
Posted: 12th Dec 2011 18:08 Edited at: 12th Dec 2011 18:10
ok one more thing do i do
Quote: ";start of script"

Quote: "triggers"

Quote: "end of script"


''Make sure your hands are clean before you point the finger''
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 12th Dec 2011 23:32
things with semicolons are not required, a semicolon represents a line that has nothing to do with the code, it is just for the person doing the scripting to keep track of different segments of code

I appear to have burst into flames...
gozzy1999
13
Years of Service
User Offline
Joined: 11th Jun 2011
Location: in the closet
Posted: 13th Dec 2011 08:49
ok, thank you for your help

''Make sure your hands are clean before you point the finger''

Login to post a reply

Server time is: 2024-11-24 04:30:18
Your offset time is: 2024-11-24 04:30:18