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)
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.
The time interval in the ini file is representative of in game time. A conversion from in game time to real life time was kindly made by Krazy Manuel and is provided down below.
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.
The time interval in the INI is measured by IN GAME HOURS.
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
SwitchToIRLWeather
SwitchToForecast
ReloadDynamicWeatherINISettings
Credits:
@Haze Studio for the notification texture
@Scorpionfam for the thumbnail
@HeyPalu for the on screen textures
@Lepoisson for the photos
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 a beta (it is outdated but gives good idea of what the mod does) 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.2.0
Released
# DynamicWeather 1.2.0 Patch Notes
### New
- Added optional snow mode. When enabled, forecast clearing, rain, and thunderstorm stages become light snow, snow, and blizzards.
- Added configurable thunderstorm and blizzard probability.
- Added a chance for weather conditions to last longer than their normal duration.
- Added an option to switch weather instantly instead of using gradual transitions. (THIS FIXES THE GREEN SKY BUG!)
### Interface
- Redesigned the forecast with a cleaner card-based layout.
- Redesigned the always-on weather display with a compact panel and clearer icon, temperature, and time layout.
### Forecast
- Improved forecast continuity when a new set of conditions is generated.
- Added more varied weather durations based on the current condition.
- Forecasts can begin from any stage instead of only the first few conditions.
### Real-Life Weather Sync
- Improved request timeout handling and retry behavior.
- Failed refreshes now retain the last successful real-life weather result.
- Initial sync failures safely return to the generated forecast.
- Improved handling and logging for invalid responses and unsupported weather conditions.
### Configuration
Added the celius version of Weathers.xml by default. Thanks @daamu32 for the original file.
Add these options to the INI as needed:
```ini
[General]
SwitchWeatherInstantly=true
[Forecast]
SnowMode=false
ThunderstormChance=35
ExtendedWeatherDurationChance=15
```
`ThunderstormChance` also controls the chance of a blizzard when snow mode is enabled.
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
@BlueLine Vibes for making a showcase video of a beta (it is outdated but gives good idea of what the mod does) 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