Teardown

Teardown

101 ratings
Elevator
   
Award
Favorite
Favorited
Unfavorite
Type: Content
File Size
Posted
Updated
8.005 MB
25 Jun, 2021 @ 7:42pm
10 Oct, 2021 @ 2:22am
3 Change Notes ( view )

Subscribe to download
Elevator

Description
Showcase of my elevators that you can use in your own maps.
It has a button panel in elevator cabin which allows you to enter any floor number and displays the current floor. You can also call the elevator to any floor by pressing the up/down buttons on that floor.

As seen in my Acacia Apartments map.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2498343049

How to use
  1. Make a local copy of this project then copy the "elevator" folder into your own project.
  2. Create a script node in the scene and set the file to "MOD/elevator/elevator.lua". All elevator components must go under this node. Set param0 to "id=1", see note below.
  3. Add a cabin instance (MOD/elevator/cabin.xml) under the script node.
  4. Add one or more floor instances (MOD/elevator/floor.xml) for each floor the elevator should stop at. The floor instance also contains the doors and buttons for that floor.
  5. Make sure the back wall of the elevator shaft is no more than 2 or 3 voxels (0.2-0.3 meters) away from the back of the cabin. Any further and the motor joint won't attach. However, in that case you can can move the joint to a better position.
  6. Enjoy!

NOTE: The "id" script parameter is to associate the elevator script (elevator.lua) with the cabin's button panel script (elevator-screen.lua). The id here is set to "1".
To have more than one elevator in a map, you will need to copy the cabin.xml prefab then edit it and find the "numpad" screen node. Set it's "id" tag to something else (e.g. "2"). Then set the second script "id" param to the same value.
I will look at making this easier in the future.

NOTE2: Riding in the elevator is very bumpy, but I think that's just due to Teardown's physics engine. There doesn't seem to be anything I can do about it.


Credit to MrFox2000 A.K.A Deffcolony for the elevator motor sound.
51 Comments
lelicravoecanela 10 May @ 5:45am 
good
Mr Cruz 13 Apr @ 3:56am 
I have a problem, the elevators doors are opening but the floors doors arn´t opening. Plus i can interact with the elevator buttons but when i click on one of the buttens nothing happens. But the elevator can go up and down via the outside controll buttons. btw good mod:steamhappy:
baabbott86 12 Apr @ 11:45am 
can you make this spawnable?
mat3535 2 Jan @ 10:16am 
It's good
mat3535 2 Jan @ 10:15am 
help im stuck in the elevator....
bob 15 Sep, 2024 @ 1:19am 
no
dead space 8 Aug, 2024 @ 2:03pm 
░░░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█Help
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█ Doge
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█ Take
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌ Over
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█ Steam
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█▌ Copy
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█ And
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█ Paste
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌█▌him
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓▌█▌DO IT
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓;
wallien.jam 20 Jul, 2024 @ 3:18am 
ЁЬАННЫЙ УЖАС:steamthumbsup:
AKANO_BUNA 6 Jul, 2024 @ 1:41am 
ground floor to 8th floor door is won't open
Igor_Al88 2 May, 2024 @ 10:59am 
it doesn't work for me, doors won't open etc