(See 1st comment)
When rain intensity increases, the rain volume increases smoothly too, however when rain intensity decreases, the sound volume decreases in stages with noticeable thresholds in between. Also the rain intensity changes too often.
(See 1st comment)
When rain intensity increases, the rain volume increases smoothly too, however when rain intensity decreases, the sound volume decreases in stages with noticeable thresholds in between. Also the rain intensity changes too often.
Listen to the rain on dedicated server.
Changed from sound to engine since this is not a sound problem.
On dedicated server, it seems the weather is now depends on server. So if I do something like 10 setrain 1 on client now it will obey for 5 seconds then it will sync back to current server rain value. Because client can still influence weather on client I think there is a conflict when trying to gradually decrease rain for example.
running 10 setrain 0 on client won't work, because in 5 seconds it will be back to server value. But if I execute it on server instead it will decrease on client in stages, I guess 5 sec thresholds. I've done this earlier and executed
60 setrain 0 on server. on Client the rain jumped from whatever value it was to
0.39 then to 0.25 then to 0.18 then to 0.03 with what seemed to be 5 sec interval. This is what this ticket is about.
To conduct your own experiment start
oneachframe {hintsilent str rain};
on client so you can see how it changes in real time then
use setrain on server with various interval and rain value.
for some reason the problem is only with reducing the rain, increase happens ok.
To add, setOvercast and forceweatherchange will ignore overcast duration.
For example
217692 setOvercast 1; forceWeatherChange; will behave as if it was
0 setOvercast 1; forceWeatherChange;
"seems the weather is now depends on server" - Yes weather is now synchronized from server to clients.
"forceweatherchange will ignore overcast duration" - Yes because force weather change is forcing weather to change now.
Documentation of command:
Forces saved wanted settings for weather to be actual
About sound. I'am trying to find problem now, so please be patient ;-)
As I stated above the problem is not with sound. Sound is just an indicator that rain changes intensity in stages rather than doing it smoothly.
The rain value changes in steps as I tried to explain this above. This is why sound is also changes in steps. Uneven rain value change is the cause not the sound. I hope I explained this ok :)
This has been fixed and rain sound still skippes. When i look on data for sound they are smooth but sound isnt so it is in sound ;-)
OK just checked. Still the same, as I reported above, nothing has been fixed, and the rain value still skips as before. Try this:
Now you should see hint showing rain value
After microfreeze you have rainy weather and cloudy sky and the hint shows 0.999 something
Conclusion: Rain sound changes with the rain value like it should. If rain value changes abruptly and so is the sound, so sound is not the cause.
I know i just fixed part where rain value was skipping and it sits still on my pc in changes... Be patient
Today's dev build fixed skipping both in value and sound. So this issue is resolved, thanks.
However there is another minor issue. The rain reaches its maximum sound volume in 0 - 0.25 interval and in about 0.8 - 1 it actually gets quieter. Should it be linear or exponential? One thing is for sure it should not get quieter the stronger it gets.