Page 1 of 1

Elevator (no script)

Posted: Mon Dec 10, 2012 3:42 am
by Rook
I've been messing around with a way to create an elevator.
The elevator function basically works with with teleporters on a delay. The delay is created using a spawner and receptor.
I found using the spawner/receptor to be a nice substitute for people who haven't got the hang of scripting.
It's also nice for a visual representation of the delay.

To add more realism, you can simply add a little screen shake script.

Link these scripts to the elevator button.

Initiation shake

Code: Select all

function buttonconnect()
     party:shakeCamera(0.5, 0.5)
end
Movement shudder (change the duration property (currently "2") in conjunction with your receptor delay.

Code: Select all

function buttonconnect()
     party:shakeCamera(0.1, 2)
end
Link this script to the receptor.

Landing shake

Code: Select all

function buttonconnect()
     party:shakeCamera(0.5, 0.5)
end

Here is a (very bad) image guide.
SpoilerShow
Image
*Note: On step 2 - The hidden pressure plate should toggle the door, not close. My mistake. :oops:


If anybody has anything to add to this elevator method, it would be appreciated.