Niverton Posted May 11, 2014 Posted May 11, 2014 (edited) Hey, M1r077 asked to see my RIM lift, so I'm making this post Here is an imgur album of the lift I use RIM controlled by CC's computers, I commented them in English (I have a bad English). They all work, I just tested them, however, there are constants at the start of the scripts you may need to change according to your setup, like the side of the modem, the controller, or adapt your screen size The lift's "motor": pastebin get EgCcCsg8 startup The call button: pastebin get imBR1Zs2 startup The screen's script: pastebin get R1T6yuHj startup The API used in the screen's script: pastebin get bJC6XrfH screenAPI If you find a bug, have a question or a suggestion, please go ahead, I'll be happy to help/get helped Edited September 12, 2014 by Niverton planetguy and Silmenume 2 Quote
M1r077 Posted May 11, 2014 Posted May 11, 2014 Thanks dude I'll inspire from this to make mine. Really appreciated ! Niverton 1 Quote
Niverton Posted May 14, 2014 Author Posted May 14, 2014 I'd like to see your design when it's done Quote
Mauroalej36 Posted September 12, 2014 Posted September 12, 2014 Niverton, can u repost the codes of CC or post a tutorial, this is GREAT Quote
Niverton Posted September 12, 2014 Author Posted September 12, 2014 Sorry, forgot I deleted the pastebins ! Reuploaded everything and changed the links in the original post. I haven't tested it for a while so I have no idea if it still works, but it should. If you need help, just ask ! Quote
Mauroalej36 Posted September 12, 2014 Posted September 12, 2014 Dude, THANK YOU for the response i will test this as soon as posible then im going to reply again Quote
Mauroalej36 Posted September 13, 2014 Posted September 13, 2014 (edited) Dude it work i rebuild the lift form your planes, and it work is a little slow but is awesome, i will change the structure but the caller system is 100% funcional, juts 1 thing, i have trubles with the screen (monitor inside the elevator) i do not know how to add levels on the screen i got this --Adds level with number, label and corresponding level to the list -- Choose short labels if you have more than 5 levels, 8 char max for it to display correctly on screen function addLevel(num, label, level) local t = getTable() t:add(0, Sotano 1, 0) t:add(7, PB, 7) --We have too many registered levels to display them on the screen if #t >= MAX_LEVEL then print("too many levels !") return 1 end --The return is not used Edited September 14, 2014 by Mauroalej36 Quote
Niverton Posted September 14, 2014 Author Posted September 14, 2014 (edited) Woops, forgot to explain that, and also forgot to translate the comments in the section that does that. When the script is running, if you press the + key on your numpad it prompts you to add a level Add a floor: <number> "label" <level> <number> is the number that will be displayed on the left of the label on the screen, label is the name of the level and level is the distance from level 0 to your level. If your level 1 is 5 blocks above level 0 then level is 5; if it's 3 blocks below then it's -3. You don't need to write the '<>' and the '"'. If you press the - key on your numpad, it prompts you to delete a level Remove a floor: <level> <level> is the same than when you want to add a level, it's the distance from level 0. If you press the * key on your numpad, it prompts you the number of a level (the number on the left of the screen) and gives you the distance (useful if you want to delete a level but don't remember the distance). It's not that easy to understand nor to explain, and i'm sorry about that, could have done it better now that I think about it. I will rewrite everything for CC 1.6 when I'm done with my other projects and create another topic on the forum EDIT: Also, you can change the keys used, just edit the following lines if event[2] == keys.numPadAdd then --Add level --... elseif event[2] == keys.numPadSubtract then --Remove level --... elseif event[2] == keys.multiply then --Get level with keys from the keys API Edited September 14, 2014 by Niverton Quote
Mauroalej36 Posted September 14, 2014 Posted September 14, 2014 THank you for the info 0: i had no idea, but is pretty simple add floors. I will show you what i did as soon as possible. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.