An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

NRP Weather EX - NRP_WeatherEX.js

Plugin desc : v1.02 Extend the weather function.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_WeatherEX.js

Desc page : http://newrpg.seesaa.net/article/481701865.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_WeatherEX.js

File name : NRP_WeatherEX.js

Help of plugin :

Extend the weather function.
 * You can specify powers that would normally be impossible,
 * or create your original weather.
 * 
 * -------------------------------------------------------------------
 * [Features]
 * -------------------------------------------------------------------
 * - Change weather power, direction, speed, color, etc. freely.
 * - Causes the specified image to fall.
 * - Enable weather even in battle.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * You can adjust the behavior of the existing weather
 * by adjusting the plugin parameters.
 * 
 * Using the plugin command, it is possible
 * to call up existing weather (rain, storm, snow)
 * with different settings than usual.
 * 
 * You can also create your original weather
 * by making detailed settings in the "TemplateList".
 * The created weather can be called up with plugin commands.
 * 
 * -------------------------------------------------------------------
 * [Plugin Commando (MZ)]
 * -------------------------------------------------------------------
 * > ChangeWeather
 * Change the weather.
 * The settings can be recalled by specifying the "TemplateId".
 * 
 * Initially, the following TemplateId is available.
 * ・colorful: Colorful snowflakes are falling.
 * ・sandstorm: Sandstorm-like lines flowing horizontally.
 * ・earthlight: A ball of light rises upward from the ground.
 * 
 * Various other settings are also available.
 * See the description in the plugin command for details.
 * It is also possible to change only some of the settings for a template.
 * 
 * If you want to exit, just specify the type as "none".
 * You can also use the regular event command.
 * 
 * -------------------------------------------------------------------
 * [Plugin Commando (MV)]
 * -------------------------------------------------------------------
 * > NRP.WeatherEX.Id [TemplateId]
 * The process is the same as the MZ version.
 * ※It is not case sensitive. Do not include > or [].
 * 
 * Before specifying this command, options (see below) can be specified.
 * For example, the following is possible.
 * 
 * NRP.WeatherEX.Power 20
 * NRP.WeatherEX.Time 60
 * NRP.WeatherEX.Wait true
 * NRP.WeatherEX.Id colorful
 * 
 * ※Unlike the MZ version,
 *   detailed settings cannot be made with plugin commands.
 *  The author gave up because it became too much trouble.
 *  So, please set it in the template.
 * 
 * Also, if you don't want to call it from a template,
 * just specify the type ("rain", "storm", or "snow").
 * 
 * NRP.WeatherEX.Power 20
 * NRP.WeatherEX.Time 60
 * NRP.WeatherEX.Wait true
 * NRP.WeatherEX.Type rain
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @------------------------------------------------------------------
 * @ Plugin Command
 * @------------------------------------------------------------------
 * 
 * @command ChangeWeather
 * @desc Create and run your original weather.
 * By specifying the TemplateId, you can call the template.
 * 
 * @arg TemplateId
 * @desc The ID to call the template.
 * @type string
 * 
 * @arg Type
 * @desc The type of weather. For snow, it is a circle; for other weather, it is a line.
 * @type select
 * @option none
 * @option rain
 * @option storm
 * @option snow
 * 
 * @arg Power
 * @desc The power of the weather.
 * @type number
 * 
 * @arg Duration
 * @desc The time it takes to change the weather.
 * 60 equals 1 second.
 * @type number
 * @min 1
 * 
 * @arg Wait
 * @desc Wait until the end of the weather change.
 * @type boolean
 * 
 * @arg Option
 * @type struct<Option>
 * 
 * @------------------------------------------------------------------
 * @ Plugin Parameters
 * @------------------------------------------------------------------
 * 
 * @param WeatherOnBattle
 * @desc The weather is also displayed during battle.
 * Also, weather changes during battle will be enabled.
 * @type boolean
 * @default true
 * 
 * @param MaxSpritesByPower
 * @desc This is the power of the weather.
 * you can adjust the amount of rain or snowfall based on 10.
 * @type number
 * @default 10
 * 
 * @param DimmerLevel
 * @desc Darkens the screen according to power. The default value is 6, and it gets darker by X/255 in each step.
 * @type number
 * @default 6
 * 
 * @param DimmerLimit
 * @desc This is the limit of the screen darkness. It should not be darker than this even when power is increased.
 * @type number
 * @default 54
 * 
 * @param Z
 * @desc Priority. 0:Lower tile, 1:Lower character, 3:Normal character,
 * 4:Upper tile, 5:Upper character, 7:Balloon, 8:Animation
 * @type number @min -99999 @max 99999 @decimals 2
 * 
 * @param TemplateList
 * @type struct<OriginalWeather>[]
 * @default ["{¥"BaseSetting¥":¥"¥",¥"TemplateId¥":¥"colorful¥",¥"Type¥":¥"snow¥",¥"Power¥":¥"10¥",¥"Duration¥":¥"1¥",¥"Wait¥":¥"false¥",¥"DimmerLevel¥":¥"0¥",¥"Image¥":¥"¥",¥"NoImageSetting¥":¥"¥",¥"Color¥":¥"[Math.randomInt(255), Math.randomInt(255), Math.randomInt(255)]¥",¥"IndividualBitmap¥":¥"true¥",¥"ParticleWidth¥":¥"30¥",¥"ParticleHeight¥":¥"¥",¥"SpeedSetting¥":¥"¥",¥"SpeedX¥":¥"¥",¥"SpeedY¥":¥"¥",¥"PositionSetting¥":¥"¥",¥"StartWidth¥":¥"Graphics.width + 100¥",¥"StartHeight¥":¥"Graphics.height + 200¥",¥"AdjustStartX¥":¥"-100¥",¥"AdjustStartY¥":¥"-200¥",¥"DisplaySetting¥":¥"¥",¥"BlendColor¥":¥"¥",¥"BlendMode¥":¥"1¥",¥"Scale¥":¥"1 + Math.random()¥",¥"Angle¥":¥"¥",¥"OpacitySetting¥":¥"¥",¥"StartOpacityBase¥":¥"160¥",¥"StartOpacityRandom¥":¥"60¥",¥"ReduceOpacity¥":¥"3¥",¥"EndOpacity¥":¥"40¥"}","{¥"BaseSetting¥":¥"¥",¥"TemplateId¥":¥"sandstorm¥",¥"Type¥":¥"storm¥",¥"Power¥":¥"20¥",¥"Duration¥":¥"1¥",¥"Wait¥":¥"false¥",¥"DimmerLevel¥":¥"¥",¥"Image¥":¥"¥",¥"NoImageSetting¥":¥"¥",¥"Color¥":¥"#A05050¥",¥"IndividualBitmap¥":¥"false¥",¥"ParticleWidth¥":¥"2¥",¥"ParticleHeight¥":¥"40¥",¥"SpeedSetting¥":¥"¥",¥"SpeedX¥":¥"-10.0¥",¥"SpeedY¥":¥"1.0¥",¥"PositionSetting¥":¥"¥",¥"StartWidth¥":¥"Graphics.width + 300¥",¥"StartHeight¥":¥"Graphics.height + 200¥",¥"AdjustStartX¥":¥"-100¥",¥"AdjustStartY¥":¥"-200¥",¥"DisplaySetting¥":¥"¥",¥"BlendColor¥":¥"¥",¥"BlendMode¥":¥"1¥",¥"Scale¥":¥"1 + Math.random()¥",¥"Angle¥":¥"85¥",¥"OpacitySetting¥":¥"¥",¥"StartOpacityBase¥":¥"160¥",¥"StartOpacityRandom¥":¥"60¥",¥"ReduceOpacity¥":¥"¥",¥"EndOpacity¥":¥"40¥"}","{¥"BaseSetting¥":¥"¥",¥"TemplateId¥":¥"earthlight¥",¥"Type¥":¥"snow¥",¥"Power¥":¥"5¥",¥"Duration¥":¥"1¥",¥"Wait¥":¥"false¥",¥"DimmerLevel¥":¥"0¥",¥"Image¥":¥"¥",¥"NoImageSetting¥":¥"¥",¥"Color¥":¥"¥",¥"IndividualBitmap¥":¥"¥",¥"ParticleWidth¥":¥"10¥",¥"ParticleHeight¥":¥"¥",¥"SpeedSetting¥":¥"¥",¥"SpeedX¥":¥"0.0¥",¥"SpeedY¥":¥"-5.0¥",¥"PositionSetting¥":¥"¥",¥"StartWidth¥":¥"Graphics.width + 100¥",¥"StartHeight¥":¥"Graphics.height + 200¥",¥"AdjustStartX¥":¥"-100¥",¥"AdjustStartY¥":¥"-100¥",¥"DisplaySetting¥":¥"¥",¥"BlendColor¥":¥"¥",¥"BlendMode¥":¥"1¥",¥"Scale¥":¥"1 + Math.random()¥",¥"Angle¥":¥"¥",¥"OpacitySetting¥":¥"¥",¥"StartOpacityBase¥":¥"160¥",¥"StartOpacityRandom¥":¥"60¥",¥"ReduceOpacity¥":¥"¥",¥"EndOpacity¥":¥"40¥"}"]
 * @desc This is a list of defined weather templates.
 * You can also add new templates.。

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.