SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-03-12, 07:48 AM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Those are actually great ideas. All I have to do is find the memory locations that denote these values then it's just a simple matter of adding some assembly code The hard part is finding these memory locations as everything is pointer based so you have no idea what so and so pointer is actually pointing to. The ones that load values onto the floating point stack are easy to track down because you can usually discern what they are from the value they load onto the floating point stack. I have more than 50% of the assembly code for the torpedoes mapped out so I have a really good idea what the game is doing with them.

I really like the idea of magnetic torpedoes dud rate controlled by tonnage of unit...I'm going to concentrate on tracking this one down. Seems very logical that this would influence the magnetic detonator on the torp in real life. I can make a controlled experiment where I know what ship is being attacked and I'll know it's tonnage from it's .sim file. Then when game tells me impact imminent I can search for this tonnage value. If I can find the value and one of the CPU registers is pointing to the object that contains this value then this will be possible to do. One of the registers has to be pointing to the object because the game is constantly computing distance to impact. The only way it can compute distance is if it knows where the torp is and where the object being collided with is located.
Thank you The Dark Wraith, I had forgot that nearly nothing is impossible for you!

by the way of magnetic torpedoes dud chance, I've read somewhere that magnetic detonators were reliable only on ships weighting 2,000 tonnes or more. Another common problem plaguing german torps from the outbreak of the conflict up to spring '41 was depth keeping related. Premature explosions and impact pistol dud rates too changed in the course of the war. I wonder if the extent of these problems could be made variable also in game, depending on current date.

Some references to known german torps reliability problems:
http://www.uboataces.com/weapon-torpedo.shtml
http://uboat.net:8080/history/torpedo_crisis.htm
http://www.feldgrau.net/forum/viewtopic.php?f=41&t=3261
http://forum.axishistory.com/viewtop...?f=110&t=83029
http://forum.kickinbak.com/viewtopic...tart=10#p10369
gap is offline   Reply With Quote
 

Thread Tools
Display Modes

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 01:01 AM.


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