This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
CheesyErwin's profile picture

An electronic fire control system for a TNT nuke cannon

Started by CheesyErwin, 11 January 2013 - 04:05 AM
CheesyErwin #1
Posted 11 January 2013 - 05:05 AM
I made a TNT nuke cannon recently, and I decided to make a fully-computerized fire control system for it. I tried my very best to code, but I am not very good at logic/programming/math…. And I found out that I am trying to do something beyond my ability.

The TNT cannon have several functions

- A twin charge tower design with adjustable charge size (through frame motors)
- Auto-Reload via Deployers
- Wireless Redstone

I planned my fire control system to have following functions:

- Ammunition Counter
- Current Charge Level
- Four simple command to control the cannon: Adjusting the Left/Right Charge Tower, Reload the gun, and Fire
- A safety device to prevent user to fire the cannon when charge level is lower than 10 TNTs

Here's the cannon:

And here's what I got for the UI so far… (No functionality, just the looks)
Any help on how to code a proper fire control system would be appreciated.
zekesonxx #2
Posted 11 January 2013 - 06:08 AM
You could use a computer with a wireless modem and RP2 bundled cable to work with the TNT tower. There are a few good menu tutorials on YouTube, check those out.

And remember, functionality > fancyality (looks).