Author Topic: Client-Sided Artillery Calculator (New GUI version by Visolator)  (Read 8347 times)

Do you ever get tired of using trial and error to determine the vector required to fire a ballistic projectile?
Well, now you can calculate it automatically using this client-sided add-on! Although this was created for the sole purpose of griefing servers, I discovered that there are other beneficial uses for this add-on!

This system can be set up in 4 steps and can be done on any server.

STEP 1: Stand at the position you want to projectiles to hit and type "saveTarget();" in the console. The function will output the target vector.


STEP 2: Stand directly on top of the brick that's firing the projectiles and type "savePos();" in the console. The function will output the position vector.


STEP 3: Type "calcVec(%vz, %gm)" into the console with %vz being the desired vertical velocity you want to launch the projectile at and %gm being the gravitymod of the projectile, which is usually 1.0. The default values (if you leave the arguments blank) are 50 and 1.0 respectively.


STEP 4: Copy the vector printed by the "calcVec" function into the spawnProjectile event.


If everything is done right, the projectile should land at the given target.



Hopefully this will be useful tool for builders who want to set up a simple artillery system.

DOWNLOAD (OLD VERSION)

Thanks to Visolator, we now have a new version with a gui!


GUI VERSION BY VISOLATOR (v2)
« Last Edit: December 15, 2013, 07:45:14 PM by mr. block »

Although this was created for the sole purpose of griefing servers, I discovered that there are other beneficial uses for this add-on!
Is this admittance to trolling?

Anyway, this is amazing.

when I first joined blockland I loved your slides so much that I impersonated you for like 2 months


Is this admittance to trolling?

Anyway, this is amazing.
I think it falls more under the line of screwing around. Like planting a large richard made out of 64x cubes or having everyone you know pile into a flying wheeled jeep with rainbow paint cans flying around listening to silly songs using the stereo mod.

fantastic
make a gui for the lazy people

Is this admittance to trolling?

Anyway, this is amazing.
Is this seriously all you look for in a post?
You forced my hand. Also stop being a hypocrite.

Is this seriously all you look for in a post?
You forced my hand. Also stop being a hypocrite.
-snippy-
Haha, loving owned.

Guys, lets not turn this into a drama thread. Everyone is guilty of a little trolling.

Wow, This is sooo Useful and can be used on fort wars (Some how) but yeah this is awesome

That is pretty clever. :O


Lol so you used this in that freebuild server to annoy Scaredhappyguy?

Awesome though

neat, would need a GUI though

but neat

Neat-O, is there a way to have the add-on function with the GUI, or eliminating the need for a console tho?