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 03-07-21, 03:30 AM   #1
U-190
Duplicate account

Not Allowed
 
Join Date: Nov 2019
Location: Russian Federation Nizhny Novgorod
Posts: 713
Downloads: 2338
Uploads: 0
Default Real Сloud Types

...

Last edited by U-190; 03-07-21 at 10:01 AM.
U-190 is offline   Reply With Quote
Old 03-07-21, 06:29 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Interesting mod, I had something similar in mind, but I have a couple of remarks.
  • Each cloud type in Clouds.cfg is marked by an header within square brackets. According to my SH modding experience, items marked in such a way must be listed in the game code or in some other cfg file, kind of like a programming variable must be "declared" before it can be assigned with any value.
    Stock game features the following cloud types: nimbostratus, stratocumulus, stratus, altocumulus, cumulus, cumulonimbus. The other cloud types you added to the file (cirrus, cirrostratus, cirrocumulus, altostratus) might be ignored by the game. If you want to check that, give cloud type headers in your copy of Clouds.cfg fantasy names, and give them some extravagant settings (i.e. you could make all of them very low), then set a testing mission with cloudy weather and run the game. Four possible outputs are coming to my mind:

    • the game crashes, because it is looking for the names of clouds declared elsewhere, and it can't find them in Clouds.cfg;

    • terse sky: no cloud spawn because no valid cloud names could be found in Clouds.cfg;

    • all the clouds spawn with default settings because no valid cloud names (with their own settings) could be found in Clouds.cfg;

    • clouds spawn and they reflect your settings (very low in my example)

    If the latter case is true (and only in that case), you are right and I will stand corrected

  • One more note: exception made for min/max heigth values, all the cloud types in your file have the same settings. This is not the case of stock clouds. Is this loss of feature intentional?


P.S: look in scene.dat if stock cloud types are found there
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 03-07-21 at 06:55 AM.
gap is offline   Reply With Quote
Old 03-07-21, 09:24 AM   #3
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,650
Downloads: 137
Uploads: 0


Default

Cloud types are listed in EnvSim.act
I scanned every file in SH5 and only EnvSim.act and Clouds.cfg contain the cloud names.
Jeff-Groves is offline   Reply With Quote
Old 03-07-21, 09:29 AM   #4
U-190
Duplicate account

Not Allowed
 
Join Date: Nov 2019
Location: Russian Federation Nizhny Novgorod
Posts: 713
Downloads: 2338
Uploads: 0
Default

Quote:
Originally Posted by Jeff-Groves View Post
Cloud types are listed in EnvSim.act
I scanned every file in SH5 and only EnvSim.act and Clouds.cfg contain the cloud names.
and where is this file located?
U-190 is offline   Reply With Quote
Old 03-07-21, 09:34 AM   #5
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,650
Downloads: 137
Uploads: 0


Default

It's in the base folder of SH5.
Jeff-Groves is offline   Reply With Quote
Old 03-07-21, 09:37 AM   #6
U-190
Duplicate account

Not Allowed
 
Join Date: Nov 2019
Location: Russian Federation Nizhny Novgorod
Posts: 713
Downloads: 2338
Uploads: 0
Default

Quote:
Originally Posted by Jeff-Groves View Post
It's in the base folder of SH5.
Thanks. how can I edit it?
U-190 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 12:59 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.