View Single Post
Old 05-03-22, 03:26 PM   #1
sinchan607
Bilge Rat
 
Join Date: Apr 2020
Posts: 1
Downloads: 1
Uploads: 0
SHO Uboat - MultiShip Targeting Computer

Hello:

It's Javier here, I'd like to show you a brand new tool to calculate the shooting time for hitting several ships at the same time.

I'm an IT guy who was playing Uboat and found out a brilliant idea from a Reddit member (PringlesMan):

https://www.reddit.com/r/uboatgame/c...ting_computer/

He made a console based app to calculate time between shootings. His approach worked well, although it was based just on the distance to the target. I think this is a good approach and it's enough to calculate time between shots and get all the hitting synchronised.
Then I realized I could make a new app, GUI based, with an accurate calculation, based on trigonometry (the distance calculation is also included) where we need to get the speed, distance and angle of bow of the target ship to calculate the distance/time of impact.

I've tried this out with U-boat game and it works quite well.
I suppose it'd work with other sims.

Here I explain how it works:


And here a testing with three hits at the same time:


You can find the code here:
https://github.com/gcv-javier/MultiS...ingComputerGUI, you can compile it and package it to run it.

Also the Windows executable file can be downloaded from here:
https://drive.google.com/file/d/1RAP...c9FEYgJtj/view

I hope you like it and give it a try. Looking forward to hearing from you.
sinchan607 is offline   Reply With Quote