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 / Entity knocks down door

Author
Message
frenchpapa
9
Years of Service
User Offline
Joined: 14th Aug 2014
Location: No Clue
Posted: 24th Feb 2016 03:34 Edited at: 24th Feb 2016 05:25
Hi again! I am making a horror game and the player will be chased by a creature , but if the player closes the door or something the creature just get stuck on the door unless you open it. I wanted to make the creature knock down the door instead of not doing anything. This is an edit: if this cannot happen I at least want it to open doors
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 24th Feb 2016 23:52
frenchpapa
Yes it can be done, and not too hard. Look into the commands "anywithin=" any entity within a certain distance from door (in the doors script)
or "anywithinzone=" an entity in a zone placed at the door (used to activate the door) You can even give it a timer & play a banging sound before
the door opens?

Also, did you get the "trigger zone" problem solved in your previous post?
My games never have bugs. They just develop random features..
Lots and lots of random features...
frenchpapa
9
Years of Service
User Offline
Joined: 14th Aug 2014
Location: No Clue
Posted: 25th Feb 2016 00:46
anywithin is not in any of my door scripts and no the trigger zone was not fixed but im not doing that anymore
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 25th Feb 2016 10:48
Take a look at "autodoor" script. I believe it uses "anywithin" to open a door.
My games never have bugs. They just develop random features..
Lots and lots of random features...
frenchpapa
9
Years of Service
User Offline
Joined: 14th Aug 2014
Location: No Clue
Posted: 25th Feb 2016 22:35
It does have it so were do I put it in the regular door script?
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 26th Feb 2016 00:41
Quote: "were do I put it in the regular door script?"

Yes.
Also, in your "Doc's" folder there is a pdf called ocfpscguide.pdf (official community fpsc guide"
Take a look at it and read over it. There is a wealth of info in there. Alot of your questions can
be answered.
best
My games never have bugs. They just develop random features..
Lots and lots of random features...
frenchpapa
9
Years of Service
User Offline
Joined: 14th Aug 2014
Location: No Clue
Posted: 27th Feb 2016 04:11
okay now I need help with the trigger zones.
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 27th Feb 2016 17:52
frenchpapa
Ok happy you got that worked out.
Quote: "okay now I need help with the trigger zones"

Your best bet is to bump up the other thread you started on "triggers"
and maybe BlackFox can help out with some other tutorial.
All I can say is if you followed his first tut to the letter it will work flawless.
Also if you showed what you have so far the problem can be corrected
more easily ?
My games never have bugs. They just develop random features..
Lots and lots of random features...
frenchpapa
9
Years of Service
User Offline
Joined: 14th Aug 2014
Location: No Clue
Posted: 27th Feb 2016 22:56
The script that BlackFox put was right but when I copied and pasted something went wrong so his tut was right

Login to post a reply

Server time is: 2024-04-25 21:44:14
Your offset time is: 2024-04-25 21:44:14