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

Reply
 
Thread Tools Display Modes
Old 01-09-14, 12:08 PM   #1
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default [REL] Medium Fog Bug Workaround

Please read the Known issues.

This is a very simple fix for the medium fog bug. I am sure others have done something like this before, but I couldn't find anything on the forum, so I just did it myself and thought I would share.


What it does
--------------------------
This mod makes medium fog appear much more rarely in game. Also, upon reloading a game, the chance of there being medium fog (the reload fog bug) is much reduced, although it's still possible.


How it does it
--------------------------
I've simply replaced medium fog settings with clear weather settings. Also, light fog settings have been replaced with medium fog. This means that whenever the game forces medium fog, the visibility will be perfectly clear (like with no fog). The only time you will see medium fog in the game will be when it forces light fog (happens much more rarely than medium fog in my experience).


Known issues
--------------------------
- There is no light fog anymore.
- Transition from clear weather to heavy fog, when it happens, will be very sudden.
- When the navigator reports weather, fog will not be properly reported. (this can be fixed, read below)

To fix the navigator weather report showing wrong fog state, you have to edit your menu.txt file (found in data/menu). Open it and find these lines:
4100=None
4101=Light
4102=Medium
4103=Heavy

Change them to this:

4100=None
4101=Medium
4102=None

4103=Heavy

I'm not including this file in my mod because of compatibility issues - too many other mods edit this file.

Compatibility
--------------------------
I've added compatibility with the following:
1. Stock game
2. Real Environment - Rev 3
3. Dynamic Environment 2.9


Installation
--------------------------
Choose the version you need and paste it into your mods folder. Install with JSGME. Should be savegame compatible.


Download link
--------------------------
http://www.mediafire.com/download/cd...workaround.rar

Last edited by archer9; 01-09-14 at 03:45 PM.
archer9 is offline   Reply With Quote
Old 01-09-14, 12:54 PM   #2
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,078
Downloads: 581
Uploads: 13


Default

This could be very handy mod! Medium fog bug is so annoying...

Edit:
I can see that you have included menu.txt in your mods..This is not good idea IMO because in order for some major mods to work properly manual editing of menu.txt is requaired , like real navigation, realistic hydrophones ect...
vdr1981 is offline   Reply With Quote
Old 01-09-14, 02:08 PM   #3
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default

Quote:
Originally Posted by vdr1981 View Post
I can see that you have included menu.txt in your mods..This is not good idea IMO because in order for some major mods to work properly manual editing of menu.txt is requaired , like real navigation, realistic hydrophones ect...
Another reason for me to reintroduce JTXE, a great mod enabler for any text based files. Gap, volodaya61 remember? If you send me your completed menu.txt file, archer9, I can convert it for you.

Reading the JTXE thread, do not be mislead by "merge lines in ini-Files". Ini files is how this are stored by the JTXE program.

**.ini file is to JTXE as **.mep file is to JSGME

Mod order flow, first in, last out scenario:
JSGME mod enabled
JTXE mod enabled

removing mods
JTXE mod disabled
JSGME mod disabled

May seem confusing for some, but used it a lot in SH4. Other captains contributed quite a bit of SH4 JTXE mods.
Mikemike47 is offline   Reply With Quote
Old 01-09-14, 02:34 PM   #4
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default

My menu.txt file has very minor changes, basically I've changed just two lines for weather reports and I have included compatibility for TDW's UIs + Real Navigation (will perhaps add compatibility for other UI mods as well in the future). I guess if you have other important mods that overwrite this file, for now simply delete it from my mod before installing, because the mod will work without it anyway. It's just that fog in weather reports will be incorrectly displayed.

Or maybe I will just remove the file and post instructions on how to modify it manually in the OP.

I'll have a look at that JTXE thingy as well, thanks.


Edit: For now, I've updated the first post with how to manually edit menu.txt with my changes.

Last edited by archer9; 01-09-14 at 03:26 PM.
archer9 is offline   Reply With Quote
Old 01-12-14, 12:58 PM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Added to the list of Dynamic Environment's suggested mods
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 01-13-14, 10:02 PM   #6
Husksubsky
XO
 
Join Date: May 2008
Location: oslo,Norway
Posts: 424
Downloads: 254
Uploads: 0
Default

Won t the game "think" it s foggy and dd s have spotting according to fog even though we have clear weather then?
Husksubsky is offline   Reply With Quote
Old 01-14-14, 05:29 AM   #7
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default

Nope. Not in my testing at least.
archer9 is offline   Reply With Quote
Old 01-14-14, 09:54 AM   #8
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,078
Downloads: 581
Uploads: 13


Default

Archer, don't you think that it is better solution to just swap medium and light fog ? That way you could eliminate "no light fog" issue...
vdr1981 is offline   Reply With Quote
Old 01-14-14, 10:38 AM   #9
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default

Yes, that was my initial plan. But it would only turn the medium fog bug into light fog bug. I understand it still would have been an improvement, but I decided that sacrificing light fog isn't that big of a deal for me personally. Perhaps I will create a separate version with swapped medium and light fog as you suggested.
archer9 is offline   Reply With Quote
Old 01-14-14, 11:26 AM   #10
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 994
Downloads: 1078
Uploads: 6
Default

Are you aware that sober was working on issues between medium and light fog?
Mikemike47 is offline   Reply With Quote
Old 01-14-14, 01:29 PM   #11
archer9
A-ganger
 
Join Date: Apr 2009
Posts: 80
Downloads: 90
Uploads: 2
Default

Umm, not really.
archer9 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 05:36 PM.


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.