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 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-07-25, 03:52 AM   #1
Bartholomew Roberts
Electrician's Mate
 
Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
Default Ai hydrophone distance bug fixed

An ancient bug from the very beginning that manual hydrophone has a distance of 40km which is hardcoded and can not be fixed. But what I'm talking about is the Ai crew can pick 20km from the very start of war. That makes the hydrophone upgrade pointless.

First we need to know that sensor performance is only altered by Sensors_sub_US.sim file and sim file is only linked to dat file. In one word, you must have 3d object to have the equipment usable. So the sub.upc upgrade as well as the UpgradePack.upc will not take effect when there is no 3d link in equipment.upc.

Then that's look at the Sensors_sub_US.sim file, there is roughly 3 to 4 hydrophones and 1 sonar Sensordate nodes in it. the sonar and one hydrophone node is connected into NSS_Hydrophone_Ball_02, which has a 20km range. That is the cause of this bug. this 3d object is in every stock ship so no matter what you select it has 20km range. And the WCAHydrophoneHead has no 3d link at all.

So the simple fix is to set the hydrophone node connected to NSS_Hydrophone_Ball_02 to 10km as well as the one connect to NSS_Hydrophone_Ball for S18 in TMO mod. Which is still has no link to WCAHydrophone but works the same as a default hydro. When you upgrade to JP or JT, the game would take the greater value of new piece. Then you ai crew would report to you according to correct distance.

Last edited by Bartholomew Roberts; 09-07-25 at 04:01 AM.
Bartholomew Roberts is offline   Reply With Quote
Old 09-07-25, 11:20 AM   #2
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default

Quote:
Originally Posted by Bartholomew Roberts View Post
An ancient bug from the very beginning that manual hydrophone has a distance of 40km which is hardcoded and can not be fixed. But what I'm talking about is the Ai crew can pick 20km from the very start of war. That makes the hydrophone upgrade pointless.

First we need to know that sensor performance is only altered by Sensors_sub_US.sim file and sim file is only linked to dat file. In one word, you must have 3d object to have the equipment usable. So the sub.upc upgrade as well as the UpgradePack.upc will not take effect when there is no 3d link in equipment.upc.

Then that's look at the Sensors_sub_US.sim file, there is roughly 3 to 4 hydrophones and 1 sonar Sensordate nodes in it. the sonar and one hydrophone node is connected into NSS_Hydrophone_Ball_02, which has a 20km range. That is the cause of this bug. this 3d object is in every stock ship so no matter what you select it has 20km range. And the WCAHydrophoneHead has no 3d link at all.

So the simple fix is to set the hydrophone node connected to NSS_Hydrophone_Ball_02 to 10km as well as the one connect to NSS_Hydrophone_Ball for S18 in TMO mod. Which is still has no link to WCAHydrophone but works the same as a default hydro. When you upgrade to JP or JT, the game would take the greater value of new piece. Then you ai crew would report to you according to correct distance.

Interesting. This has always annoyed me!

You've tested this?
Bubblehead1980 is offline   Reply With Quote
Old 09-07-25, 07:32 PM   #3
Bartholomew Roberts
Electrician's Mate
 
Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
Default

Quote:
Originally Posted by Bubblehead1980 View Post
Interesting. This has always annoyed me!

You've tested this?
Yes, now with WCA crew will only report you in 5nm. With JP they report in 7.5nm. But JP and JT devices are above deck, if you are in surface, you still get 5nm report since WCA is still equipped underwater.
Bartholomew Roberts is offline   Reply With Quote
Old 09-07-25, 08:23 PM   #4
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default

Quote:
Originally Posted by Bartholomew Roberts View Post
Yes, now with WCA crew will only report you in 5nm. With JP they report in 7.5nm. But JP and JT devices are above deck, if you are in surface, you still get 5nm report since WCA is still equipped underwater.

Very nice. Any plans to release a mod?
Bubblehead1980 is offline   Reply With Quote
Old 09-08-25, 12:10 AM   #5
Bartholomew Roberts
Electrician's Mate
 
Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
Default

Quote:
Originally Posted by Bubblehead1980 View Post
Very nice. Any plans to release a mod?
The change is on Sensors_sub_US.sim. Different mod often changed this file , so no compatible mod available ,every modder need to patch their own. It's easy to do it manually. Open Sensors_sub_US.sim as well as Sensors_sub_US.dat. See which two hydrophone nodes parent to the round hydrophonehead model name NSS_Hydrophone_Ball & NSS_Hydrophone_Ball_02 (stock game don't have S18 so no NSS_Hydrophone_Ball parented node in the sim file), change the range to 10000m, done.
Bartholomew Roberts is offline   Reply With Quote
Reply

Tags
bug, tec


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 05:40 PM.


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.