public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Script For Weather Help Needed

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Script For Weather Help Needed
  • Original author: Darkness Void
  • Original date: October 14, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/script-for-weather-help-needed.45942/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

OK with OCD my brain just won't click on this, I need help with a script which you can learn more about here. But will repost the script here, long story short I have a script that adds a button to the pause menu. Thanks to Ksjp17 I found a way to stop the player from turning effects off and on while in doors, which would result in it raining in-doors. Now I just need one more thing solved, I know how to get events to turn on/off but I...

Archived First Post

OK with OCD my brain just won't click on this, I need help with a script which you can learn more about here.

http://forums.rpgmakerweb.com/index.php?/topic/45929-using-conditional-branch-for-weather-help/

But will repost the script here, long story short I have a script that adds a button to the pause menu. Thanks to Ksjp17 I found a way to stop the player from turning effects off and on while in doors, which would result in it raining in-doors. Now I just need one more thing solved, I know how to get events to turn on/off but I can not figure out how to:

A:Have the raining stop when entering buildings or dugeons, I could add switches with events but if a player plays with the effects off...well they would need to turn them off every new transfer to another map and would get annoyed.

B:Have more than just rain turn on/off, want to have snow in some maps for a example.

Here's the script, if it's possible to fix one of those two issues without having to rework the script please share. If not, well I have OCD, never gonna figure out how to rewrite by myself and as my friend lost internet for a few days...yeah. XD Again, I wanted this script to give the players who are slowed down by too many events (weather, animals, smoke, ect) to turn them off whenever so they can play if their systems can't handle so much on screen.

module CONSTANTS
  #Menu names
  COMMAND1_NAME = "Effects"

  #Common Event IDs
  COMMON_EVENT1_ID = 2

end
#==============================================================================
# ** Window_MenuCommand
#------------------------------------------------------------------------------
#  This command window appears on the menu screen.
#==============================================================================

class Window_MenuCommand < Window_Command
  #--------------------------------------------------------------------------
  # * Create Command List
  #--------------------------------------------------------------------------
  def make_command_list
    add_main_commands
    add_original_commands
    add_formation_command
    add_custom_commands
    add_save_command
    add_game_end_command
  end
  #--------------------------------------------------------------------------
  # * Add Custom Commands
  #--------------------------------------------------------------------------
  def add_custom_commands
    add_command(CONSTANTS::COMMAND1_NAME, :command1)
  end
end

#==============================================================================
# ** Scene_Menu
#------------------------------------------------------------------------------
#  This class performs the menu screen processing.
#==============================================================================

class Scene_Menu < Scene_MenuBase
  def create_command_window
    @command_window = Window_MenuCommand.new
    @command_window.set_handleritem,      methodcommand_item))
    @command_window.set_handlerskill,     methodcommand_personal))
    @command_window.set_handlerequip,     methodcommand_personal))
    @command_window.set_handlerstatus,    methodcommand_personal))
    @command_window.set_handlerformation, methodcommand_formation))
    @command_window.set_handlercommand1,  methodcustom_command1))
    @command_window.set_handlersave,      methodcommand_save))
    @command_window.set_handlergame_end,  methodcommand_game_end))
    @command_window.set_handlercancel,    methodreturn_scene))
  end
 
  def custom_command1
    return_scene
    $game_temp.reserve_common_event(CONSTANTS::COMMON_EVENT1_ID)
  end
end
Screanshots, and no Idk how the text got bigger/darker.http://www.mediafire.com/convkey/d530/tqjyj0t2x9xh2qxzg.jpg

http://www.mediafire.com/convkey/6a6d/qog3q59xrq43caezg.jpg

http://www.mediafire.com/convkey/50ca/m2vsj3plw6t5rw9zg.jpg

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#menu#common#rpg-maker-archive#rgss-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar