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.
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.