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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-26-10, 08:39 AM   #1
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 5,991
Downloads: 109
Uploads: 2


Default

Quote:
Fleetboat visual AI is controlled by the “VisualSubWatch” sensor nod which is part of data/library/senorvisualsub.xxx. The actual file that changes the values for this sensor is senorvisualsub.sim.
Well yes and no. If you remove the reference to VisualSubWatch in the subs SNS file, nothing happens, and they are equipped still with visual sensors, and crew spots things. But if you remove the file senorsvisualsub altogether, then the crew is certainly blind. But that's not all. If you look into senorvisualsub, and open the node for VisualSubWatch, you will see no parameters at all. It's empty. That's why I suspected that sensors.dat could be the default file called by the game's exe in that case. Further testing shows however it's not the case

Quote:
The other file that effects Fleetboat visual detection is “Visual” section of Sensor.cfg

RSRDC for RFB does not add “either” on of these files.
According to my download of RFB 2.0, it does add a new sensors.cfg with teh following line on top:

; NYGM Submarine Visual Sensor v1.1.3 for Environment 5.0

Quote:
RFB 2.0 does not have “Sensor.dat” as part of its file structure.
I know, but as explained, I feared that the game could default to that one via the empty senorvisualsub file.
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 02-26-10, 04:23 PM   #2
lurker_hlb3
Admiral
 
Join Date: Apr 2005
Location: San Diego Calif
Posts: 2,290
Downloads: 187
Uploads: 12
Default

Quote:
Originally Posted by Hitman View Post
But that's not all. If you look into senorvisualsub, and open the node for VisualSubWatch, you will see no parameters at all. It's empty.

Let’s do some basic code review of the two (2) files that make up sensorvisualsub.xxx

sensorvisualsub.dat defines the sensor nod. Please note the node ID in the figure below as defines by the red arrow..




Sensorvisualsub.sim defines the sensor parameters that the “Parent ID” will use. Please note the Parent node ID in the figure below as defines by the red arrow. You will note that it is the same the one shown in sensorvisualsub.dat.




You will note after “SensorData” is expanded that you will see all the various parameters that the VisualSubWatch sensor nod uses.




You will find this format for sensor is also used by a number of other SH4 files (i.e. Sensors_Sub_US.xxx and Senzori_Uboat.xxx)
lurker_hlb3 is offline   Reply With Quote
Old 02-27-10, 03:42 PM   #3
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 5,991
Downloads: 109
Uploads: 2


Default

Thanks for the clarification. The problem is that modifying parameters in sensorvisualsub.sim actually has no effect at all, as far as I have seen. Might be I did something wrong, but as said, no effect.
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 02-27-10, 11:12 PM   #4
Frederf
Seasoned Skipper
 
Join Date: Apr 2005
Posts: 665
Downloads: 79
Uploads: 1
Default

Out of idle curiosity, where are these extraneous "fix" and "patch" small changes made available or are these simply between-version internal development experiments?
Frederf is offline   Reply With Quote
Old 02-28-10, 04:14 AM   #5
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 5,991
Downloads: 109
Uploads: 2


Default

Some post ago I gave a link to a quick fix for the fog problem. This fix tweaks ONLY the scene.dat file, i.e. the file that controls the density of the fog in the game, as I have discovered what seems to be apparently either a bug or an error in design (Too dense fog except in excellent visibility condicions, i.e. no fog at all). Then I have also started a run of tests to fine tune the visual sensor of the submarine's crew, in order to adapt them correctly to the revised fog values. The goal is that the player can see things at the same time as his crew, or even slightly before.
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 02-28-10, 06:32 PM   #6
TopcatWA
Navy Dude
 
Join Date: Sep 2004
Location: Downunder W.A. Sth.of the River
Posts: 173
Downloads: 36
Uploads: 0
Default

Finally got to download RFB 2.0.
Looks good.
I take my hat off to the modders responsible.
__________________
Run Silent Run Deep!!!!
01.NSM4 Classic/.RFB v.1.52.1024+Patches
02.RFB Radar HotFix/RSRDC_RFBv15_V420+Patch2
03.Sobers_Better_Rocks & Sand
04.Small_Nav_Tools_w_Chrono
05.Brit_MkVIII_US_Mk28_Torps
06.ROW Sound effects.v.9/Enviromental 5.0
O/S Win10 Pro 64-Bit/Intel 64xQuad Core
CPU i7-4790+3.60 Ghz 32gig RAM
nVidia GeForce GTX-1650 Ti
TopcatWA is offline   Reply With Quote
Reply

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 12:49 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.