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


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Totoro

  1. CSS style for avatar is a little bit off: The reason is that the avatar box is 26 pixels in size, but the CSS dictates a different value: When disabling the "height: 34px" line - everything starts to work as it is supposed to.
  2. What is STEM? Did you ever want to have a linked card, but without this pair-to-pair limitations? Well, you have internet card. And that is already half of the solution. The other half is to use Stem. Stem is a message transmitter for your OpenComputers devices with internet cards. Using a small OpenOS library you can use Stem to send and receive messages. Unlike the standard `modem` component, Stem-messaging uses not addresses, but `channels`. You can send messages to any channels, and you can subscribe to any number of channels to listen for messages from them.
  3. Really handy and neat looking tool. Took it for one of my projects (with the license included, of course).
  4. Totoro

    Hologram Editor

    Hello Doggle. The projector need to be connected to the computer (where the editor is running) with a cable. The cable can be connected to the computer from any side, and to the projector only from the bottom side. You can check a list of components available for the computer by entering an OpenOS command: components If the resulting output will contain any string with a word `hologram` in it - there you are. Unfortunately, this editor models are not compatible with the 3D printer. To create 3D models for the printer with some comfort you can use some external
  5. Totoro

    Attack Robot

    I don't think this is very practical way to hunt players Because robots are pretty slow compared to players, and can turn only on right angles, and strike only in front of itself, and can easily be trapped by blocks or even be broken and picked up by the `target` player.
  6. Use buttons[name].rect or buttons[name]["rect"] In your current edition Lua thinks `rect` is local variable, which obviously equals `nil`. And `buttons[name][nil]` is nil too.
  7. You can use GPU component to get current screen resolution and use gpu.set() to center text on the screen. For example: local com = require('component') local gpu = com.gpu local width, height = gpu.getResolution() local text = "Some info to be centered" gpu.set(width / 2 - #text / 2, height / 2, text)
  8. I agree with Gorzoid. gpu.bind will do it. You can get screen address from `touch` event every time someone clicks the button somewhere, then bind to that screen and render animations etc.
  9. Totoro

    Hologram Editor

    Yeah, quite reasonable feature, i think. I will add it to the next version sometime soon. =)
  10. Totoro

    Hologram Editor

    I tracked down these bugs and fixed them. Also refactored source codes a bit (particularly textbox widget) Try the new version, please: Hologram Editor 0.7.1-en Hologram Viewer 0.7.1-en
  11. Totoro

    Hologram Editor

    Wow. That's a nice bunch of bugs I'll look at the code and try to fix them this evening. Thank you for the screens!
  12. Totoro

    Hologram Editor

    0.7 version includes a few improvements, but yeah, it pretty much does the same. =) How do you specify the path to you model? `show` util is purely console, and basically it can be used like this: show yourfile You can try to use full path (/home/yourmodel) or relative (./yourmodel). Also it is worth mentioning, that in last version (0.7.0) saved hologram files have a new (effectively compressed) format `*.3dx`. Pay attention to file extension, when spelling file name. UPD. I have updated the first post, and added new editor version (0.7.0) with English locali
  13. Totoro


    This is my old attempt to create holographic map. Like in sci-fi movies. Debug card (or AMI block from Immibis's Peripherals) scanned the map, and collected the data. A grid of projectors under the floor was responsible for rendering. The color of any map point depends on it altitude. Thank you!
  14. Have you imported the `event` library (local event = require('event'))? Source code on Pastebin may be helpful, yep =) UPD. And you seem to override the `event` variable in the line: event, p2, x, y, p5, input = event.pull(..)
  15. Amazing! Must be the most epic image lib for OC =)
  16. Hi, Daraketh! I'm sorry it has taken me so long to get back to you, I've been very busy lately. Maximal size for images that I have used - 160x100 px. To improve the picture quality, I used a trick with Unicode characters - half blocks (http://www.alanwood.net/unicode/block_elements.html). I have modified "show" script a bit, to render images properly. Here you can find it: http://pastebin.com/UqM8dTjH You will need "libPNGimage", "deflatelua" and "crc32lua" libs. Images:
  17. Totoro

    Hologram Editor

    You need to run `holo` program, then draw something on the grid, then input new file name in textbox, then click the `Save` button. New file will be created in the same directory, where `holo` program lies. Yeah, console interface (commands like `holo myholofile.3d`) would be nice for work, but is not yet available. =) P.S. Also, `holo` is Hologram Editor here, not Hologram Viewer.
  18. Totoro

    Hologram Editor

    Hm.. Checked both on 1.5.12 and 1.5.9 (MC 1.7.10). I can not reproduce the error. All functions works fine.
  19. Try to add "YourIngameNickname.Robot"
  20. Totoro


    Yep. But veeery slow.
  21. Oh, I apologize for the long absence. Here is my code: http://pastebin.com/vkpKEZ8a But it is pretty raw =) Edit pos constant, to change relative clock face position.
  22. Take a look here: https://github.com/MightyPirates/OpenComputers/tree/master-MC1.7.10/src/main/scala/li/cil/oc/integration Each folder contains one mod integration files. "appeng" - Applien Energistics "builcraft" - BuildCraft e.t.c. Look for "@Callback" instructions. There you will find a command, and description.
  • Create New...

Important Information

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