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 / I need help with these 3 questions HELP! PLEASE

Author
Message
Super Gamer Jack
16
Years of Service
User Offline
Joined: 6th Mar 2008
Location:
Posted: 6th Mar 2008 20:55
As the nake says I need help with 3 questions that link.

Question 1:
can anyone give me a script so when I walk into a trigger zone gas falls from the roof and the door locks and cant be opened ever again....

Question 2:
then when I walk into a second trigger zone the room is full of gas and a hurt zone appears and kills you slowley if you dont get out and then you have to smash a window....

Question 3:
on the over side of the window is a third trigger zone which [the hard bit] clears the gas and gets rid of the trigger zones and the hurt zone....

so then its just a room with a locked door and a broken window and any items I place in PLEASE HELP if this is possible
Keo C
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location: Somewhere between here and there.
Posted: 7th Mar 2008 02:05 Edited at: 7th Mar 2008 02:05
Hmmm. I could do all of that with fog. When should I start?


Image made by the overworked Biggadd.
Super Gamer Jack
16
Years of Service
User Offline
Joined: 6th Mar 2008
Location:
Posted: 8th Mar 2008 12:05
please help me I'm new and clueless
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 9th Mar 2008 00:33 Edited at: 9th Mar 2008 00:48
I'll get ya started.

1. Partial answer see following script. Put script in "Main" of door entity.



Door will close and you won't be able to use it to get back out. It is locked up tight.

Fog can be used to emulate the gas. You won't be able to see it fall from the ceiling but you can make it slowly become thicker and more visible. You will need to somehow tell the player that this gas by using perhaps a hud. He can be like thinking to himself that this is gas.

I have not used "fog" yet so am not sure how to do this. But I am sure it can be done.

2. Fog is used here as well. Just place a hurt zone in this room. It can't just appear but you can adjust how slowly the player loses their health by tweaking the script that is in "Main" for hurt zone.



You can adjust the timergreater to be longer before health is depleted or faster. Too much faster you might as well not have the delay.

You can't get rid of the gas by getting rid of the fog. You can't make the trigger zones disappear but you can programmatically make sure the health is no longer being depleted. I'm not exactly sure of the sequence of events here but once you get out the window you are out of the trigger zone anyway and it takes care of itself except for maybe the fog I guess. The "hurt" will only take place within the zone.
Super Gamer Jack
16
Years of Service
User Offline
Joined: 6th Mar 2008
Location:
Posted: 9th Mar 2008 00:53
cool thanks this can help alot

Login to post a reply

Server time is: 2024-11-24 06:49:54
Your offset time is: 2024-11-24 06:49:54