Stormworks: Build and Rescue

Stormworks: Build and Rescue

97 ratings
ZE Artillery Ballistic Calculator
2
   
Award
Favorite
Favorited
Unfavorite
Microcontrollers: Calculation, Microcontroller
Tags: v1.15.1
File Size
Posted
Updated
66.919 KB
Jun 4, 2022 @ 6:31pm
Jul 20 @ 10:07am
16 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
ZE Artillery Ballistic Calculator

Description
Calculates the turret rotation and elevation angle to hit a stationary target based on its GPS coordinates.
  • Calculates projectile trajectory for all types of mounted guns and rocket launchers.
  • Indirect (mortar) fire mode is available for rockets and cannons with shell projectiles.
  • Complete air drag correction, vehicle tilt correction, and wind correction for both direct and indirect trajectories.
  • Precise angles adjustment to compensate for weak pivots.
  • Limits for rotation and elevation angles for both robotic and velocity pivots.
  • Outputs projectile travel time and indicates if target is out of range or out of angle limits.
  • Minimum target distance for indirect fire mode is 100 meters.
  • Pivot turn speed is calibrated for default gear ratio 1:4. If you need to change their speed, i recommend to do it only with the corresponding slider in controller properties.
  • If you don't specify a target altitude, it will be set to the cannon altitude.
  • Set all target coordinates to 0 to reset the turret position.
  • Cannon orientation on vehicle spawn can be any, like forward, backward, left or right.

Designed to hit only stationary targets, has no tracking prediction logic, and requires a couple of seconds for pivots adjustment after every change of target coordinates. Any additional tracking controllers will be ineffective.

Demo example
Partially based on Inverse Ballistic Calculator by FN-20
189 Comments
Uran_Wind  [author] Nov 22 @ 8:57pm 
Check the pivots orientation and the physics sensor placement, it should be the same as in demo .
tatidy14 Nov 22 @ 4:03pm 
Second day trying to get this to work, I power on my pivots and it flies up, alright whatever, I put in my coordinates and it either doesnt move or starts shaking side to side
LoneR Nov 17 @ 1:17pm 
OMG didnt even realise this tysm
Uran_Wind  [author] Oct 31 @ 12:27pm 
Also, check the orientation of the turret pivot, plus arrow should rotate it counter-clockwise. Looks like it is the issue.
LoneR Oct 31 @ 3:39am 
Yeah so i copied the sensors from the demo onto my build and it still isn't working : (
I will just use the other controller you mentioned some comments back.
Uran_Wind  [author] Oct 30 @ 4:40pm 
Anyway, check out the demo and see how the sensors are placed.
LoneR Oct 30 @ 4:12pm 
I had the Physics sensor oriented correctly, i triple checked. Also, fellow artillery fans unite. I have a lineup for germany with 5 howitzers, sadly i dont have the Sturmmoerser.
Uran_Wind  [author] Oct 30 @ 2:32pm 
By the way, i found you on the Loner1512's discord server, what a coincidence.
Uran_Wind  [author] Oct 30 @ 2:15pm 
Check the orientation of the physics sensor placed on the tilting cannon, it should be facing towards the muzzle direction, as it placed in the demo.
LoneR Oct 30 @ 1:16pm 
amazing controller, but when i spawn my vehicle it rotates the turret by 180 so that its facing backwards. any suggestions?