![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Watch
![]() Join Date: Jun 2006
Posts: 29
Downloads: 3
Uploads: 0
|
![]()
Can anyone tell me if the algorithms used by SH4 to calculate torpedo gyro angles (i.e. the TDC calculations) are coded using script files or are hard coded within the .exe/.dlls? If they are in script files, then which one(s)? I am interested in how they work.
Any help would be much appreciated. Cheers, Andy
__________________
Andy ![]() |
![]() |
![]() |
![]() |
#2 |
Sea Lord
![]() Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
|
![]()
they're hardcoded. But I guess they use pretty much the same maths as the historical system used.
__________________
![]() |
![]() |
![]() |
![]() |
#3 | |
Watch
![]() Join Date: Jun 2006
Posts: 29
Downloads: 3
Uploads: 0
|
![]() Quote:
OK thanks - do you know where I'd find the historical algorithm? I've googled to no avail. Cheers, Andy
__________________
Andy ![]() |
|
![]() |
![]() |
![]() |
#4 |
Navy Seal
![]() |
![]()
If you want all the gory details, US Torpedo Data Computer, Mark 3. They have a whole chapter on underlying theory. Abandon hope all ye who enter there!
![]()
__________________
Sub Skipper's Bag of Tricks, Slightly Subnuclear Mk 14 & Cutie, Slightly Subnuclear Deck Gun, EZPlot 2.0, TMOPlot, TMOKeys, SH4CMS |
![]() |
![]() |
![]() |
#5 | |
Watch
![]() Join Date: Jun 2006
Posts: 29
Downloads: 3
Uploads: 0
|
![]() Quote:
Many thanks - I'll give it a go Edit - Just downloaded the first section - excellent stuff! Many thanks once again.
__________________
Andy ![]() Last edited by trojanfoe; 09-13-09 at 05:37 PM. |
|
![]() |
![]() |
![]() |
#6 |
Mate
![]() Join Date: Jul 2009
Posts: 54
Downloads: 83
Uploads: 0
|
![]()
Pythagorean theorem with a mix of very basic physics:
http://en.wikipedia.org/wiki/Pythagorean_theorem velocity = distance/time Known: AoB, target speed, torpedo speed from all those you just calculate the time at which to launch your torpedo. |
![]() |
![]() |
![]() |
|
|