DynamicWeather
By ApparentlyRohan
This mod gives GTA its own realistic weather system! Weathers transition (maybe?) as the day continues in game giving more variety in the sky. Read below to see what this mod has to offer:
Features:
Weather Sync to a real life location(Requires API key: API is free but setup required..DO NOT SHARE YOUR API KEY)
*The forecast UI will not popup if weather sync is enabled*
Custom realistic forecast
Temperature and weather condition included
Predicted (in game) time when the weather will occur
Varied weather durations with a configurable chance of extended conditions
Configurable thunderstorm chance
Optional snow mode replaces rain, and thunderstorms with snow and blizzards
On screen UI
Forecast
Current Weather
For real life weather sync and forecast
Ability to customize the position and scale of UI
Customizable temperature for different weather conditions
yes there is a way to switch to Celsius but default is Fahrenheit cuz 'Murica!
APIs:
bool IsRealLifeWeatherSyncRunning();
void PauseWeatherSystem();
void ResumeWeatherSystem();
List<Weather> GetCurrentForecast(out int currentWeatherIndex) # returns an empty list if real life weather sync is running
Events:
OnWeatherChanged
Installation:
Drag and drop Plugins folder into main game directory. Install OIV by dragging and dropping into OpenIV. The OIV file is mandatory.
A conversion from in game time to real life time was kindly made by Krazy Manuel and is provided down below. This will be helpful when reading the INI.
IMPORTANT THINGS TO NOTE:
The Severe Weather Event from ImmersiveAmbientEvents by @Echooo is not compatible yet with DynamicWeather. Please disable that event if you want to use DynamicWeather.
When using forecast generated by DynamicWeather, you cannot have freeze time OR force weather enabled in any trainer. Otherwise, DynamicWeather will not transition between weather. In IRL weather mode, you can have freeze time on but not force weather.
Some graphic mods consider weather differently. Thus, the graphic shown for different weather settings in GTA may not represent the weather accurately. You are welcome to edit the image names yourself to fit your graphic mods.
I do not log the location from the ini in the RagePluginHook.log. However, if you have trouble with the api working, I will need to know what the location is so please choose something more generic so any identifying information is not revealed while I am trying to debug.
Some graphics mods have bugs with how the sky looks when the weather is transitioning. It makes the sky green which is not exactly the most realistic. Due to these issues and no real fix, the weather switches instantly by default. You can change this in the ini. If you have the green sky, the fix is to turn off the transitions.
Customization:
All textures can be customized. Just make sure the weather textures is optimized for 96x96 and the notification texture is optimized for 64x64.
Console Commands:
PauseForecast
ResumeForecast
RegenerateForecast
RefreshWeather - Fetches from API again to get updated real life weather
SwitchToIRLWeather
SwitchToForecast
ReloadDynamicWeatherINISettings - Reloads INI settings without needing to load and unload plugin numerous times
Credits:
@Haze Studio for the notification texture
@Scorpionfam for the thumbnail
@HeyPalu for the on screen textures
@Lepoisson for the photos & beta testing
@dstickman for beta testing
Some guy on the discord that doesn't have an lspdfr account but helped beta test and gave me moral support...you know who you are :)
Krazy Manuel for the conversion chart
@BlueLine Vibes for making a showcase video of the new update and providing the discord as a platform to help beta test(Thank you all the beta testers in the discord!).
@khorio for the coding help with time and API integration
@Echooo for weather transition code

Edited by ApparentlyRohan
What's New in Version 1.3.0
Released
# DynamicWeather 1.3.0 Patch Notes
### Interface
- Updated the forecast and always-on weather display to use RAGENativeUI for smoother, more reliable drawing.
- UI has more consistent borders
- Forecast panel size can be scaled with `ForecastScale` (default `0.75`).
### Forecast
- Weather changes now update the clouds to match the active condition better, not perfect.
- Gradual weather blends re-check the forecast after finishing so a long blend cannot leave weather on a stale slot.
- Manual regenerate keeps the correct place in the weather cycle when stages repeat (Clearing / Overcast).
- Forecast card temperatures now reflect the predicted time of day for each slot (colder at night, warmer during the day).
- Fixed forecasts always starting on rain because the random seed was effectively constant.
- Fixed the forecast not keeping up when game time is skipped ahead. It now jumps straight to the condition scheduled for the new time instead of stepping through each entry.
### Configuration
- `TimeInterval` and `WeatherTransitionMinutes` are both set in **real-life minutes** (GTA scale: 2 real minutes = 1 game hour).
- Default `TimeInterval=6` keeps the old pacing (6 real minutes ≈ 3 game hours between forecast changes).
- Gradual blends use `WeatherTransitionMinutes` (default `2`) and follow **game time**, so they stay in sync with the forecast. Blends are also capped so they cannot outlast the current forecast slot.
### New INI options
```ini
[General]
SwitchWeatherInstantly=false
TimeInterval=6
WeatherTransitionMinutes=2
[Forecast]
ForecastScale=0.75
```
### Requirements
- RAGENativeUI 1.9.3 or newer
- The `dw_weather.ytd` texture pack must be installed so weather icons can show
---
Short Description
AI disclosure
The author has disclosed that AI tools were used in creating the following aspects of this file:
- Mod and Mod Content (Minor)
Used to bug fix things and strengthen the UI to make it look like an actual forecast rather than a baby pooping on your screen
@Scorpionfam for the thumbnail
@HeyPalu for the on screen textures
Krazy Manuel for the conversion chart
@lepoisson for the photos and beta testing
@dstickman for helping with beta testing
@BlueLine Vibes for making a showcase video and providing the discord as a platform to help beta test (Thank you all the beta testers in the discord!).
@khorio for the coding help with time and API integration
@Echooo for weather transition code
Recommended Comments
Create an account or sign in to comment