SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Current crop of subsims & naval games > UBOAT
Forget password? Reset here

Reply
 
Thread Tools Display Modes
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
Old 05-04-22, 05:17 PM   #2
Méhlv
Nub
 
Join Date: Nov 2010
Posts: 4
Downloads: 14
Uploads: 0
Default

Thank you, I might be being slightly lazy but this makes the game a bit easier when not wanting to work it out myself
Méhlv is offline   Reply With Quote
Old 05-04-22, 07:54 PM   #3
Aktungbby
Gefallen Engel U-666
 
Aktungbby's Avatar
 
Join Date: Jul 2013
Location: On a tilted, overheated, overpopulated spinning mudball on Collision course with Andromeda Galaxy
Posts: 27,822
Downloads: 22
Uploads: 0


Default Welcome aboard! & welcome back!

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

"Only two things are infinite; The Universe and human squirrelyness; and I'm not too sure about the Universe"
Aktungbby is online   Reply With Quote
Old 05-05-22, 08:28 AM   #4
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: The one and only East Coast
Posts: 10,775
Downloads: 946
Uploads: 5


Default

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

Will get to it at some point.
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Reply

Tags
impact, ship, target, torpedo, uboat


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:40 PM.


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.