SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   UBOAT (https://www.subsim.com/radioroom/forumdisplay.php?f=281)
-   -   Uboat - MultiShip Targeting Computer (https://www.subsim.com/radioroom/showthread.php?t=252609)

sinchan607 05-03-22 03:26 PM

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:
https://youtu.be/4YCrCG-9Y0w

And here a testing with three hits at the same time:
https://youtu.be/JUE__xM-eWY

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.

Méhlv 05-04-22 05:17 PM

Thank you, I might be being slightly lazy but this makes the game a bit easier when not wanting to work it out myself

Aktungbby 05-04-22 07:54 PM

Welcome aboard! & welcome back!
 
sinchan607!:Kaleun_Salute: & welcome back: Mèhlv! after a 5 year "silent run"!:Kaleun_Salute:

ReallyDedPoet 05-05-22 08:28 AM

Picked this up game yesterday on Steam, currently (or was) on sale :)

Will get to it at some point.


All times are GMT -5. The time now is 07:20 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.