Stormworks: Build and Rescue

Stormworks: Build and Rescue

34 ratings
Forward Ballistic Calculator
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
489.723 KB
18 Sep, 2022 @ 6:53am
21 Apr, 2024 @ 1:16am
4 Change Notes ( view )

Subscribe to download
Forward Ballistic Calculator

Description
Feature
A MC that performs forward ballistic calculation to predict the position of impact from the cannon's attitude. You can use Inverse Ballistic Calculator for applications where the inputs and outputs are reversed.

  • Available with Machine Gun, Light Autocannon, Rotary Autocannon, Heavy Autocannon, Battle Cannon, Artillery Cannon, Bertha Cannon and Rocket Launcher
  • Highly accurate rocket trajectory calculation using a dedicated ballistic prediction model for Rocket Launcher
  • Compensation for vehicle tilt, wind, vehicle velocity and barrel length
  • Function to draw a hit position indicator layer for HUD and camera
  • Support for user-made unguided projectiles

Changelog
  • v2 - Changed the sensor used for position and orientation acquisition to the Physics Sensor
  • v2 - Added support for ballistic calculations of user-made projectiles
  • v1 - Release

To upload your creation with all / part of this creation to workshop,
  • My permission - No need.
  • Credit (e.g. URL of this page) - No need, but i'll be glad if there are.
22 Comments
sosa 12 Feb @ 6:56am 
Can you make the viewing scope compatible as well?
Mac and Cheese 26 Nov, 2024 @ 7:32am 
how can you output the spot where the projectile (possibly) hits? as gps
BalistiK 10 May, 2024 @ 12:30pm 
Nice work, i like. But where did you derive all the functions/formulas from or where did you get them all? I would like to get a little bit better into that matter but i unfortunately find no good (and available) source...
GhostBlackMor 4 Jan, 2024 @ 10:21am 
Just tested it again, still works greatly even in my older creations, this is so precise that I could hit an airplane with a artillery cannon from 800 meters. Love this <3
thatcoolcat1 18 Dec, 2023 @ 1:31pm 
But yes, he is right. Rockets were updated to no longer launch at the angle of the wind.
thatcoolcat1 18 Dec, 2023 @ 1:29pm 
MY GOD THANK YOU LUA DADDY
Gordon Ramsay 15 Oct, 2023 @ 5:18pm 
Hey, I don't know if you still are active here or not, but from what I can tell it seems rocket velocities have changed since you made this? Even on your test examples, the map doesn't always seems to show the rockets falling short of where they actually land, at the max distance the difference between prediction and actual hit is hundreds of meters, and the sight indicators are slightly too low.
Secret176 20 Mar, 2023 @ 11:00am 
funny story i want to use this ballistics computer upside down :)) where in the lua i gotta negativize?
Secret176 6 Mar, 2023 @ 11:25am 
what about for inverted hud how do i configure it
FN-20  [author] 29 Jan, 2023 @ 6:59am 
If you're having issues with your HUD display, it may be due to your character's gender. This MC is set by default on the assumption that the character is female. If you are controlling a male character, switch "Monitor center offset calib. mode" on the MC settings screen to "on", and adjust "Monitor center vertical offset" so that the crosshairs intersect in the center when looking at the front of the HUD. For the example helicopter, setting to -5 pixel should be fine.