jshain Posted November 18, 2012 Posted November 18, 2012 Hello guys i have a question about computer craft i was watching the yogscast and i saw one of them named zoey had computer monitors with target's and shows where they were last since i made a new server and need new people it would be nice to have is there a special program or is it just text if any information be reply or reply a link to help me out second thing i got a new server up and looking for member send me a private mail and we shall see everyone is welcome and that will be all more interested on the computer craft question tho thanks for your time :D Quote
Linear_Spoon Posted November 19, 2012 Posted November 19, 2012 Could you link to the video or screenshot that you saw, please? I would assume it's a home-made program but I could probably recreate it if I knew what it did/looked like. Quote
jshain Posted November 22, 2012 Author Posted November 22, 2012 Sorry been busy but have some free time now this is the video and its at 6:00 thanks and still looking for people :D Quote
Linear_Spoon Posted November 22, 2012 Posted November 22, 2012 I believe they might have it hooked up to computercraft sensors for the weather reading but I haven't read much into how to use that yet. It looks like they just manually edit the text on screen. Here is an example program to do the same: --This is a comment, it will not be interpretted as code --All you need to do to display your own custom text is edit --this code. Leave the functions startMonitor() and print() --as well as these local variables below local line_number = 0 local monitor, width, height function startMonitor() sides = rs.getSides() for k, v in pairs(sides) do if peripheral.isPresent(v) and peripheral.getType(v) == "monitor" then monitor = peripheral.wrap(v) monitor.clear() monitor.setTextScale(1) width, height = monitor.getSize() end end end function print(text) if line_number < height then line_number = line_number + 1 else monitor.scroll(1) end monitor.setCursorPos(1, line_number) monitor.write(text) end startMonitor() --Use this to find a monitor to connect to print("Good Morning and WELCOME to") --to print a line of text print("Ballistics") print("Assimilation") print("Research") print("Recon") print("and Yoga") print("- The B.A.R.R.Y. Initiative -") print("") print("You are here of your own free will.") print("The weather outside is: ERROR - Weather not") print("found.") print("You are here of your own free will.") print("") print("Today's Hot Research: Portable Cars") print("") print("Powered by Mushnet 2012") Quote
jshain Posted November 22, 2012 Author Posted November 22, 2012 AH thanks that helps i shall try the codes 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.
Note: Your post will require moderator approval before it will be visible.