Jump to content




Minecraft Holodeck


  • You cannot reply to this topic
19 replies to this topic

#1 allquan

  • Members
  • 34 posts

Posted 07 July 2012 - 08:55 PM

Hi i just tested my Alpha Version of my holodeck.

Here a short video of it:

(Sorry for bad quality! :P/> )


I used Computercraft an the operator panel.



Next days i will show you more of it.

#2 bbqroast

  • Members
  • 124 posts

Posted 07 July 2012 - 09:11 PM

Awesome!
Gotta look up this operator panel thing now. Out of interest, are those blocks solid? Do you collide with them and can you destroy them (and pick up their drops?).

#3 allquan

  • Members
  • 34 posts

Posted 07 July 2012 - 09:13 PM

Thank you!

Yes thats normal minecraft blocks

#4 LucasUK

  • Members
  • 64 posts

Posted 14 July 2012 - 04:05 PM

Yeah awesome, did yuo continue the project?

#5 Sxw

  • Members
  • 306 posts
  • LocationWhenever, Wherever!

Posted 15 July 2012 - 04:15 PM

Wow, this could be used in so many ways, like... Simulating a lava enviroment to watch people in there die.

#6 allquan

  • Members
  • 34 posts

Posted 19 July 2012 - 11:30 AM

Hey guys,

here is a new Video of my new test:



#7 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 19 July 2012 - 02:41 PM

Hey, I really liked the idea, so I made my own version :P/>
I'm not sure if I'll keep working on that, so if you want I can give you what I have. I made an api with some functions to make it easier, and it can even build schematic files.
Let me know if you (or anyone else) want it.

#8 allquan

  • Members
  • 34 posts

Posted 19 July 2012 - 02:49 PM

yes, please that would be great!

#9 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 19 July 2012 - 03:15 PM

Ok, here it is:
NBT api (used to read schematics):
Spoiler

Schematic api:
Spoiler

VirtualBox api (you can change the name if you want :P/>):
Spoiler

The NBT api can read any .nbt file, and it supports almost every data type (float and double not supported yet).
The schematic api just uses the nbt api to read the file and then gets the values you want from it. (Note: the schematic files must be uncompressed).
Finally, the VirtualBox api defines some functions to create the "virtual" environment. You just call the init function, then set the location, size and default block (used for the walls) and start using the functions.

Example usage:
local nX, nY, nZ = 0, 0, 0 -- box location
local nWidth, nHeight, nLength = 30, 20, 30 -- box size
local defaultBlock, defaultMeta = 1, 0 -- default block id and metadata

if not nbt then
    os.loadAPI("nbt")
    if not nbt then
        error("Error loading nbt api")
    end
end
if not schematic then
    os.loadAPI("schematic")
    if not schematic then
        error("Error loading schematic api")
    end
end
if not vb then
    os.loadAPI("vb")
    if not vb then
        error("Error loading vb api")
    end
end

if not vb.init() then
    print("Operator Panel not found.")
    return
end

vb.setPos(nX, nY, nZ)
vb.setSize(nWidth, nHeight, nLength)
vb.setDefaultBlock(defaultBlock, defaultMeta)

-- Init
vb.savePlayerPos() -- save the current player position
vb.clearAll() -- clear the box (also adds the walls)

vb.teleportPlayer(nWidth / 2, 1, nLength / 2) -- teleport the player inside

local ok, err = vb.buildSchematic("someSchematicFile") -- build from an shematic file
if not ok then
    print("Error: ", err)
end
sleep(30) -- wait some time

-- End
vb.restorePlayerPos() -- return the player to his position
vb.clearAll() -- clear the box
I named the apis "nbt", "schematic" and "vb" (to make function calls shorter :)/>).

The function names are pretty descriptive, but if you have any question, just ask ;)/>

#10 KingMachine

  • Members
  • 122 posts

Posted 19 July 2012 - 04:59 PM

This is pretty much one of the most inventive and powerful things I've seen in quite sometime besides computercraft. Amazing work.

#11 makerimages

  • Members
  • 236 posts

Posted 20 July 2012 - 05:59 AM

what the heck is it? superfast turtles placing blocks or?????

#12 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 20 July 2012 - 03:38 PM

View Postmakerimages, on 20 July 2012 - 05:59 AM, said:

what the heck is it? superfast turtles placing blocks or?????

View Postallquan, on 07 July 2012 - 08:55 PM, said:

I used Computercraft an the operator panel.
It's on the peripheral library. Check it out.

#13 allquan

  • Members
  • 34 posts

Posted 24 July 2012 - 11:54 AM

@MysticT nice work! I like the way you did it.

#14 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 07 August 2012 - 03:08 PM

nice work

#15 Goof

  • Members
  • 751 posts

Posted 12 October 2012 - 04:57 PM

Whhat the .... How can the computer program, api make that scematic? Is it turtles?

#16 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 12 October 2012 - 05:44 PM

View PostMikk809h, on 12 October 2012 - 04:57 PM, said:

Whhat the .... How can the computer program, api make that scematic? Is it turtles?
Read the op again. It uses the operator panel, a peripheral that lets you place blocks and more.

#17 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 12 October 2012 - 06:15 PM

This just look...... AWESOME!!!

#18 Mr. Fang

  • Members
  • 82 posts

Posted 23 October 2012 - 10:11 PM

Oh My God...how does this even work?

#19 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 23 October 2012 - 10:48 PM

View PostMr. Fang, on 23 October 2012 - 10:11 PM, said:

Oh My God...how does this even work?
a peripheral called operator panel

#20 kaj

  • Members
  • 43 posts

Posted 24 October 2012 - 09:34 AM

very cool ^_^/>





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users