SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [WIP] Realistic Hydrophone (https://www.subsim.com/radioroom/showthread.php?t=208473)

tscharlii 10-24-13 06:42 PM

Quote:

Originally Posted by Husksubsky (Post 2132611)
well now hydrophone follow selected target works but it still sweeps 360 degrees.

Well, that's simply how TheDarkWraith has implemented it and is working as intended. Although the sonarman follows the target he still does a normal sweep at the same time. He provided this as an alternative to the stock follow contact command, with the added bonus, that you are not limited to following the nearest contact, but you can select one. Plus, you can configure, at what bearing difference or at what time interval the sonarman should give you an update on the contact.

My Realistic_Hydrophone mod provides a third way to follow a contact. The sonarman will focus on the area around the followed contact, if you use that third method. This mod, however, does NOT replace/fix/disable the stock or TDW's methods to follow a contact.

THE_MASK 10-24-13 07:13 PM

Great mods , added to sobers mega mod list .
HydrophoneFollowNearestContactFix_For_NewUIs_TDC_7 _1_0_To_7_5_0
and
Realistic_Hydrophone_1_0

tscharlii 10-24-13 07:59 PM

Quote:

Originally Posted by sober (Post 2133148)
Great mods , added to sobers mega mod list .
HydrophoneFollowNearestContactFix_For_NewUIs_TDC_7 _1_0_To_7_5_0
and
Realistic_Hydrophone_1_0

Why, thank you, sober! Please keep in mind, that this is WIP and I am working right now on the integration of the ideas and remarks made on pages 1 and 2 of this thread.

HydrophoneFollowNearestContactFix_For_NewUIs_TDC_7 _1_0_To_7_5_0 should be stable. But I hope, as soon as TDW finds some time, he will look at the issue himself, and integrate this fix or a similar one directly into his NewUIs mod, so an extra fix mod gets obsolete.

Husksubsky 10-25-13 08:01 PM

Quote:

Originally Posted by tscharlii (Post 2133142)
Well, that's simply how TheDarkWraith has implemented it and is working as intended. Although the sonarman follows the target he still does a normal sweep at the same time. He provided this as an alternative to the stock follow contact command, with the added bonus, that you are not limited to following the nearest contact, but you can select one. Plus, you can configure, at what bearing difference or at what time interval the sonarman should give you an update on the contact.

My Realistic_Hydrophone mod provides a third way to follow a contact. The sonarman will focus on the area around the followed contact, if you use that third method. This mod, however, does NOT replace/fix/disable the stock or TDW's methods to follow a contact.

I get it , but I was unclear as usual when describing something.When I wrote "it" still sweeps 360 degrees I ment your mod. It s not a big deal as long as it s the animation, but on your video it was sweeping back and forth.
I found a contact on hydstation and pressed "0" . when I exit station it went back to 360 sweep. It did update though.
Regards

tscharlii 10-25-13 11:21 PM

Quote:

Originally Posted by Husksubsky (Post 2133585)
I get it , but I was unclear as usual when describing something.When I wrote "it" still sweeps 360 degrees I ment your mod. It s not a big deal as long as it s the animation, but on your video it was sweeping back and forth.
I found a contact on hydstation and pressed "0" . when I exit station it went back to 360 sweep. It did update though.
Regards

So, to get you right. After pointing the hydrophone needle at a contact and pressing "0" you get a confirmation (both audible and in the message log) that the sonar man is following the contact and he keeps you updated on the contact after that? It's just he continues to sweep all around?

That indeed indicates a problem. It's hard to tell what's wrong from here though. You can do 2 things to help narrow it down.

First:
a. Before you start the game, run <SH5 Install Folder>/data/Applications/Dbgview.exe (that program is part of TDW's NewUIs Mod)
b. Start SH5 and load a historical mission
c. Once you are ingame in your sub, tab out to Dbgview and search (Ctrl-F) for one or both of the following lines
Quote:

ProcessMemory: module SHControllers.act not found
ProcessMemory:VirtualProtectEx failed. GetLastError =
Second:
Disable all your mods and activate just TDWs NewUis and Realistic_Hydrophone_1_0. If sweeping back and forth works then, there might be an incompatibility between my mod and one of your previously installed mods, that I am not aware of yet.

Husksubsky 10-26-13 06:59 AM

Quote:

Originally Posted by tscharlii (Post 2133611)
So, to get you right. After pointing the hydrophone needle at a contact and pressing "0" you get a confirmation (both audible and in the message log) that the sonar man is following the contact and he keeps you updated on the contact after that? It's just he continues to sweep all around?

That indeed indicates a problem. It's hard to tell what's wrong from here though. You can do 2 things to help narrow it down.

First:
a. Before you start the game, run <SH5 Install Folder>/data/Applications/Dbgview.exe (that program is part of TDW's NewUIs Mod)
b. Start SH5 and load a historical mission
c. Once you are ingame in your sub, tab out to Dbgview and search (Ctrl-F) for one or both of the following lines


Second:
Disable all your mods and activate just TDWs NewUis and Realistic_Hydrophone_1_0. If sweeping back and forth works then, there might be an incompatibility between my mod and one of your previously installed mods, that I am not aware of yet.

ok thanks

First: I did not find those lines. I copy pasted from your post, but was unsure of that search thingy. I fiddled around a bit with sifferent options but never found them.

Second: It works in a historical . I tried both historical and in campaign without luck earlier . I basicly have sobers list so it s interresting if he gets it running correct.
HTML Code:

Accurate German Flags
sobers game loading tips V8 SH5
DBM Background Video
Real Environment - Revision_3
SteelViking's Interior Mod V1.2
SteelViking's Interior Mod V1.2.2 Patch
sobers multi color mod V5
Water reflections intensity varied by available sunlight by TheDarkWraith
sobers water splash anim SH5
sobers see thru wake fix
sobers best ever fog  V22 SH5
sobers base sky mechanics V1
sobers better terrain v3 SH5
SH5_7A_Conning_Fix
Fuel Gauge WoGaDi_SteelViking's Interior
Equipment_Upgrades_Fix_v1_4_byTheBeast
Equipment_Upgrades_Fix_v1_4_Patch_1
#Equipment_Upgrades_Fix_v1_4_Patch_1_HotFix
Equipment_Upgrades_Fix_v1_4_Patch_1 (available by date) V9 by sober
EUF_UBoat_FX_v0_0_3_ byTheBeast
FX_Update_0_0_22_ByTheDarkWraith
FX_Update_0_0_22_Torpedoes - MagDet range 3m (modified for torpedoes failure patches)
AI_sub_crew_1_0_2_TheDarkWraith
NewUIs_TDC_7_4_2_ByTheDarkWraith
NewUIs_TDC_7_4_2_alt_officer_wounded_by_Torpedo
NewUIs_TDC_7_4_2_Real_Navigation
NewUIs_TDC_7_4_2_RadCapTools_0_2_alpha
Submarine's .sim&cfg (modified for engine ratio + independent control patches).7z
Sjizzle's - Charts for NewUIs part1_07.06.2013
Manos Scopes-patch for 16x9
IRAI_0_0_39_ByTheDarkWraith
IRAI_0_0_39_ByTheDarkWraithpatch1
R.E.M_by_Xrundel_TheBeast_1.2
R.E.M_by_Xrundel_TheBeast_1.2 - no hyd on surface - NewUIs-IRAI compatible
Depth Charge Fix Reduced Explosion Range
Cerberus62 Corrected Depth Charge Projector 1.0
Reworked Morale and Abilities v.1.1
Speech fixes and additions (german version)
sobers green crew training V4 SH5
TDW FX Fix for Sobers chimney smoke
Church's Compass Dials Mod v2.2 - Option Two
OPEN HORIZONS II_full v2.2
R.S.D. - Reworked Submarine Damage v5.4 by vdr1981
R.S.D. & R.E.M. - GHG Hydrophone add-on (no hyd on surface)
Bullet_spark_test
SkyBaron's Leigh Light for SH5 1.1
Sobers Terrain fix for OH2 V2.2
RPM Hydrophone v2.2.1
Realistic_Hydrophone_1_0
Expanded Navies by Cybermat47 v.1.0.01
smaller flags for Warships 1_0b
sobers Lights Cfg V5 SH5
Trevally Tutorial - All v0.2(for OHIIv1.3)
Trevally Automated Scripts v0.6
Trevally Harbour & Kiel Canal Pilot v3.1
Trevally TDC Help v2
MadMaxs_SH5_Subdiesel (mono) v2
sobers hud sounds V1 SH5
sobers Realistic contrast V6 SH5
EQuaTool 01.01 by AvM - Large Style
AOB slide ruller for TDW UIs and MO by stoianm
gap - HD 1 deg Scope Bearing v 1.0
Shadow Improvement ModLR
sobers bad weather deck gun V5 SH5
sobers map colors SH5 V1
Grossdeutscher Rundfunk
HydrophoneFollowNearestContactFix_For_NewUIs_TDC_7_1_0_To_7_5_0


edit: starts doing 360 sweeps after REM is installed. removed and verified it works again. Not sure what to do now ..time for compromise maybe? Have not tried with all mods xpt REM yet. I just added until it stopped working following my list

tscharlii 10-26-13 09:15 PM

Quote:

Originally Posted by Husksubsky (Post 2133685)
starts doing 360 sweeps after REM is installed. removed and verified it works again. Not sure what to do now ..time for compromise maybe? Have not tried with all mods xpt REM yet. I just added until it stopped working following my list

I'll have a look at it. Maybe I can find a way to make them work together. Until now I didnt know that my MOD conflicts with R.E.M. Thank you for pinpointing that; It must have been a tedious procedure.

lodebeard 10-26-13 09:21 PM

I ran into the same bug and came here only to find Husksubsky was having the same issue. I also did not have those lines in my debugger. I was going through and adding hydrophone-related mods one at a time when I decided I should refresh this page. Glad I did :P

Am messing with REM now to see if it works the rest of my list

lodebeard 10-26-13 09:38 PM

Quote:

Originally Posted by Husksubsky (Post 2133685)
edit: starts doing 360 sweeps after REM is installed. removed and verified it works again. Not sure what to do now ..time for compromise maybe? Have not tried with all mods xpt REM yet. I just added until it stopped working following my list

It seems to be only REM causing the problem for me. This is my 'almost Fifi's' mod list. Removing the red REM-related mods solves the issue. Your mod seems to be compatible with everything else there.

Code:

GramophoneShuffler
Accurate German Flags
Nazi Medals
DBM Background Video
SteelViking's Interior Mod V1.2
SteelViking's Interior Mod V1.2.2 Patch
silentmichal's interior mod 1.2.3
Fuel Gauge WoGaDi SteelViking's Interior
Fix clock rear torpedo room VIIA
DynEnv v2.9 - 1. Main Mod
DynEnv v2.9 - 3.a Enhanced Visibility (medium) (edit)
DynEnv v2.9 - 4.a Camera Filters - Realistic Colors
DynEnv v2.9 - 8. Wave Mechanics - Gale (Improved)
DynEnv v2.9 - 12. Sounds
DynEnv v2.9 - Breakwater Piers
DynEnv v2.9 - No U-Mark
Small trees SH5 V1
sobers more trees SH5
SH5_7A_Conning_Fix
Water reflections intensity varied by available sunlight by TheDarkWraith
Equipment_Upgrades_Fix_v1_4_byTheBeast
Equipment Upgrades Fix v1.4 Patch 1
Equipment_Upgrades_Fix_v1_4_Patch_1_HotFix
Equipment_Upgrades_Fix_v1_4_Patch_1 (available by date) V9 by sober
EUF_UBoat_FX_v0_0_3_ byTheBeast
TDW AI sub crew 1.0.2
FX_Update_0_0_22_ByTheDarkWraith
FX_Update_0_0_22_Torpedoes (modified for torpedoes failure patches)
MightyFine Crew Mod 1.2.1 Stock faces
MCCD_1.04_MFCM_1.2.1_compatible
Naights Submaine Textures v1.2 (PUV) (edit)
NewUIs_TDC_7_5_0_ByTheDarkWraith (edit)
NewUIs_TDC_7_5_0_New_radio_messages_German
NewUIs_TDC_7_5_0_jimimadrids_map_tools
NewUIs_TDC_7_5_0_RadCapTools_0_2_alpha
HydrophoneFollowNearestContactFix_For_NewUIs_TDC_7_1_0_To_7_5_0
Fifi mods for NewUIs V2
Manos Scopes-patch for 16x9
gap - HD 1 deg Scope Bearing v 1.0
Sjizzle's - Charts for NewUIs part1 07.06.2013
Sjizzle's - Charts for NewUIs part 2 07.06.2013
Sjizzle's - Charts for NewUIs part 3 24.06.2013
Sjizzle's - Charts for NewUIs part 4 20.07.2013
IRAI_0_0_39_ByTheDarkWraith
IRAI_0_0_39_ByTheDarkWraith_Patch_1
R.E.M by Xrundel TheBeast 1.2 - no hyd on surface - NewUIs-IRAI compatible
R.E.M. - hydrophone mute for player fix (TDW compatible)

Cerberus62 Corrected Depth Charge Projector 1.0
NOZAURIO'S SKIN (Standar No Emblem) v-1.1.0
OPEN HORIZONS II_full v2.2
Sobers Terrain fix for OH2 V2.2
TDW_Mines_Subnets_Detectable_in_hydro (OH II )
OH II Minefield map for TDWs Ui
Reworked Morale and Abilities v.1.1
sobers green crew training V4 SH5
MadMaxs SH5 Subdiesel (mono) v2
Window Lights Redone V1
Sub Exhaust 1.0.5 byTheDarkWraith
Better Torpedo Graphics v2
gap - PVC Floor v 1.1 for SH5 - main mod
sobers smoke screen V1 SH5 (DynEnv compatible)
SteelViking's Bunker Fixes V1.0
SteelViking's Sky Banding Mod
SH5Lifeboats by Rongel TDW stoianm v2.1
SH5Lifeboat Wooden ver. 0.2
Submarine's .sim&cfg (modified for engine ratio patches)
Shadow Improvement Mod
Depth Charge Range Fix
Smaller flags for Warships 1.0 b
RPM Hydrophone v2.2.1
Realistic_Hydrophone_1_0
SH5 No Chronometer Ticking Sound
sobers Depth of Field (DOF) V6 SH5
R.S.D. - Reworked Submarine Damage v5.4 by vdr1981
R.S.D. & R.E.M. - GHG Hydrophone add-on (no hyd on surface)
gap - Alternative Cursors & KM Map Tools v2 - 1. Base Mod
gap - Alternative Cursors & KM Map Tools v2 - 2.a Alternate Tool Graphics - Wooden Handle
gap - Alternative Cursors & KM Map Tools v2 - 3. Shadowed Cursors
gap - Alternative Cursors & KM Map Tools v2 - 4.b Alternate Dialog Cursors - Shadowed
EQuaTool 01.01 by AvM - Large Style
gap - Alternative Cursors & KM Map Tools v2 - 5.i EQuaTool 1.1 Patch - Large Set
NewUIs_TDC_7_5_0_Real_Navigation
Trevally Automated Scripts v0.6
Trevally Harbour & Kiel Canal Pilot v3.1
Trevally Tutorial - All v0.2(for OHIIv1.3)
Lodebeard's key bindings


gap 10-27-13 01:56 AM

Quote:

Originally Posted by Husksubsky (Post 2133685)
edit: starts doing 360 sweeps after REM is installed. removed and verified it works again.

Quote:

Originally Posted by lodebeard (Post 2133973)
It seems to be only REM causing the problem for me. This is my 'almost Fifi's' mod list. Removing the red REM-related mods solves the issue.

interesting finding guys :up:

As I have noted in more than one occasion, also on this thread, REM is different from other sensor mods in that, in order to simulate different detection ranges at different depths, it uses two or three SensorData controllers for each hydrophone. My suspect is that while one of the controllers is locked on the selected target by tscharlii's script, the remaining controllers keep sweeping the sensor normally :hmm2:

THE_MASK 10-27-13 02:02 AM

I just had it working on sobers mega mod list . My hydrophone guy was sweeping the contact back and forth .

gap 10-27-13 02:32 AM

Quote:

Originally Posted by sober (Post 2133996)
I just had it working on sobers mega mod list . My hydrophone guy was sweeping the contact back and forth .

What was your depth? My guess is that you were at a depth which excluded the usage of more than one SensorData controller.

Husksubsky 10-27-13 07:16 AM

still 360 for me at 40 something depth. No Idea why it sweeps for sober thats just frustrating.:hmmm:. I go to the Pedestral mission,l dive , go to hyd station, point at sound,press zero, verify guy following contact and exit hyd station.

gap 10-27-13 07:35 AM

Quote:

Originally Posted by Husksubsky (Post 2134092)
still 360 for me at 40 something depth.

Could you try again at periscope depth?

Husksubsky 10-27-13 09:38 AM

Quote:

Originally Posted by gap (Post 2134095)
Could you try again at periscope depth?

All times was at periscope depth xpt last time I tried at 40 I ll try agai various depths and tell if it starts sweeping back and forth. I ll even try truning the boat


All times are GMT -5. The time now is 06:55 AM.

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