![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
|
![]()
Inspired by two mods, the frozen harbours of LSH and the vanishing food by DivingDuck, i thought about a snow mod. And its possible! Even with restrictions.
![]() This is how it works: We use the technique of how snow and rain in films are made. Its just on a certain area around the boat. This gives us the feeling of snow (no use of external camera!) To produce the snow, we create 4 particle generators higher above the boat (in a special radius around it), which are linked via the statemachinecontroller to the forecast, the use of rainjackets or to the raincontroller itself. So, if there is rain (which is "disabled" due to an edited scene.dat), the emitters produce snow. The particle generators use a special texture for the snow, an ice crystal. This is possible. Its shown by the smoke and fire emitters, they also use certain textures. With negative values to the weight, the particles fall down and can have all properties of particles in the game. So they can fall fast, slow, wind affected, many or just a few. Additionally there could be a texture changer controller, which is also linked to the statemachinecontrollers. It changes the texture of the boat itself, to an icy one (this already exists by tomi99), when the snow falls. The whole mod is only producing universal snow. So it must be enabled during the winter via JSME before patrol. Using this technique, theres also the possibility giving the merchants and other ships snow textures. But this would mean, they always are snowy, even if theres no snow falling. This could also be done with the boat texture itself. This solution isnt perfect, but its a way to have real snow in the game. As i have no experience in how using the statemachinecontrollers, this is i where asked for help now!... If you are experienced in using them correctly, please let me know. I only can create the particle emitters (+ the texture and the functions) and link them to certain parts, but not to statemachinecontrollers. ![]()
__________________
|
![]() |
![]() |
|
|