A downloadable RPG Maker MV Plugin

๐ŸŒฆ๏ธ RealWeather [v1.3]

Sync in-game weather, lighting, and ambient sound with real-world weather conditions using OpenWeatherMap!

Give your RPG Maker MV project a realistic and immersive environment that changes based on real-time weather data from any city in the world.

๐Ÿ”ง Features

  • ๐ŸŒ Real-World Weather Sync via OpenWeatherMap API

  • โ›… Dynamic Weather Effects (rain, storm, snow, etc.)

  • ๐ŸŽจ Time-Based Screen Tinting (dawn, day, dusk, night)

  • ๐Ÿ”Š Real-Time Background Sounds matching current conditions

  • ๐ŸŽฎ Plugin Command to manually refresh weather

  • ๐Ÿ› ๏ธ Customizable via plugin parameters (city, API key, auto-fetch)

๐Ÿ”Œ Plugin Parameters

ParameterDescriptionDefault
API Key Your OpenWeatherMap API key. YOUR_API_KEY_HERE
City The city name to pull weather from (e.g., Tokyo, Manila). Manila
Update on Load If true, fetches and applies weather when a map loads. true


๐Ÿ” Plugin Commands

UpdateWeather 

Manually fetches the latest weather and updates visuals and audio instantly.

๐ŸŽง Sound Effects

Place your ambient sound files inside /audio/bgs/ folder:

Weather TypeExpected BGS File
Rain or Drizzle Rain.ogg
Thunderstorm Thunder.ogg
Snow Wind.ogg
Fog/Mist/Haze Fog.ogg


If the weather clears, the background sound will automatically stop.

๐Ÿ–ผ๏ธ Time-Based Tinting

Automatically adjusts screen tint based on the current local time of your target city:

Time (Hour)Tint Applied
5:00โ€“8:59 Dawn tint
9:00โ€“16:59 Day (no tint)
17:00โ€“19:59 Sunset tint
20:00โ€“4:59 Night tint


๐Ÿง  How It Works

  1. The plugin connects to the OpenWeatherMap API using your API key and city.

  2. It fetches the current weather + timezone offset.

  3. Based on this:

    • RPG Makerโ€™s weather is applied ($gameScreen.changeWeather)

    • Time tint is adjusted using $gameScreen.startTint

    • Corresponding BGS is played via AudioManager.playBgs

โœ… Installation

  1. Download and include the RealWeather.js plugin in your /js/plugins/ folder.

  2. Add it to your Plugin Manager.

  3. Fill in:

    • Your OpenWeatherMap API Key

    • City of your choice

    • Set Update on Load to true or false depending on your needs

  4. Add appropriate sound files to /audio/bgs/ folder.

๐Ÿ’ฌ Example Use Case

Want your snowy RPG to actually snow when it's snowing in Tokyo? Just set "Tokyo" as your city and watch your maps dynamically match the real weather, time, and even mood.

๐Ÿงช Plugin Command Example

Use in an event:

Plugin Command: UpdateWeather 

This will refresh and re-apply real-world weather data on demand.

๐Ÿ’ก Tips

  • Use a free or paid OpenWeatherMap account depending on your update frequency needs.

  • Combine with parallax overlays or region-based effects for next-level immersion.

  • Check the console (F8) for debug logs if the weather fails to load.

๐Ÿ“œ License

Free to use in commercial and non-commercial RPG Maker MV projects.
Attribution appreciated but not required.

Leave a comment

Log in with itch.io to leave a comment.