RandomWeather Plugin 0.1

Discussion in 'Plugins' started by palm3r, Jul 26, 2015.

  1. LokiD

    LokiD Registered

    Joined:
    May 3, 2017
    Messages:
    992
    Likes Received:
    882
    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!!
     
    Last edited: May 4, 2019
    Corgan and mr.Sw1tchblade like this.
  2. LokiD

    LokiD Registered

    Joined:
    May 3, 2017
    Messages:
    992
    Likes Received:
    882
    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.!
     
  3. LokiD

    LokiD Registered

    Joined:
    May 3, 2017
    Messages:
    992
    Likes Received:
    882
    Has anyone had it go full clear skies to cloud or visversa? Basically have you seen the clouds fully disappear.

    @palm3r
     
  4. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    5,915
    Likes Received:
    1,973
    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.
     
  5. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    6
    Likes Received:
    0
    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
     
  6. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,780
    Likes Received:
    550
  7. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    6
    Likes Received:
    0
  8. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,780
    Likes Received:
    550
    The PDF above the source/example is not enough?
     
  9. 1frey

    1frey Registered

    Joined:
    Aug 9, 2017
    Messages:
    6
    Likes Received:
    0
    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.
     
  10. MaD_King

    MaD_King Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,780
    Likes Received:
    550
    Perhaps this can help a bit more?
    https://forum.studio-397.com/index.php?threads/tutorial-send-udp-trame-from-rf2-plugin.44285/
     
  11. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    5,915
    Likes Received:
    1,973
    @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.
     

Share This Page