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 / Manual Lift Script

Author
Message
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 9th Oct 2006 16:33
Assign this script to the antigravlift (not antigravplatform) AI Main. The script uses the Page Up key for up and the Page Down key for down. You can stop the lift and get back on at any floor.

If you step off the lift and fall, it will not come back to you. You must be standing on it to use it. If however you can climb back up to it, it will work again once you stand on it.





The code can be altered to work with other lifts and entities. You will need to change the plrhigher and raycast values to suite the model you use. Now if we can just get it to move horizontally.

Happy game making.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

flashing snall
19
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 9th Oct 2006 18:01
SWEETNESS! that is wicked cool. Is it possible to make it so you hit page up, and it will go in burts, like hit it once and you go up one block.... thanks alot dude!

http://i46.photobucket.com/albums/f128/flashingsnall/banner-1.jpg
Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 10th Oct 2006 01:39
awesome, thanks man!

by the way, does it stop at the next floor, or go to the top of the tube?

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Oct 2006 16:00 Edited at: 10th Oct 2006 16:01
It goes as high or as low as you want and it does not recognize floors. When you press Page Up, it goes up and when you press Page Down, well you know. When you take your finger off the key, it stops. You stop it where you want and you don't need to use the "tube" if you don't want to. In fact, it may serve better in open spaces.

This just give you more control over the lift. It also allows you to move to multiple floors in any order you choose without having multiple lifts.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Luke314pi
18
Years of Service
User Offline
Joined: 11th Apr 2006
Location: Minneapolis, MN
Posted: 10th Oct 2006 17:57
This is awesome, thanks alot!

Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 11th Oct 2006 01:39
Quote: "When you take your finger off the key, it stops"


wow, that is even better!!

thanks!!

spex_guy
17
Years of Service
User Offline
Joined: 9th Dec 2006
Location: coming to a forum near you!!!
Posted: 5th Jan 2007 22:55 Edited at: 5th Jan 2007 22:56
Cool! Thanks.

I've got a question. Why would you want to subtract health from the plr?
Quote: ":state=8,raycastup=20 80:state=1,plraddhealth=-1"


Man, I wish I knew what "spex" meant.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 5th Jan 2007 23:52
Because the lift doesn't recognize floors, if you go too high you crush yourself on the ceiling. If you don't want it to do that, just remove it.

I'm sorry, my answers are limited. You must ask the right question.

JohannesM
19
Years of Service
User Offline
Joined: 22nd Nov 2005
Location: Espoo, Finland
Posted: 6th Jan 2007 11:44
@ xpolsys

Wicked script! I have an idea! Use the base of this script so that when you go on it it keeps going up and you get crushed. That would be a really good trap.

Try it!

JM

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 6th Jan 2007 15:15
Good job,xplosys.

GeoNeo
18
Years of Service
User Offline
Joined: 13th Jun 2006
Location: Canada
Posted: 7th Jan 2007 19:02
this is great. Thanks xplosys

GeoNeo
tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 8th Jan 2007 21:27
Great script!

i got an idea. Your script uses the page up and down keys to move in their relative dimensions. Would it be possible to assign keys for forwards, backwards, left and right? Or is this not coded into the engine yet?

If this is possible then people could create land vehicles, and even air vehicles using the page up and down keys aswell!

Woot Kingdom hearts owns!
Phlum
18
Years of Service
User Offline
Joined: 30th Jul 2006
Location:
Posted: 24th Jan 2007 17:14 Edited at: 24th Jan 2007 17:16
Xplosys, this is really helpful, thanks!
Just one question...
Quote: "assign this script to the antigravlift (not antigravplatform) AI Main"

I'm confused. What does it mean?
Sorry to sound nooby...

-Contented Phlumetoid

EDIT: Found it! I though it was in Segments, but it's in Entities.
Thanks again!

[center]
rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 24th Jan 2007 17:48
Really clever and handy piece of work xplosys,many thanks.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 24th Jan 2007 18:00
Quote: "If this is possible then people could create land vehicles, and even air vehicles using the page up and down keys aswell!"


So true. If you figure it out, please let us all know. The actions which seemingly should allow us to script this (movefore/moveback) don't work as they should.

I'm sorry, my answers are limited. You must ask the right question.

tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 26th Jan 2007 08:17 Edited at: 26th Jan 2007 08:20
already been at it xplosys.

thread

butters is trying it with emptys mod for me to see if he can get it to work. The up down and change directions work. But forwards and backwards we are trying to alter.

Woot Kingdom hearts owns!
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 26th Jan 2007 15:13
If anybody can do it, he can. I tried what I knew for a while, but Butters thinks outside the box so he may get it. If he does, we'll see a whole new slew of flight scripts. lol

Best.

I'm sorry, my answers are limited. You must ask the right question.

Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 27th Jan 2007 04:02
while this thread is active again I have a question, is there any way to make it so that the lift doesn't fall back to the ground after you step off it?


Be sure to check the forum for special offers, and free stuff!
tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 27th Jan 2007 16:10
Yer i really hope he can get my script working too.

Woot Kingdom hearts owns!
Johny English
18
Years of Service
User Offline
Joined: 16th Jul 2006
Location: Czech Republic
Posted: 27th Jan 2007 23:39
Its possible use it on the antigravity platform?

SIXOFT - This is not just a game, this is a SIXOFT game.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 27th Jan 2007 23:44
Quote: "Assign this script to the antigravlift (not antigravplatform) AI Main."


I'm sorry, my answers are limited. You must ask the right question.

Johny English
18
Years of Service
User Offline
Joined: 16th Jul 2006
Location: Czech Republic
Posted: 28th Jan 2007 10:12
Thats bad for me.

SIXOFT - This is not just a game, this is a SIXOFT game.
lozza
18
Years of Service
User Offline
Joined: 9th Mar 2006
Location: Somewhere over the rainbow
Posted: 28th Jan 2007 21:14
Wow this is so cool. It can be like abroken down lift. You have to do it yourself. Wicked!
Phlum
18
Years of Service
User Offline
Joined: 30th Jul 2006
Location:
Posted: 10th Feb 2007 17:06
bump This is too cool to die.

[center]
Johnathon
17
Years of Service
User Offline
Joined: 20th Feb 2007
Location: South Park
Posted: 19th Mar 2007 10:41
Please post step by step! Thanks

Login to post a reply

Server time is: 2024-11-27 05:13:52
Your offset time is: 2024-11-27 05:13:52