CC:Drones+
Drones for CC:Tweaked
This is a fork of the CC: Drones modification originally created by developer JSJBDEV.
Main drone capabilities:
Drones can perform various maneuvers and actions:
- Forward movement when activating
drone.engineOn(true)function - Left and right turns using commands
drone.left(number)anddrone.right(number) - Vertical ascent and descent through
drone.up(number)anddrone.down(number) - Control of view direction: forward with
drone.lookForward()and backward -drone.lookBack() - Getting information about the drone's current rotation angle with
drone.rotation()function - Collision detection via
drone.isColliding() - Activation of hover mode using
drone.hoverOn(true)
Drone upgrade system:
Mining upgrade:
- Breaking blocks in front of the drone:
drone.breakForward()Carry upgrade:
- Picking up blocks from under the drone while preserving their data with
drone.pickupBlock()command - Unloading picked-up blocks via
drone.dropBlock() - Capturing entities under the drone with
drone.pickUpEntity()function - Releasing entities from the container with
drone.dropEntity()commandModem upgrade:
- Determining the drone's current coordinates:
drone.getPos()
Programming:
Using the drone workbench as a peripheral device, you can apply two main commands:
(where a is the wrapper, for example: a = peripheral.wrap("left"))
a.api()- reboots the computer after installing the drone API, simplifying the programming processa.export(path)- sends the Lua program at the specified path to the first drone within 2 blocks of the drone workbench
Future project development:
Plans for future additions include the following features:
- Environment scanning system for drones with the ability to view data on holographic displays
- Drone cameras similar to spectator mode
- Chunk loaders for drones
- Protection systems for drones, possibly using energy and charging systems
- Combat capabilities and weapons
- Enhanced upgrade system inspired by Steve's Carts 2
- Sensors for detecting blocks and entities