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

Reply
 
Thread Tools Display Modes
Old 12-29-10, 12:14 PM   #1
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default For environment modders only: Weather Transitions

While working on the Bad Weather Fix

http://www.subsim.com/radioroom/showthread.php?t=177507

I programmed a little mod that triggers a weather transition exactly every 30 minutes from good (clear sky) to bad (heavy clouds, often fog & rain) and back to good and so on. Using this little mod in the Navigation Lesson of the Naval Academy, I found out that in my private environment mod the weather transitions looked very ugly:

1. Fog appears and disappears immediately and
2. Clouds also appear/disappear immediately without any smooth transition.

This happens for most of the available environments I've tested so far (e.g. OLCE), but surely noone saw it, because weather transitions occur seldom (every 20-40 hours) and thus probably during high TC.

Now I found out how to make much better looking weather transitions by making some changes in scene.dat:

1) Set EnvSim:Fog:FogChangeSpeed to 0,001 instead of 1,0.

2) Set Node-Clouds:Clouds:Wind: CloudsTransitionTextureName=CloudsTransition.tga instead of <no entry>.

I don't know why the devs set FogChangeSpeed=1 and some modders deleted the CloudsTransition.tga entry. Maybe because of side-effects I am not aware of. So don't understand this post and my results as final truth, it's just intended for discussion and further development.

@Makman94: In the patch for M.E.P. v3 you deleted CloudsTransition.tga from scene.dat. Why did you do that? Before your patch weather transitions looked very well in M.E.P, but not after the patch.

h.sie

My Weather Transitions Test Mod can by found here:

http://www.mediafire.com/?6h7v5xkka645dgl
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 12-29-10 at 12:35 PM.
h.sie is offline   Reply With Quote
Old 01-05-11, 12:57 AM   #2
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by h.sie View Post
....
@Makman94: In the patch for M.E.P. v3 you deleted CloudsTransition.tga from scene.dat. Why did you do that? Before your patch weather transitions looked very well in M.E.P, but not after the patch.

......
there is no reason H.Sie,

i was 'fighting' to locate an error that i created during the development of M.E.P v3-patch so i restarted working on a brand new base scene.dat importing parts of my tweaks till i located the error. then i import all the rest tweaks but i forgot to import this one you mentioned here so yes it must be done as CloudsTransitionTextureName=CloudsTransition.tga in the scene.dat but expect some light's strong reflection on water only at the start of changing procedure from good to bad weather.

about the FogChangeSpeed setted to 0,001 i don't know...never have 'messed' with it but sounds good...i will try it to see it in action now that you provided this tool for fast changing weather.

also , no matter what env mod someone use,it is a good tweak to set at sky-->envsim-->UpdateTime = 0,01

it will make your sky objects (sun ,stars,clouds and moon) to move much more smoothly as this will updating your sky every 0,01 seconds (note:maybe there is a faster updating value but if you set 0,001 the game crashes)

ps: happy new year to every subsimer with health and smiles !
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline   Reply With Quote
Old 01-05-11, 09:41 AM   #3
IFRT-WHUFC
Engineer
 
Join Date: Jul 2006
Location: By the Nordsee
Posts: 200
Downloads: 374
Uploads: 0
Default

I just wish the movement of couds were simulated more with the wind speed!

don't really see a great impact of the cloudstransition.tga myself & 0,001 seems way to slow!

ok
Rick
IFRT-WHUFC is offline   Reply With Quote
Old 01-05-11, 09:42 AM   #4
IFRT-WHUFC
Engineer
 
Join Date: Jul 2006
Location: By the Nordsee
Posts: 200
Downloads: 374
Uploads: 0
Default

not had a game crash @ 0,001 though! hmmmm
IFRT-WHUFC is offline   Reply With Quote
Old 01-05-11, 11:15 AM   #5
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

Hi Rick,

CLoudsTransition.tga does not affect the movement of the clouds, but much more the fading-in / fading-out when weather changes.

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie 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 01:12 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.