r/CreateMod • • 8h ago

Build Airship Firing Control Computer - Ammo Selection

Made an airship and I like the idea of having remote access to its features, instead of being constrained to a cockpit- so I used computer craft with pocket computers to handle its features. One of the features being ammo selection, where one cannon can switch between different munition types. The current feature set includes:

Recalibrate: automatically finds the trims setting for front to back balloon. useful if I make weight distribution changes.
SetPower (0-100): sets a power to keep the balloon at. 30 is just a bit above ground height.
Select (1-5): selects the munition type, 1 = High Explosive, 2 = Armor Piercing, 3 = Shrapnel, 4 = Fluid (lava), 5 = Smoke.
Fire: Shoots the cannon once.
AutoFire (true/false): automatically fires the cannon when new ammo is present, and target is locked.

Currently there are 2 round delay between changing munition type, since the cannon loads one in the chamber, and one round on a depot ready to be loaded. Wonder if there is an easy way to unload the cannon if I change the munition type?

6 Upvotes

0 comments sorted by