Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Jasems

Members
  • Content Count

    11
  • Joined

  • Last visited

Everything posted by Jasems

  1. I have been watching some lua tutorials online. I think I started with the in-game lua tutorial though (I just started all this a few days ago for that printer program so not good at it yet). These videos are pretty basic and decent: https://www.youtube.com/watch?v=vlJftHgeByg&feature=iv&src_vid=jQ40M1DObl4&annotation_id=annotation_726684
  2. Ok So this fixed my last little error by doing the line like this: printer.addShape(0,0,0,16,16,16,"opencomputers:White","true",tonumber(io.read("*line"))) Now it works great and doesn't give me an error.
  3. So I got this semi-working. By adding the "*n" to the io.read it seems to take the code and change the hex. For some reason though it likes to mess up the program temporarily now though. Probably a much better way to do all of this (which I welcome the improvements), but I got it working for now. Yay!
  4. That's how I currently have the code, but it doesn't work. If I manually put the hex code at 0xFFFFFF (for example) in place of the io.read() it works fine, but I think it has something to do w/that sending a string (or something with quotes) but the hex code doesn't work w/the quotes like the booleon and texture does.
  5. Ok I got something basic working, but need help w/the hex input text. -------------------------------------------------------------------------------------------- local term = require("term") local printer = component.printer3d term.clear() term.setCursor(1,1) printer.reset() -- Name the Block io.write(" Name Your Block: ") printer.setLabel(io.read()) -- This part works great since the read returns as a string, probably a better way to do it, but I am a beginner lol --set the color tint io.write("Write in hex color: ") printer.addShape(0,0,0,16,16,16, "opencomputers
  6. Description: I have been having fun printing stuff w/the 3d printer just to the plain chamelium blocks. I have just been going in and editing a single file changing the hex color, exiting then printing. Looking to have a program to input just the hex color code, and printer will print it. Maybe even have a 2nd option after printing to give a quantity? Function: Basically load program, it asks for color hex code. Next screen could be how many, or even ask for the texture block you want to use, in my case just been using chamelium blocks. Then 3rd screen asks for how many. D
  7. Ok, several people helped me get much further than I have been able to, but now I am brain fried and wanted to get my days worth of goofing around thoughts on paper to solicit ideas/help. in order to access the jars via Thaumcraft, 1. you need Thaumcraft Tinkerer installed, it adds these commands we will be using next. I have 5 jars per adapter block, and am up to 34 jars (using server rack). I started out by manually naming each jar i.e. type components: gets a component name like 3901b290-e50b-4958-b0b2-ea2c87ac6025 blockJar_0 then: jar1 = compone
  8. Jasems

    OpenLights

    I was looking around in all the programs listed on http://openprograms.github.io/, there is one in Kenny-Programs area that lists "OpenLights" control. I looked it up and saw it is something that allows color changing lights? Where would one obtain this to try it out? Also, it listed only 1.7.2 next to it, is it available for 1.6.4? This sounds like a dream come true for a lighting guy lol. Thanks! Jasems
  9. Sorry, guess I should look at the time stamp on old threads. And yes I am very noob w/regards to this mod and lua in general. Maybe I should stick with starting out on ComputerCraft so I don't ask stupid noob questions lol.
  10. How do you change the size of the text? Also did you ever figure out how to set the monitor resolution without changing the interactive shell?
  11. Ok so I made a simple program to basically detect if a lever is pushed down to send a rednet color to move an MFFS platform. I am brand new at lua and OpenComputers and would like to do make it so that something like event("char") == "w" the miner will go up, if it detects an "s" then it will go down, or if you hit "x" it will stop the miner. It might be helpful to just start w/how to get it to detect a keypress to just stop the program. I am slowly but surely understanding some of the terms on the wiki, but some simple examples would be a much better way to learn. Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.