Stormworks: Build and Rescue

Stormworks: Build and Rescue

76 beoordelingen
Advanced Ballistic Calculator
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Vehicles: Air, Sea, Land, Mechanical
Tags: v1.4.16
Bestandsgrootte
Geplaatst op
Bijgewerkt op
213.343 KB
23 nov 2021 om 16:48
17 apr 2022 om 23:38
6 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Advanced Ballistic Calculator

Omschrijving
Does not account for drag or turret rotation
About the Calculator
This Ballistic Calculator uses a static radar to find the launch angle needed for a projectile to meet its target. It accurately accounts for both horizontal and vertical displacement components and output to a robotic pivot value. It works for all weapons in the DLC.

Setup
Select the weapon type from the property dropdown box, then connect a Static radar to the composite input, this is used to produce two outputs that are the robotic pivot angle of the gun, and an on/off output that displays if a target is been tracked.

This only outputs the elevation angle it does not output an azimuth for the turret. So if you want this to be functional you need to take internal logic from this MC and use it in your own turret controls.

The Mathematics
If you're interested in how this function was derived one of the SUVAT equations was used { y = uy*t + 0.5*a*t^2 }, where y is the vertical displacement in metres, uy is the vertical launch speed in m/s, a is the acceleration due to gravity in m/s/s, and t is the time in seconds. This was developed to consider launch angle by substituting { uy = u*sinʘ } for uy, and { t = x/(u*cosʘ) } for t. This substitution produced the function { y = x*Tanʘ - 4.9*(x/(u*cosʘ)^2 }, using trigonometric identities {1/cos^2ʘ = (1+Tan^2ʘ)} the equation can be solved using the quadratic formula, in which,
{ Θ =aTan((-x +/- sqrt(y^2 - 4*(-4.9x^2 / u2) * (-y - (4.9x^2 / u^2))) / (2*(-4.9x^2 / u^2))) }.

Note: the acceleration due to gravity for bullets in stormworks is 30m/s/s so substitute 15 for 4.9 in the equation { y = x*Tanʘ - 4.9*(x/(u*cosʘ)^2 }, and solve.

https://steamcommunity.com/sharedfiles/filedetails/?id=2664530218&searchtext=ballistics+calculator+testbed
30 opmerkingen
SMITHY  [auteur] 20 apr om 18:31 
I would not use this at all tbh. There’s better ballistic calculators out there
elrychmenard 20 apr om 13:48 
Will this help me hit stuff with my gustav gun? it cant turn without a turn in the track so ive been trying to find something that will help calculate where the bertha shells will land because otherwise i cant hit shit, its only elevation and no yaw control, and if not anyone know of a controller that will help?
Novum33 9 okt 2022 om 17:07 
possible to make an mc that just makes a tank's cannon elevate to compensate for range of target (for a tank with laser rangefinder) no radars or anything
JOHN 1 okt 2022 om 21:27 
would you be able to add the rocket pod to the micro controller?
HardlyLivin 20 jun 2022 om 15:22 
I was afraid of that. I'm hoping we see some changes to the default accuracy though soon. I'm tired of the zip code size spread.
SMITHY  [auteur] 20 jun 2022 om 2:50 
@Hardylivin I know what you’re talking about, but it’s just too complicated. I think the spread changes with the location you spawn at.
HardlyLivin 19 jun 2022 om 13:19 
Are you familiar with a micro controller that maps out each guns projectile spread and adjusts the turret to allow pin point hits? I was told someone made something like that? Being able to mount that inline with a calculator like this would be deadly.
mikeyurenia 18 apr 2022 om 14:40 
thank you, this is very useful for me
V1 17 apr 2022 om 12:09 
@smithy Thx bro
SMITHY  [auteur] 17 apr 2022 om 5:48 
@V1 Instead of uploading another creation, I just updated an older SPAA of mine with a lead calculator I've been working on. It'll be somewhere in the biggest micro-controller underneath the turret, keep in mind this MC has also got some other stuff in it like missile guidance and an autoloader.

https://steamcommunity.com/sharedfiles/filedetails/?id=2698871139&searchtext=