![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Sea Lord
![]() Join Date: Mar 2007
Location: La Paz, Bolivia
Posts: 1,965
Downloads: 275
Uploads: 51
|
![]()
Kaleuns, I remember many years ago, someone asked if it was possible to change (increase or decrease) the chances of having bad weather that includes lightnings and thunders. Am I right or wrong?
![]() I ask because I noticed that it's relatively low the frequency of lightnings and thunders during very bad weather. Any info about this will be most welcome. Thanks a lot in advance. ![]() CapZap
__________________
![]() |
![]() |
![]() |
![]() |
#2 |
Ocean Warrior
![]() |
![]()
Calling SubType Zero ! He knows a lot about the weather code CapZap1970.
![]()
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper ![]() |
![]() |
![]() |
![]() |
#3 |
Lieutenant
![]() Join Date: Mar 2007
Location: 19,998 Leagues under the sea
Posts: 262
Downloads: 7
Uploads: 0
|
![]()
I'm afraid you give me too much credit, John. Although I assisted Stiebler with the weather in the past, he is really the person to consult regarding questions about the weather.
Speaking of Stiebler, has anyone heard from him lately? I sent him a PM a month or so ago, but haven't heard back. I hope everything is okay. I will see what I can find regarding the frequency of lightning flashes, but I can't promise anything. |
![]() |
![]() |
![]() |
#4 |
Sea Lord
![]() Join Date: Mar 2007
Location: La Paz, Bolivia
Posts: 1,965
Downloads: 275
Uploads: 51
|
![]()
Thanks a lot for your replies, Kaleuns.
![]() I will be on standby! ![]() CapZap
__________________
![]() |
![]() |
![]() |
![]() |
#5 |
Lieutenant
![]() Join Date: Mar 2007
Location: 19,998 Leagues under the sea
Posts: 262
Downloads: 7
Uploads: 0
|
![]()
I think the answer is in the scene.dat file, located in the data folder. I'm not sure, but it appears that the minimum time between lightning flashes is set for 32 seconds and the maximum time is set for 160 seconds. A somewhat mild thunder storm.
In addition to Stiebler, you might ask anyone else who has experience with this file if they know the correct answer. My hex reading skills, such as they are, have deteriorated over the years from lack of practice. You might try the author of the MEP mod (Manos?). |
![]() |
![]() |
![]() |
#6 |
Lieutenant
![]() Join Date: Mar 2007
Location: 19,998 Leagues under the sea
Posts: 262
Downloads: 7
Uploads: 0
|
![]()
Assuming these are the correct locations for these values, it should be possible using SH3 Commander to randomize the frequency of lightning flashes in order to create thunder storms of different "intensity." I'm not sure what effect this might have on frame-rates, however.
|
![]() |
![]() |
![]() |
#7 |
Ocean Warrior
![]() |
![]()
To much credit ? I don't think so.
![]()
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper ![]() |
![]() |
![]() |
![]() |
#8 |
Sea Lord
![]() Join Date: Mar 2007
Location: La Paz, Bolivia
Posts: 1,965
Downloads: 275
Uploads: 51
|
![]()
WOAH!!!!
![]() ![]() Great info, Subtype Zero!!! and thank you very much for the info! Now, if it's not too much bother, where in the Scene.DAT file can this info be found? Anyway, that's great help and I agree with John Pancoast's opinion... ![]()
__________________
![]() |
![]() |
![]() |
![]() |
#9 |
Ocean Warrior
![]() |
![]()
Cap, I believe it's in the flash node, found under the sky node. Correct me if wrong Subtype Zero.
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper ![]() |
![]() |
![]() |
![]() |
#10 |
Lieutenant
![]() Join Date: Mar 2007
Location: 19,998 Leagues under the sea
Posts: 262
Downloads: 7
Uploads: 0
|
![]()
John, I think you are at least half-right!
![]() There appear to be two hex files that control the appearance of lightning in the game. EnvSim.act, the file I believe you are referring to, seems to control the graphics associated with lightning flashes and other environmental variables such as sea and sky color, etc. Scene.dat, on the other hand, seems to control the positioning and timing of lightning flashes. Strangely, though, I can't get Silent Editor to open the file, so I can only see it using a Hex editor. I have highlighted the lightning section, but there appears to be only two values that need changing, MinTime and MaxTime. |
![]() |
![]() |
![]() |
#11 | |
Ocean Warrior
![]() |
![]() Quote:
![]()
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper ![]() |
|
![]() |
![]() |
![]() |
#12 |
Lieutenant
![]() Join Date: Mar 2007
Location: 19,998 Leagues under the sea
Posts: 262
Downloads: 7
Uploads: 0
|
![]()
I will see if I can edit this file and then test it in a new career during the summer months. Any preference for how frequent you wish the lightning strikes to be?
|
![]() |
![]() |
![]() |
#13 | |
Sea Lord
![]() Join Date: Mar 2007
Location: La Paz, Bolivia
Posts: 1,965
Downloads: 275
Uploads: 51
|
![]() Quote:
![]() to tell you the truth, I would say an increase of 5-10%. now, do you think it's a reasonable increase? Thanks a lot for your input! BTW, wouldn't you prefer that I send you the necessary files I use? I have already tweaked files so you don't have to do the same process twice. If that's the case, please let me know which files would you need, because I have no idea of hex editing... ![]() Also, thanks a lot John Pancoast too! You 2 guys have been a wonderful help! ![]() ![]() ![]()
__________________
![]() Last edited by CapZap1970; 02-09-21 at 11:35 PM. |
|
![]() |
![]() |
![]() |
#14 |
Lieutenant
![]() Join Date: Mar 2007
Location: 19,998 Leagues under the sea
Posts: 262
Downloads: 7
Uploads: 0
|
![]()
CapZap,
5 - 10 percent? Just a nudge, huh? ![]() The good news is that I have tested changing the file, and at least the game didn't crash. The main effect was an increase in the sound of thunder, but not necessarily many more lightning flashes. It may be that some of the flashes are taking place too far away from the boat to be seen. Unfortunately, lightning flashes in the game don't light up dark clouds as they do in real life. Since the lightning effect is controlled by the scene.dat file, it will affect the last mod installed in JSGME that uses the scene.dat file. Off the top of my head, I know that GWX, NYGM, M.E.P., and possibly other mods use this file, so you will have to work backwards in your activated mods list and find the last mod to change the scene.dat file. Send a copy of that file to me and I will make the required changes and send it back for you to test. As I mentioned earlier, I think I can use SH3 Commander to randomly select different versions of this file to produce thunder storms of different intensity, such as mild, moderate, strong, and fierce. The only problem with this solution is every storm on your patrol will have the same intensity until you save, exit, and run SH3 Commander again. |
![]() |
![]() |
![]() |
#15 | |
Sea Lord
![]() Join Date: Mar 2007
Location: La Paz, Bolivia
Posts: 1,965
Downloads: 275
Uploads: 51
|
![]() Quote:
SZ, the percentage you mention is fine (20-40%). Now, the SH3 Cmdr part looks also very interesting and I have no problem with that. ![]() CapZap P.S. You have PM, Sir!!! ![]()
__________________
![]() |
|
![]() |
![]() |
![]() |
|
|