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 / making switches react to pressure?

Author
Message
mr splatface
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: in fpsc
Posted: 31st Mar 2006 17:13 Edited at: 31st Mar 2006 17:17
is there any way to make a certain area act as a switch when a certain weight is applied to it? so if you put a box weighing, say, 300 on it it would open a door? (using physics) sorry if this is the wrong forum
[edit] and yes i did search

' my cats breath smells like cats food' (ralph wiggum)
'purge your feelings' (darth vadar)
'a-ringdingding, dingadingabooowbaba a ringadingaDING,adingdingading!' (the crazy frog)
300 win mag
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: USA
Posted: 1st Apr 2006 02:29
Well.........You can't push and pull on FPS creator I think. But If someone made it to where you can that will be cool but good try. Sorry I cant help.

Road to Perdition a game in the making
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 1st Apr 2006 12:34
You can push boxes and things like that if they are dynamic entities.

FLA
mr splatface
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: in fpsc
Posted: 1st Apr 2006 14:26
in V1 you CAN pick up objects if you acivate physics. just click the right mouse button during the game

' my cats breath smells like cats food' (ralph wiggum)
'purge your feelings' (darth vadar)
'a-ringdingding, dingadingabooowbaba a ringadingaDING,adingdingading!' (the crazy frog)
Lost Soul
18
Years of Service
User Offline
Joined: 3rd Feb 2006
Location: Trapped in DOS
Posted: 1st Apr 2006 15:12
u could make it so an object is activated when u get within 70 of the switch

Doom,where the sanest place is behind a trigger.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 1st Apr 2006 16:39 Edited at: 1st Apr 2006 18:30
Quote: "is there any way to make a certain area act as a switch when a certain weight is applied to it?"


I don't know about an "area" but there is a way to do it with an object. I found the code somewhere on here before and used the antigravplatform as a switch. When you stepped on it, a door would open. When you stepped off, it would close, so you had to put a crate or some other object on it to keep the door open.

Can't remember where it is though. I'm sure someone else will remember.

Crazy Grandpa
PocoRev
20
Years of Service
User Offline
Joined: 10th Jun 2004
Location: Atlantic Canada
Posted: 1st Apr 2006 17:42
@ xplosys [b] That's precisely what I'm looking for at the moment. Is there anyway you could find that code?

Professional Atmospheric Skybox Textures
http://skymatter.thegamecreators.com
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 1st Apr 2006 18:27


This is the main AI script for the antigravplatform.
Be sure to put the door name in the If Used entry.

Crazy Grandpa
PocoRev
20
Years of Service
User Offline
Joined: 10th Jun 2004
Location: Atlantic Canada
Posted: 1st Apr 2006 18:38
thank you very much this is going to be a big help!

Professional Atmospheric Skybox Textures
http://skymatter.thegamecreators.com
Nerdboy
18
Years of Service
User Offline
Joined: 27th Apr 2006
Location:
Posted: 27th Apr 2006 23:28
That might not work. You'd probaly be better off trying to find a "isweightinzone" condition. My first attempt at a game had a warehouse. At one point you needed to get a heavy box into a service elevator and onto a platform to cross a gap. On the first test I got me and the box in the lift and the lift began, leaving the box behind. I don't think lifts even react to other objects.
mr splatface
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: in fpsc
Posted: 16th May 2006 22:56
thanks xplosy, thats exactly what i was looking for, i think... is there anywhere where i have to type in the required weight?

' my cats breath smells like cats food' (ralph wiggum)
'purge your feelings' (darth vadar)
'a-ringdingding, dingadingabooowbaba a ringadingaDING,adingdingading!' (the crazy frog)
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 17th May 2006 00:00
No, there is no required weight. The script only determines if anything is on the platform to open the door.

Crazy Grandpa
mr splatface
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: in fpsc
Posted: 21st May 2006 21:03
well, either way its still usefull i was going to use it to make a door that opens when you stand on the pressure pad and closes when you step off, so you have to put a box or something over it to keep the door open. thanks

' my cats breath smells like cats food' (ralph wiggum)
'purge your feelings' (darth vadar)
'a-ringdingding, dingadingabooowbaba a ringadingaDING,adingdingading!' (the crazy frog)
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 21st May 2006 21:47
That's exactly how it works.

Crazy Grandpa
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 21st May 2006 22:04
Xplosys,may i add it to the FPI-Magick Database?

Your signature has been erased by a mod because it was too beatifull to look at...
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 22nd May 2006 19:17
Yes, but don't give me credit. I altered it but as for the original, I don't remember where I got it.

Crazy Grandpa
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 22nd May 2006 22:05
OK,
I wont credit you,BUT anyone who claims credits,proof you made it and you get the credits in the Database.

Your signature has been erased by a mod because it was too beatifull to look at...
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 27th May 2006 13:30
xplosys,
Brilliant script-commercial use? (If you know, seeing as it wasn't originally created by you)

Tom

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 27th May 2006 15:37
Yes, it was given to the community do do with as you will, otherwise I would not have altered it and put it back out without the creators permission.

Crazy Grandpa
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 27th May 2006 16:30
Xplosys,
Bravo! Nice work, and my consideration goes to the original creator. This will indefinately spawn some nice new puzzles in FPSC games.

Tom

mr splatface
19
Years of Service
User Offline
Joined: 8th Jan 2005
Location: in fpsc
Posted: 30th May 2006 21:34 Edited at: 30th May 2006 21:36
[edit] woops sorry i didnt read the bit u said about it closing sorry

' my cats breath smells like cats food' (ralph wiggum)
'purge your feelings' (darth vadar)
'a-ringdingding, dingadingabooowbaba a ringadingaDING,adingdingading!' (the crazy frog)

Login to post a reply

Server time is: 2024-11-22 14:56:54
Your offset time is: 2024-11-22 14:56:54