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 / Gravity Quistion here

Author
Message
the programmer
18
Years of Service
User Offline
Joined: 5th Jan 2006
Location:
Posted: 30th Sep 2006 14:56
is it possible to be able to turn off gravity using a zone or somthing ??????

becuase i need some sort of water effect for my game?

cheers
the prgrammer
Blademan
18
Years of Service
User Offline
Joined: 30th Sep 2006
Location:
Posted: 5th Oct 2006 12:09
hmmm... if you puts the water like a decal...
maybe.
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 8th Oct 2006 08:51
you are talking about SWIMMING, no clip or flying is different.

I don't want to try to program it again but get the jump pad script... this is made to throw you up in the air after you land on it, via a moving an invisible platform that affects the player over all distances. I think having it use a :plrhigher=20:moveup=x
You also want a raycastdown=0 500 then allow moveup. You also want to remove the throwing part, probally something like :plrdistwithin=100:state=x.

The issue is that attempting to script this will require more testing then I would like.

:state=0:state=6,coloff,setalphafade=0

:state=5,plrdistwithin=50:associateplayer
:state=5,raycastup=0 -20:state=6
:state=5,plrhigher=20:state=6
:state=5:moveup=-8

:state=1:state=5
:state=6,raycastup=0 -500:moveup=20,state=1


Generalized, but it will need tweeking, You will fall every time you stay still and every time you jump you SHOULD be able to jump higher on the next jump. The 'water' is 500 units deep.

Wisemen are hard to find, they are tarnished by sayings and quotes that are not of their true nature.

Login to post a reply

Server time is: 2024-11-23 01:19:55
Your offset time is: 2024-11-23 01:19:55