so just tried this mod.. Set weather to sunny all slots at 0 C (just to see if plugin worked) In game I had a wet qualy and in race it went from dry (20c) to light rain stopped then light rain before drying our for the race finish!! whoa!!! what fun... Brings a whole different element to rf2 offline. This is a must for S397 to implement and as it seems can be done!!
The fact that the visual weather slots don't depict the random weather (just shows 5 slots of sunny at 0C) doesn't give anything away, so its unpredictable... how weather should be. For me this is the most important mod I this whole forum.!
Has anyone had it go full clear skies to cloud or visversa? Basically have you seen the clouds fully disappear. @palm3r
Other plugins have suggested setting the weather to cloudy (instead of sunny) to avoid some strange cloud switching. I could never get to the bottom of it when making a weather generator for league use but that might be worth a go.
Hi @palm3r, Thanks for your plugin. One question coz iam also an developer. Where can i find the plugin api documentation? where to you read about the interface? Thanks
Its not saying much about available c_structs (the data structures provided by rF2 where game data is stored that you can read and write as an developer). So for example i have no idea how the data scrtuct is named where i can set the weather. An api reference would be a overview of all available functions and data. So i think i have to check out the code of those two example plugins.. and just learn. But thank you MaD_King.
Perhaps this can help a bit more? https://forum.studio-397.com/index.php?threads/tutorial-send-udp-trame-from-rf2-plugin.44285/
@1frey the example code shows the available structures and functions that are called by the game. There are limitations, but what's there is quite self explanatory.
Hi all, I am struggling with the RandomWeather.ini configuration. Please can someone advise me how to have it set so it is sunny for part of the session, cloudy for part and rains a tiny bit in-between? I have a 60 minute practice, 30 minute qualify and 15 minute race. This is my current config; [weather] event_duration = 105 rain_chance = 10 min_air_temp = 15 max_air_temp = 25 [cloud] zero = 0.25 amplitude = 0.75 period = 900 octave = 2 min = 0 max = 1 expression = cloud(T) + (wind_speed(T-30) / 2) [rain] zero = 0 amplitude = 0.5 period = 60 octave = 4 min = 0 max = 1 expression = rain(T) + (cloud(T-30) / 2) [wind_speed] zero = 0.25 amplitude = 0.75 period = 1200 octave = 8 min = 0 max = 1 expression = wind_speed(T) [air_temp] zero = 0 amplitude = 1 period = 43200 octave = 1 min = -1 max = 1 expression = air_temp(T) - (cloud(T) / 4) - (rain(T) / 4) Thanks in advance.