←  Peripherals and Turtle Upgrades

ComputerCraft | Programmable Computers for Minecraft

»

Quadracoptors 0.2.0 [MC 1.7.10 | CC 1.65+]

Lyqyd's Photo Lyqyd 30 Sep 2014

Quadracoptors is a mod that essentially adds pipes to ComputerCraft. The mod adds item-carrying, fluid-carrying, and entity-carrying quadracoptors that can be sent on programmed routes to carry things around your base. The item quadracoptors can carry up to one stack of items, and the fluid quadracoptors can carry up to one bucket (1000 mB) of fluids. The entity quadracoptors can pick up one living entity at a time and are currently creative-only. The quadracoptors will interact with sided inventories only from the top side, as they only interact with things directly below themselves. Quadracoptors are launched from a base station and have unlimited range, though they won't load unloaded chunks. Portal transitions may have detrimental effects on the quadracoptors' internal navigation systems, so be wary of sending them through any teleportation devices.

You can now have your quadracoptors hover at a Waystation! These blocks expose the inventory of any quad hovering above them through the bottom of the block. Use the hover command in your programs to have a Quadracoptor stop at a Waystation.

You can download the mod here (version 0.2.0).

Please note: You cannot safely upgrade worlds from pre-0.2.0 to version 0.2.0. All base stations will be removed if you attempt to do so.

And here's a quadracoptor in action, carrying some cobblestone:

Posted Image

ThatParadox made a mod spotlight video that shows off the quadracoptors:


Quadracoptor User Guide

Crafting Recipes
Quote

Bomb Bloke's Photo Bomb Bloke 30 Sep 2014

Well this looks interesting.

Few quick questions:

What happens if a quadracoptor encounters an unloaded chunk?

What happens if a quadracoptor fails a movement, eg due to a mob? Do they stop, auto-retry, or auto-return?
Quote

theoriginalbit's Photo theoriginalbit 30 Sep 2014

Awesome! I'm glad to see you release this! :D also, the latest version, yay! :)
Quote

Lyqyd's Photo Lyqyd 30 Sep 2014

View PostBomb Bloke, on 30 September 2014 - 03:34 AM, said:

Well this looks interesting.

Few quick questions:

What happens if a quadracoptor encounters an unloaded chunk?

What happens if a quadracoptor fails a movement, eg due to a mob? Do they stop, auto-retry, or auto-return?

When encountering unloaded chunks, they should hang out just inside the unloaded chunk or whatever else it is that entities do when crossing chunk boundaries. They do resume when loaded again and continue on their merry way. I have tested mid-flight chunk load/unload cycles, but have not explicitly tested the chunk boundary approach situation. :)

Usually, they'll pass through mobs (their bounding box is small enough that they tend to pass through other entities), but if they are unable to reach a destination (due to a block in the way, perhaps), they will dutifully knock their heads into the block until the obstruction is clear, or you whack them with your fist to knock them down, whereupon they'll fall as an item, dropping any items inside them. Fluids inside a fluid quadracoptor would be destroyed when knocked down, sadly (though I do plan on fixing this at some point).

View Posttheoriginalbit, on 30 September 2014 - 03:34 AM, said:

Awesome! I'm glad to see you release this! :D also, the latest version, yay! :)

Thanks!
Quote

Thatparadox's Photo Thatparadox 30 Sep 2014

This is awesome! Thanks Lyqyd! I made a mod spotlight for it: https://www.youtube....2yzjcegL9E0WLw6
Quote

Rougeminner's Photo Rougeminner 01 Oct 2014

This is really cool lyqyd these little guys just upgraded moon base
Quote

Lyqyd's Photo Lyqyd 05 Oct 2014

Just updated to fix a bug where the quadracoptors wouldn't pick up item entities floating in the world unless a value was specified for the suck command.
Quote

MKlegoman357's Photo MKlegoman357 05 Oct 2014

This is a really nice mod you made Lyqyd! I really like the floating animation when they hit a block and cannot move. I have some suggestions too:

  • The base block should fire an event whenever a quadracoptor lands on it.
  • An instruction to stop the quadracoptor in the air for some time ( 'sleep(...)' ).
  • Ability to get the current position of the quadracoptor.
  • Ability for quadracoptor to send messages to the base so a computer would know where the quadracoptor is and what is he doing. (I'm talking about custom messages)
  • A way to remote control the quadracoptor. Using a PDA to control one would be just like those real quadracoptors.

These are some ideas that I think would be nice to have, although I realize that some of them won't quite fit with the idea of the mod.

Anyway, good luck with it!
Quote

Lyqyd's Photo Lyqyd 05 Oct 2014

Thanks!

1. Yeah, that would be a cool feature.
2. & 5. These sound similar to planned features, though probably not exactly what you're thinking.
3. & 4., I'd have to think about a bit.
Quote

AssossaGPB's Photo AssossaGPB 05 Oct 2014

This is epic, here are a few cool features I think would be nice:
1. A way to place (and maybe break) blocks
2. A way to program the quads in full lua/remote control

If you won't let us use full lua/remote control then:
1. Loops
2. Variables
3. Rednet
4. Conditional Branching
Quote

MKlegoman357's Photo MKlegoman357 06 Oct 2014

View PostLyqyd, on 05 October 2014 - 06:20 PM, said:


Ah, you should probably mention them in the user's guide :D

View PostLyqyd, on 05 October 2014 - 06:20 PM, said:

2. & 5. These sound similar to planned features, though probably not exactly what you're thinking.

Oh, then we'll have to wait and see :P
Quote

Skiouros's Photo Skiouros 31 Oct 2014

Any chance you'd allow the suck command to specify the amount of items picked up?
Quote

Lyqyd's Photo Lyqyd 01 Nov 2014

It already does! I've updated the user guide in the first post. I also noticed a bug as I was glancing through the code, involving another previously-undocumented feature, so I've updated the mod. The latest version is in the first post, as usual.
Quote

Skiouros's Photo Skiouros 01 Nov 2014

Hmm, I'm trying to use the suck to get 3 items from a chest, but when I do "suck 3" it picks up the entire stack.
Quote

Lyqyd's Photo Lyqyd 02 Nov 2014

Whoops, thought I had fixed that long ago. Uploaded a new version that should respect specified quantities on the suck command now. I'll test it later today to confirm that it works, but it should be solved at this point.
Quote

Skiouros's Photo Skiouros 02 Nov 2014

Thanks for the fast response, it works fine now. :D
Quote

Tiin57's Photo Tiin57 12 Nov 2014

This isn't getting enough love. Great job, Lyqyd!
Quote

cdel's Photo cdel 13 Nov 2014

Just found this topic, great job!
Quote

Sam_Starfall's Photo Sam_Starfall 14 Nov 2014

A quick question if a route or "path" ends at a second programed base will the quadcopter take on the new program at the second base? as in the copter can hop from programed base to programed base conducting various jobs each time like in a chain?
Quote

Lyqyd's Photo Lyqyd 14 Nov 2014

Sure! A Quadracoptor will land at a base if it reaches the end of its program over one. It doesn't then "remember" anything and simply enters the pool of available Quadracoptors in that base station. You could set up a ring of tasks and circulate them through the ring.
Quote