SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Realism- and gameplay-related hardcode fixes for SH3.EXE (https://www.subsim.com/radioroom/showthread.php?t=174225)

Tabris 06-08-23 09:58 PM

U-Tanker fix: Type II and Type XXI
 
Hi all, I'm guessing this is the right place to ask this:

While I know it's wholly ahistorical, I'm looking to remove the limitation that forbids type II and XXI boats from resupplying at the U-tankers. Can anyone advise on how this may be done?

Thanks,
- Tabris

Kiane 10-29-23 07:27 AM

Hello,

I had an ongoing discussion with several other Silent Hunter 3 fans for the OneAlex mod (it uses this patch, otherwise not relevant to the discussion), and while there were certainly a lot of disagreements, I was of the opinion that the 98% failure rate for shallow torpedoes in rough weather was too harsh. For example Kretschmer's U99 had 2 breached torpedoes in Dec 1940 in rough waters which impacted and detonated (one above the waterline, one below), and a third torpedo which was a bit deeper.

https://uboat.net/allies/merchants/ship/707.html

If you believed the 98% figure, then Kretschmer's shot was a .02 * .02 = 0.04% chance of occurring. I understand the argument of rough waters damaging the horizontal stabilizers, but I am skeptical of this 98% figure. Is there any way to reduce this from 98% to say 30%? I would find this more reasonable. In terms of the math provided in the documentation, this would be the 98% at D1 which linearly falls as depth approaches D2 (probability p0).

My query in picture from:
https://i.imgur.com/9HF1xTp.png

If there is no immediate setting for this, would anyone besides Hsie (I understand he is "retired") have the decompiled files so I could make the changes in code myself? (I have code experience).

Thank you in advance for any assistance! :Kaleun_Thumbs_Up:

John Pancoast 10-29-23 09:43 AM

Quote:

Originally Posted by Kiane (Post 2889967)
Hello,

I had an ongoing discussion with several other Silent Hunter 3 fans for the OneAlex mod (it uses this patch, otherwise not relevant to the discussion), and while there were certainly a lot of disagreements, I was of the opinion that the 98% failure rate for shallow torpedoes in rough weather was too harsh. For example Kretschmer's U99 had 2 breached torpedoes in Dec 1940 in rough waters which impacted and detonated (one above the waterline, one below), and a third torpedo which was a bit deeper.

https://uboat.net/allies/merchants/ship/707.html

If you believed the 98% figure, then Kretschmer's shot was a .02 * .02 = 0.04% chance of occurring. I understand the argument of rough waters damaging the horizontal stabilizers, but I am skeptical of this 98% figure. Is there any way to reduce this from 98% to say 30%? I would find this more reasonable. In terms of the math provided in the documentation, this would be the 98% at D1 which linearly falls as depth approaches D2 (probability p0).

My query in picture from:
https://i.imgur.com/9HF1xTp.png

If there is no immediate setting for this, would anyone besides Hsie (I understand he is "retired") have the decompiled files so I could make the changes in code myself? (I have code experience).

Thank you in advance for any assistance! :Kaleun_Thumbs_Up:

When the H.sie patch is used, it creates a file in your install main directory called Hsie.ini
The "Torpedo Failure Fix" section is where this can be adjusted.

Kiane 10-29-23 09:40 PM

Quote:

Originally Posted by John Pancoast (Post 2889985)
When the H.sie patch is used, it creates a file in your install main directory called Hsie.ini
The "Torpedo Failure Fix" section is where this can be adjusted.

Hello,

The Torpedo Failure Fix has the following:


;-----------------------------------------------------------------------
; Torpedo Failure Fix.
;---------------------
; Failure rates (assuming torpedo set to depth = 0.4*windspeed or deeper)
; Impact Pistol, until June 1940. Range: [0.00 - 0.99]. Default: 0.25
Val3=0.20
; Impact Pistol, June'40-June'42. Range: [0.00 - 0.99]. Default: 0.10
Val4=0.10
; Impact Pistol, after June 1942. Range: [0.00 - 0.99]. Default: 0.03
Val5=0.03
; Magnet Pistol, until June 1940. Range: [0.00 - 0.99]. Default: 0.15
Val6=0.25
; Magnet Pistol, June'40-June'42. Range: [0.00 - 0.99]. Default: 0.10
Val7=0.10
; Magnet Pistol, after June 1942. Range: [0.00 - 0.99]. Default: 0.02
Val8=0.02
;-----------------------------------------------------------------------

This does not include the 98% chance of torpedo failure at D1, these failures are for the p0 chance at D2. Unless I am misunderstanding something here.

Thank you,
:Kaleun_Salute:

John Pancoast 10-30-23 06:32 AM

Quote:

Originally Posted by Kiane (Post 2890047)
Hello,

The Torpedo Failure Fix has the following:


;-----------------------------------------------------------------------
; Torpedo Failure Fix.
;---------------------
; Failure rates (assuming torpedo set to depth = 0.4*windspeed or deeper)
; Impact Pistol, until June 1940. Range: [0.00 - 0.99]. Default: 0.25
Val3=0.20
; Impact Pistol, June'40-June'42. Range: [0.00 - 0.99]. Default: 0.10
Val4=0.10
; Impact Pistol, after June 1942. Range: [0.00 - 0.99]. Default: 0.03
Val5=0.03
; Magnet Pistol, until June 1940. Range: [0.00 - 0.99]. Default: 0.15
Val6=0.25
; Magnet Pistol, June'40-June'42. Range: [0.00 - 0.99]. Default: 0.10
Val7=0.10
; Magnet Pistol, after June 1942. Range: [0.00 - 0.99]. Default: 0.02
Val8=0.02
;-----------------------------------------------------------------------

This does not include the 98% chance of torpedo failure at D1, these failures are for the p0 chance at D2. Unless I am misunderstanding something here.

Thank you,
:Kaleun_Salute:

Correct this is for only p0. D1 can't be changed except by your earlier idea. No idea where to get the files you want.

But if you do get them, also edit the wolfpack part so that there are more off the Iberian Peninsula as historically was the case, and that the North Atlantic ones occur more frequently. :)

Hebe Vollmaus 11-12-23 07:38 AM

Quote:

Originally Posted by Kiane (Post 2889967)
[8<--]
If there is no immediate setting for this, would anyone besides Hsie (I understand he is "retired") have the decompiled files so I could make the changes in code myself? (I have code experience).

The decompiled files? May be done by youreself with a Disassembler. This makes sense to me only if your native motherlanguage is Assembler.

I thing you mean the Sources? Go grab these from hsie's website.
Link on end of 1st post in this thread. There you will find the "Assembler sources".

HTH.

Mister_M 11-12-23 10:33 AM

Strange that this 0.98 value can't be modified... :hmmm:

Fluffysheap 11-22-23 08:34 PM

Hi,
I've installed this patch version V16B1 and have found that the realistic repair times are not working correctly for me. What I experience is that, while it says on the damage control screen that repairs will take an hour or two, it actually only takes about five minutes. I have experienced this both times I took damage on my current career. I had a fully staffed damage control team including an officer, but I only assembled the damage control team after taking the damage.



Does anyone have ideas?



I know the patch is working somehow because obvious things like the fog, night vision, periscope, torpedo reload and radio message changes are working correctly.



My installed mods are:
GWX 3 Gold

GWX 16km Atmosphere
GWX Open Hatch Mod
GWX Enhanced Damage Effects
GWX Integrated Orders
GWX No Medals On Crew
TDW's Ship & Plane Fire Damage 1.4
h.sie Supplement to V16B1 (which I constructed according to the instructions)

Rubini's Lifeboats & Debris v4
SH3 Commander


Additionally I have deactivated a few h.sie options in the option selector: Snorkel speed limit, Oxygen supply, Wolfpack (and wolfpack without contact reports), torpedo failure, diesel damage.

Aktungbby 11-22-23 11:34 PM

Welcome back!
 
Fluffysheap!:Kaleun_Salute:...back on the surface after 12 years' 'silent running'!:up:

propbeanie 11-24-23 10:01 AM

Quote:

Originally Posted by Fluffysheap (Post 2893028)
Hi,
I've installed this patch version V16B1 and have found that the realistic repair times are not working correctly for me. What I experience is that, while it says on the damage control screen that repairs will take an hour or two, it actually only takes about five minutes. I have experienced this both times I took damage on my current career. I had a fully staffed damage control team including an officer, but I only assembled the damage control team after taking the damage.

Does anyone have ideas?

I know the patch is working somehow because obvious things like the fog, night vision, periscope, torpedo reload and radio message changes are working correctly.

My installed mods are:
GWX 3 Gold

GWX 16km Atmosphere
GWX Open Hatch Mod
GWX Enhanced Damage Effects
GWX Integrated Orders
GWX No Medals On Crew
TDW's Ship & Plane Fire Damage 1.4
h.sie Supplement to V16B1 (which I constructed according to the instructions)

Rubini's Lifeboats & Debris v4
SH3 Commander

Additionally I have deactivated a few h.sie options in the option selector: Snorkel speed limit, Oxygen supply, Wolfpack (and wolfpack without contact reports), torpedo failure, diesel damage.

Had you previously played the game, then modded the exe, then played again without emptying the Save game folder? If you did not empty "C:\Users \UserName \Documents \SH3", then you might have a mish-mash of an unmodded and modded SH3 install. Emptying the Save folder will force the game to refresh with all-new data. You do lose any progress and game settings you have changed already, of course.

Fluffysheap 11-25-23 05:04 AM

Yes, although completely clearing the data folder is not a requirement described in the documentation.


Is there a specific setting that needs to be reset? I don't see anything obvious, except for having realistic repair times enabled in the realism settings, which I do.


For what it's worth, the patch was installed before beginning the current career.

vanjast 12-24-23 04:00 PM

Quote:

Originally Posted by Hebe Vollmaus (Post 2891690)
The decompiled files? May be done by youreself with a Disassembler. This makes sense to me only if your native motherlanguage is Assembler.

I thing you mean the Sources? Go grab these from hsie's website.
Link on end of 1st post in this thread. There you will find the "Assembler sources".

HTH.

I've done nothing but develop in Assembler.. (40+ years) but as for dis-assembling others high level (c+) mess... not interested.

But for those eager beaver to chase down the rabbit hole... this piece is handy.. Courtesy NSA too.
https://ghidra-sre.org/

You have to think.. If they're giving this away for free... I'll let you think about your PC/Phone security fantasies.. :har:

You remember that person that said.. "We have it all".:arrgh!:


All times are GMT -5. The time now is 12:41 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.