RealWeather 1.2.1

87ba8f 1   2015 11 20 00003


Have you ever wanted the in-game weather to be the same weather as Los Angeles, CA, New York, NY, or any other place 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.

How to install:
Install Script Hook V by Alexander Blade.
Copy the "RealWeather.asi" and "RealWeather.ini" files to your GTA V directory.

How to use:
Change the LOCATION within the INI file to whatever city you want, and save. The format of the location has to be CITY, STATE, COUNTRY, or the equivalent for the location. Example: Chicago, IL, USA. If it's not in the correct format openweathermap.org will not find the location.
The mod's default setting is to be enabled on startup, so you don't need to press any buttons, but if you want to disable it then press Right-CTRL + W (by default).

Customizations within the INI file:
Enabled on startup ("ENABLED_ON_STARTUP") (1 means true, 0 means false).
Write debug messages to the RealWeather.log file ("DEBUG") (1 means true, 0 means false).
Get notification when weather is set ("NOTIFY_WHEN_SET_WEATHER") (1 means true, 0 means false).
The location ("LOCATION").
The keys ("HOLD_KEY" and "PRESS_KEY") (use hex codes from here).
The openweathermap.org API key ("API_KEY").

If you get an error related to the API key get your own API key and replace the default.
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 INI file after "API_KEY = ".

  • 1.2.1:
    • Added transition to new weather.

  • v1.2:
    • MANY improvements to the code.
    • Open-sourced.
    • Switched to INI for settings instead of XML (if you have any previous version installed please remove RealWeather.xml as it's not used anymore).
    • Removed separate ASI for debugging and replaced with the DEBUG INI setting.
    • Switched to libcurl for getting weather data from the internet.

  • v1.1:
    • 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.

Source code.

Alexander Blade for Script Hook V and helping me out with a problem I had.
Daniel Stenberg for curl.
Lee Thomason for TinyXML-2.
openweathermap.org for providing weather data.
Show Full Description

First Uploaded: Domingo 22 de Novembro de 2015
Last Updated: Domingo 11 de Marzo de 2018
Last Downloaded: 14 minuto

All Versions

 1.2.1 (current)

11.102 downloads , 300 KB
Domingo 11 de Marzo de 2018


1.950 downloads , 300 KB
Sábado 13 de Xaneiro de 2018


5.780 downloads , 200 KB
Domingo 22 de Novembro de 2015