Talk:Tutorials/TNT cannons/Archive 1

This is an English Wiki So pls let it AMMUNITION not MUNITION

-Munition - Materials used in war, especially weapons and ammunition.

-Ammunition - A supply or quantity of bullets and shells.

-Those are two completely separate words and should not be interchanged.

?Maximum Delay Increases Distance?

When using TNT as the projectile, I've noticed it consistently travels further when the projectile TNT was activated the moment the booster detonates. Specifically a delay of 10 repeaters set to 4. Kmwillia 12:52, 25 April 2011 (UTC)

This article is obsolete
As of the latest updates it is not possible to make TNT Cannons (at least not like this). So should this article mark as obsolete? --The mr Zalli from Finland 22:16, 7 October 2011 (UTC)


 * I agree, this page is rather outdated. It needs a rewrite. I don't agree, however, that cannons can't be made "like this" anymore (a variety of methods are covered here; most aren't my first choice, but whatevs), as they can indeed. [|Cactus Master] 02:50, 22 November 2011 (UTC)

Cannon Range Equation
Ok, so before I give you the numbers, let me first explain how I went about this. I used my Ramses Cannon to test this (link provided so you can see the details of the platform). I tested range at elevations of .5 blocks, 1 block, and 1.5 blocks, as I considered these the practical range of elevations. I used charges from 1-7 tnt for each elevation. I recorded the distance for each shot from each pairing of elevation and charge size. I then took that data and using magic created the following equation. Do remember that it isn't perfect, as it assumes that your target is on the same plane as your cannon. I'm working on altering the equation to account for changes in this.

EQUATION

f(x, w) = 13.0539 + cos(0.35123932 - x)/(32.091557 - 15.533575/cos(18.448326*w - x) - 47.684593*x) + 11.635796*w*cos(0.35123932 - x) - 3.8064015*x*cos(18.448326*w - x) - 12.089317*cos(18.448326*w - x) - 11.635796*x

STATISTICS:

r^2: 0.997904

Maximum error: 3.374008

Minimum error: 3.8147^-6

This is more for testing purposes than actual use in combat (my server's battles are too fast for such nonsense), as unless you've got an application built to do so (I made a quick C++ for it), plugging in the numbers is a bit tedious. I feel like a better equation could potentially be derived if more data is used, but I'm pressed for time. If someone would want to help me make a better equation, I suggest using the Ramses in a no-lag environment and measuring elevations of 0, 2, 2.5, and 3 with 1-7 tnt charges. I do, however, not see the point in ever actually equipping a cannon with elevations at the extremes; they are useful in only a handful of situations in battle (and can be accomplished by specialized equipment much easier). Please tell me what you think. My goal for the equation is to be included on the actual page after validation and such by all necessary parties. Thanks for reading.