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 / Battlefield OUT OF COMAT AREA system script

Author
Message
Sven
14
Years of Service
User Offline
Joined: 3rd Feb 2010
Location:
Posted: 21st Mar 2010 19:56
How can i apply a hurt zone outside the map so if you leave the map you will hurt and a popup screen will say: return to the map or you will be shot, and a 5 second countdown and then you will die, is that possible?

Thanks!

The Imperfect Sheep
14
Years of Service
User Offline
Joined: 31st Dec 2009
Location: The virtual farmyard
Posted: 21st Mar 2010 20:26
Just so you know in the future, this isn't a request board (read the sticky by Plystire ) But, because I may need this in the future, here's the script. I haven't had time to test it, so please reply and tell me whether it works.




Sven
14
Years of Service
User Offline
Joined: 3rd Feb 2010
Location:
Posted: 21st Mar 2010 21:53
Ok, i gonna test it soon, ty

Crazy Acorn
15
Years of Service
User Offline
Joined: 16th Mar 2009
Location: Stalking people...
Posted: 22nd Mar 2010 22:29
Script dont work.....

Les Meno Squas?
zeza
16
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 22nd Mar 2010 22:52 Edited at: 22nd Mar 2010 22:53
Did you fill in here, hudimagefine=(your hud directory), and here, sound=$

Hope This Helps
ctm
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 23rd Mar 2010 12:15
There is the same condition for timerstart and timergreater=5000 (state=0) so the timer gets started again and again.
Just add a state=1 and a line to reset the state:

Sven
14
Years of Service
User Offline
Joined: 3rd Feb 2010
Location:
Posted: 25th Mar 2010 20:03
Quote: "There is the same condition for timerstart and timergreater=5000 (state=0) so the timer gets started again and again.
Just add a state=1 and a line to reset the state:"


Does this work in MP games?

Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 25th Mar 2010 20:16
;Artificial Intelligence Script

;Header

desc = Plr hurt when leaving map

;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=(your hud directory),hudname=Prompt,hudhide=1,hudmake=display,state=1

:state=1,plrwithinzone=1:timerstart,sound=$0,hudshow=Prompt,state=2
:state=2,timergreater=5000:plraddhealth=-9999
:plrwithinzone=0:state=1


;End of Script

Modified the script to work a little better.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
The Master Dinasty
16
Years of Service
User Offline
Joined: 14th Sep 2008
Location: Valhalla
Posted: 25th Mar 2010 23:20
Quote: "This board was not designed for people to ask FOR scripts, but to help each toher LEARN how to script!"


Please for heavens sake DO NOT post request here!! Look at the quote from the Master himself!


-Massap2

We are the magnificent Masters, builders of pyramids.
Sven
14
Years of Service
User Offline
Joined: 3rd Feb 2010
Location:
Posted: 27th Mar 2010 20:02
i've only asked if it's possible

Deltayo
15
Years of Service
User Offline
Joined: 2nd Sep 2009
Location:
Posted: 28th Mar 2010 02:31
Quote: "Please for heavens sake DO NOT post request here!! Look at the quote from the Master himself!
"
The Imperfect Sheep already stated this, there is no need to repeat it. Also in other matters, I was bored so I made a simple HUD for you Sven. Here is the .jpeg so you can view it.

Attachments

Login to view attachments
Deltayo
15
Years of Service
User Offline
Joined: 2nd Sep 2009
Location:
Posted: 28th Mar 2010 02:31
And here is the .dds

Attachments

Login to view attachments
The Master Dinasty
16
Years of Service
User Offline
Joined: 14th Sep 2008
Location: Valhalla
Posted: 28th Mar 2010 02:35
Quote: "i've only asked if it's possible"


I am not referring to you, i am talking to those whom seem to give away scripts all the time without even the person being slightly interested in learning scripting by their selfs.


-Massap2

We are the magnificent Masters, builders of pyramids.

Login to post a reply

Server time is: 2024-11-25 01:41:49
Your offset time is: 2024-11-25 01:41:49