RE: could someone help me out with this script\editing
In the level editor you only need 2 things for this to work:
static objects>machine>elevator
entities>special>elevator_wall01
Before I continue, I should tell you how it works. The actual elevator stands still (it is a static object), and the wall (which is a very large wall if you see it in the elevator) moves up or down, using a very specific script function. The elevator is a lie.
The function to use is:
SetMoveObjectStateExt(string& asName, float afState, float afAcc, float afMaxSpeed, float afSlowdownDist, bool abResetSpeed);
If you want the exact speed of the elevator used in the original game, you can use:
SetMoveObjectStateExt("Name_Of_Wall", 1, 2, 0, 0.2f, true);
To sell the effect that the elevator's moving, you can use particle systems to create sparks where the elevator connects with the wall and various sound effects.
Hope that helped.
I rate it 3 memes.
|