Save-Point
KWeatherArea VX + ACE - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker VX/VXAce (RGSS2/3) Engines (https://www.save-point.org/forum-117.html)
+---- Thread: KWeatherArea VX + ACE (/thread-11523.html)



KWeatherArea VX + ACE - kyonides - 03-23-2025

KWeatherArea VX + ACE

by Kyonides

Introduction

Did you ever want to set a custom weather effect depending on a given area on the current map?
Now you can do it in RMVX & RMVX ACE! Grinning

NOTES
  • This scriptlet uses script calls to make that happen. Winking
  • Here an area is synonymous with a rectangle.
  • You can add and remove areas.
  • These custom areas are NOT related to RM's map areas.
  • Removing an active weather area reverts the effects to the last effect you've set via Set Weather Effects event command.
  • If you change the weather in battle, it will revert it to the current area's weather, if any.
  • Please Book read the embedded notes to learn how to use it properly.

Supported Engines

VX, VX ACE and HiddenChest! Two Thumbs Up! 


Terms & Conditions

Free for use in ANY game. Gamer 
Please include my nickname in your game credits.
Also mention the forum where you found it. Winking
That's it! Tongue sticking out


RE: KWeatherArea VX + ACE - kyonides - 03-24-2025

A New Script Port

Now this scriptlet has been fully ported to RMVX ACE! Shocked

At first I thought it won't need any modification to make it run on VX ACE, but I was wrong! Incredible It needed several changes because the developers had applied a lot of changes on how the options would be processed by the Game_Screen class.

Happy with a sweat One example of this was that it no longer relies on numbers but symbols to determine the current weather effect.

They also changed an instance variable's name and removed another one. Confused

Oh and the Game_Map's update method now accepts an optional argument. Indifferent

As a side note I will mention that I was forced to change the name of my Game_Screen custom method because it already existed in VX ACE. Sad


RE: KWeatherArea VX + ACE - kyonides - 03-26-2025

Another Script Upgrade!

Version 1.1.0 Has a New Feature!

Once the current battle has finished, the script will revert any changes you might have made to the weather effects in battle to the local area's weather settings, if there's any.

Version 1.2.0 Introduces Battle Weather Effects!

The default battle system in RMVX and RMVX ACE excluded the weather effects from battles, but this upgrade brings them back.


RE: KWeatherArea VX + ACE - kyonides - 04-14-2025

Just Another Script Upgrade!

Today version 1.3.0 has finally arrived!

Add a Weather Area on a Different Map!
Code:
$game_map.add_weather_area_on_map(2, 1, 1, area_array)

Remove a Weather Area on Another Map!
Code:
$game_map.remove_weather_area_on_map(10, 1)

Clear the Sky - In Battle Only!
For All Turns or Just for a Couple of them!
Code:
$game_screen.no_weather
$game_screen.no_weather(5)

The last ones might be useful if the skill calls a Common Event that features any of those script calls.