For use with Railcraft Mod.
[media]http://www.youtube.com/watch?v=KuvnpW-fmxg[/media]
Description
Your elevator may have as many floors as you wish. - They discover each other automatically.
Computer console with modem on each floor wired to; the elevator, a cart detector and a boarding (or holding) rail.
The user arrives at the boarding or holding rail and activates the computer. They see this:
The number is the height coordinate. They use the up/down arrow keys to select their destination and then press Enter. They are then moved onto the elevator by the boarding rail.
The console at the destination floor displays the message "Incoming cart, Please clear the track". All other consoles display the message "Elevator busy, please wait" and do not accept input until the cart has cleared the elevator.
Physical Setup
MineFactory Reloaded:
RedPower2:
The three colours are currently (2.2.0b) hard coded as easily accessible variables at the top of the program.
Software Installation
Pastebin code: VYwxa3su
Using the pastebin API:
1. Right click the computer and type: pastebin get VYwxa3su setup and press Enter/Return
2. Type setup and press Enter/Return
3. Follow the on screen instructions
Manual installation:
Setup wizard: http://pastebin.com/VYwxa3su
Main elevator control program: http://pastebin.com/iJWyUQVr
Very important note on using GPS
GPS can not work if all the hosts are on one axis. For example if all your hosts are exactly vertically above/bellow eachother it won't work. Place a computer off to the side and run gps host x y z
Feedback welcome. Please report any bugs or problems so I can fix them!
ComputerCraft + Railcraft: Elevator Control by Hamish Robertson aka OminousPenguin is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.