CC Ballistix Reborn
ModGPL-3.0-only

CC Ballistix Reborn

Integrates ComputerCraft: Tweaked with Ballistix 0.9.2 for missile silo control and coordinate-based launches via the new control panel.

911
Downloads
5
Followers
9 months ago
Updated
📦
3
Versions

📖About CC Ballistix Reborn

"CC: Ballistix Updated" is now compatible with the newer version of Ballistix. Please use CC: Ballistix Updated instead.

CC Ballistix Reborn

This mod is a fork of CC: Ballistix Updated it was made to fill the short gap between updates for CC: Ballistix Updated.

Functions:

  • launch()

    • Attempts to launch the missile.
    • Returns true if the launch command was successfully sent, otherwise false.
    • This function will also queue a ccballistixreborn_launch event, providing the X, Y, and Z coordinates of the target.
  • getRange()

    • Returns the maximum range of the connected missile launcher as an integer.
    • Returns 0 if no launcher is found or the range cannot be determined.
  • getPosition()

    • Returns a table containing the current target coordinates of the missile launcher with keys x, y, and z.
    • Returns an empty table if no launcher is found or no target is set.
  • setPosition(x, y, z)

    • Sets the target position of the control panel to the given X, Y, and Z coordinates.
    • This function will also queue a ccballistixreborn_update_position event, providing the new X, Y, and Z coordinates.
  • getFrequency()

    • Returns the frequency of the connected missile launcher as an integer.
    • Returns 0 if no launcher is found.