Have you ever wanted the in-game weather to be the same weather as Los Angeles, CA, New York, NY, or any other city you can think of?
Well that is exactly what this mod does: you select a location, the mod will retrieve the weather from the internet and then set the in-game weather to the retrieved weather.

If this script crashes on startup for you, please remove "RealWeather.asi" from your GTA V directory, copy "RealWeather-dbg.asi" to your GTA V directory, run the game, let it crash, then send me the contents of RealWeather.log via pastebin link.

How to install:
Install Script Hook V by Alexander Blade (http://www.dev-c.com/gtav/scripthookv/).
Copy the "RealWeather.asi" and "RealWeather.xml" files to your GTA V directory.

How to use:
Change the location within the XML file to whatever city you want, and save.
The mod's default setting is to be enabled on startup, so you don't need to press any buttons, but if you have disabled it then press Right-CTRL + W.

Customizations within the XML file:
Enabled on startup ("ENABLED_ON_STARTUP").
The keys ("HOLD_KEY", "PRESS_KEY").
The location ("LOCATION").
Log when weather is retrieved and set ("LOG_WHEN_GET_SET_WEATHER").
Log generated URL and openweathermap.org response (for debugging purposes only) ("LOG_URL_AND_RESPONSE").
Get notification when weather is set ("NOTIFY_WHEN_SET_WEATHER").
API key, for when the default is not working. If empty the mod will use the default API key. How to get an API key is in the Notes section ("API_KEY").

Notes:
To get an API key, sign up for openweathermap.org, go to home.openweathermap.org, copy the API key (it will look something like 95e1e267fa5e57d5fc9acd10e91bcebe), and then paste it in the XML file between and .
The transition to a new weather is quite instantaneous. I could not find a viable solution for this.

Change-log:
v1.1
Changed VERBOSE_LOGGING XML item to LOG_WHEN_GET_SET_WEATHER.
Added ability to log URL and response.
Added ability to get notification when weather is set.
Added ability to use a personal API key.
Fix for some possible game crashes.
Other minor improvements.

Thanks:
Alexander Blade for Script Hook V and helping me out with a problem I had.
Lee Thomason for TinyXML-2.


Description:

Authors:


Share this mod with Friends:

DOWNLOAD (200 kb, Uploadfiles.eu)