ZeroGravRoom

A room script. It sets the player’s gravity to zero when entered, and to normal gravity when exited. This is a copy of a script used in System Shock 2.

Create a negative-gravity room that lifts the player. Then at the point you want to stop, create another room with positive gravity and add this script to it. For best results, the room boundary should be at least 0.5-1.0 units above the floor that the player will walk out onto.

Messages PlayerRoomEnter, PlayerRoomExit
Properties Room\Gravity %

Discussion




Enter your comment:
If you can't read the letters on the image, download this .wav file to get them read to you.

 
  tnhscript/zerogravroom.txt · Last modified: 2009/03/04 02:08 by telliamed
 
Recent changes RSS feed Creative Commons License Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki