SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [TEC] Here comes the rain again? (https://www.subsim.com/radioroom/showthread.php?t=202560)

castorp345 02-27-13 09:27 AM

[TEC] Here comes the rain again?
 
Ahoy all,
In my real-time Aleutians campaign I've taken to manually tweaking the scene.dat file (using skwas' amazing 3ditor) to reflect current real-world wx from ship and buoy obs data (courtesy of NOAA ==> http://www.ndbc.noaa.gov/radial_sear...0&ot=A&time=12 ), enabled by setting UseCotrollersWeatherData=True in the EnvSim node subsection.
My issue however is that while this works admirably well for wind and visibility conditions, I can't seem to find the controller settings for rain and snow...
sure the rain node parameters are there (randomwind, dropsnumber, etc), but how does one turn the rain on??? :/\\!!
Many thanks and fair winds,
hc
:salute:

Armistead 02-27-13 12:30 PM

The rain node is in the scene dat, towards the bottom. For the most part hard code controls when weather types change, when it rains, etc, although you can adjust the update time under weather controls.

Been awhile since I looked, but seems if weather is set to false, it gets the info from the parameters set in the mission file. If you open campaign file and look in one with notepad, you'll see weather parameters for that group. Still, there are other factors coded that deal when they take place along the groups course.

If a single mission, set weather in the ME.

Oh, there is no snow. You could change the rain texture and make snow, but then it would snow anywhere in the world instead of rain.

castorp345 02-27-13 12:42 PM

Quote:

Originally Posted by Armistead (Post 2016907)
The rain node is in the scene dat, towards the bottom. ...

Thanks Armistead.
As I indicated above, I'm already manually adjusting weather parameters to an ongoing save file (as opposed to the initial set of parameters given in the mission files) by setting UseCotrollersWeatherData=True. I'm aware that the rain node is located in scene.dat but none of its variables appear to be a "switch" to turn on/off (true/false) the rain state... unless I'm overlooking something in the node? What tells the sim engine to activate rain from a loaded save file? There must be a trigger for it somewhere...! :hmmm:
cheers,
hc
:salute:

Armistead 02-27-13 01:14 PM

Quote:

Originally Posted by castorp345 (Post 2016910)
Thanks Armistead.
As I indicated above, I'm already manually adjusting weather parameters to an ongoing save file (as opposed to the initial set of parameters given in the mission files) by setting UseCotrollersWeatherData=True. I'm aware that the rain node is located in scene.dat but none of its variables appear to be a "switch" to turn on/off (true/false) the rain state... unless I'm overlooking something in the node? What tells the sim engine to activate rain from a loaded save file? There must be a trigger for it somewhere...! :hmmm:
cheers,
hc
:salute:

It's hard coded as far as I know as are many weather factors. The most we can do is increase or decrease the chances of weather. To get rain to take place, weather type 3 has to activate and I know of no switch where we can control that. If one exist we can get our hands on, I've never found it......good luck!


All times are GMT -5. The time now is 10:55 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.