Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

MilKID - Season/Weather Changer

Discussion in 'Assets and Asset Store' started by MilKID, Jun 22, 2017.

  1. MilKID

    MilKID

    Joined:
    Jan 8, 2017
    Posts:
    16

    A solution for changing weather based on season.
    Get more details at http://www.itsMilkid.com

    Features:
    -Dynamic probabilities for different kinds of weather depending on the current season.
    -Costumizable length of day via Inspector
    -Weather always lasts a random amount of time between a changeable minimum and a maximum value.
    -Random Temperatures between a given minimum and maximum value!
    -Includes Example Scene!
    -Easy to Adjust to your liking by using your own ParticleSystems!
    -Easy to implement in existing projects!

    Description:

    My goal for this was to create a weather system that takes the seasons into account. To achieve a realistic solution I wrote a script that needs the length of the year in hours, which it will then use to calculate the length of each day. There is a timer that counts the days that have passed to evaluate the current day of the year and which season we are currently in. Depending on the current season, the user can input values for the probabilities of sunny weather, rainy weather, foggy weather and snowy weather. The script will randomize the duration for each weather type between a set minimum and maximum amount. It will also randomize the current temperature.



    Asset Store Link
    Feel free to use this thread for discussions, questions and suggestions.