This will make it rain in battle: (Not perfect, split mili-second delay before weather starts that I can't seem to shake, tho might not be noticeable, maybe I'm ornery)Vlue...
Can you make the climate system takes effect on battle?
class Scene_Battle
alias weather_start create_spriteset
alias weather_update update_basic
alias weather_dispose terminate
def create_spriteset
weather_start
@weather = Spriteset_Weather.new(@spriteset.viewport3)
end
def update_basic
weather_update
update_weather
end
def update_weather
@weather.type = $game_map.screen.weather_type
@weather.power = $game_map.screen.weather_power
@weather.ox = $game_map.display_x * 32
@weather.oy = $game_map.display_y * 32
@weather.update
end
def terminate
weather_dispose
@weather.dispose unless @weather.nil
end
end
class Spriteset_Battle
attr_accessor :viewport3
end
CLEARCOMMAND = "$game_system.weather.clear"
SUNCOMMAND = "$game_system.weather.clear"
RAINCOMMAND = "$game_system.weather = [0, 10, 'Rain_01A']"
SNOWCOMMAND = ""
STORMCOMMAND = "$game_system.weather = [0, 10, 'Rain_02']"
BLIZZCOMMAND = ""
CUSTOM1COMMAND = ""
CUSTOM2COMMAND = ""
That is a planned idea, when I get around to it >.>Awesome script you have written. You think you could combine it with Advanced GameTime of yours, well to make weather... not so random?
You know, to make it a higher chance to rain during the fall months rather than the summer, and snow only in winter?
It would be a great combination![]()