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 12-14-07, 06:48 PM   #1
Bill Nichols
Master of Defense
 
Join Date: Mar 2000
Posts: 1,502
Downloads: 125
Uploads: 0
Default Question: How to change water transparency

Can anyone tell me where to go, using S3D Editor, to adjust underwater visibility?

Thanks!

:hmm:
__________________
My Dangerous Waters website:
Bill Nichols is offline   Reply With Quote
Old 12-16-07, 06:23 PM   #2
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

as far as i know, you cant do it the way it was done in sh3.

for sh4 you can only eliminate some things like floating plankton and blurr effects as well as distortion effects so if thats what you have in mind then:

to remove:

Plankton - open data/ misc folder then delete the "impurity.dds" file

Underwater distortion -
open data/ misc folder then delete the "turbulence.dds" file

Plants and rocks - open data/ library and delete the "undersea.dat" and "vegetation_kit.dat" files

Last edited by Webster; 12-17-07 at 01:44 PM.
  Reply With Quote
Old 12-16-07, 07:27 PM   #3
jdkbph
Captain
 
Join Date: Mar 2007
Posts: 508
Downloads: 104
Uploads: 0
Default

I haven't figured out how to do it with S3D (ie, the easy way), but here are the hex editing instructions I found a while back. It still works as advertised with SH4 1.4, TM and other goodies installed.

JD

---

Open the Scene.dat file using a hexadecimal editor and modify the following :

1]
Original Value : (-4)
0003da 6F 67 00 00 00 80 C0 00 @@....Fog....A.

Improved Underwater Visibility : (-3)
0003da 6F 67 00 00 00 40 C0 00 @@....Fog...@A.

2]
Original value : (18)
0003da 6F 67 00 00 00 80 C0 00 00 90 41 00 ..A.PF<....UpLight

Improved Underwater Visibility : (30 m)
0003da 6F 67 00 00 00 40 C0 00 00 f0 41 00

Improved Underwater Visibility : (60 m)
0003da 6F 67 00 00 00 40 C0 00 00 70 42

Improved Underwater Visibility : (70 m)
0003da 6F 67 00 00 00 40 C0 00 00 8c 42

Improved Underwater Visibility : (100 m)
0003da 6F 67 00 00 00 40 C0 00 00 c8 42


3]
Original Value : (120 m)
001b6a 73 74 61 6e 63 65 00 00 00 f0 42 ..öB

Improved Underwater : (180 m)
001b6a 73 74 61 6e 63 65 00 00 00 34 43 MaxDistance…4C

Improved Underwater : (300 m)
001b6a 73 74 61 6e 63 65 00 00 00 96 43 MaxDistance….C
jdkbph is offline   Reply With Quote
Old 12-16-07, 07:56 PM   #4
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,549
Downloads: 26
Uploads: 3
Default

In S3D the values are a bit masked, but you can edit them as follows:

First, switch to List-view by clicking the 'Tree' button.

- Node 9: Properties
- Open 'Underwater' node
- Select 'Fog':

X = ZMin = -4
Y = ZMax = 18

(In upcoming S3D release these values have correct labels!)

However, the last value jdkbph mentions is part of the Flash controller, so I doubt this one is useful in any way, but I may be wrong.
skwasjer is offline   Reply With Quote
Old 12-17-07, 08:13 PM   #5
Lt commander lare
Grey Wolf
 
Join Date: Feb 2005
Location: southlyon michigan
Posts: 897
Downloads: 781
Uploads: 35
Default

thanks for the help on removing the plankton i was wondering how to do that

lt commander lare
Lt commander lare is offline   Reply With Quote
Reply


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 04:43 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.