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 Battle Bush - NRP_BattleBush.js

Plugin desc : v1.07 Apply the bush effect to the battle background.

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_BattleBush.js

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

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

File name : NRP_BattleBush.js

Help of plugin :

Apply the bush effect to the battle background.
 * I use the word "bush", but in reality,
 * I think it is mainly used in water areas.
 * 
 * For example, it is possible to create an effect in which
 * the lower half of the body is hidden by the surface of the water.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * Settings are made for each "battlebacks" file.
 * Please specify the file in the "SettingList".
 * Separate settings can be made for actors and enemies.
 * 
 * If bush depth and opacity are not set for each background,
 * the default values of the plugin parameters are used.
 * 
 * -------------------------------------------------------------------
 * [Note of Battlers]
 * -------------------------------------------------------------------
 * The following can be specified in the actor's and enemy's notes
 * to set them individually.
 * ※Note that these settings take precedence over settings for the background.
 * 
 * ◆<BattleBushDepth:?>
 * Change the bush depth to ?. Formula is also possible.
 * e.g.: <BattleBushDepth:a.height / 3> (1/3 of the image height)
 * 
 * For example, if you do not want to apply the effect to enemies
 * flying on the surface of the water, just set the value to 0.
 * 
 * ◆<BattleBushOpacity:?>
 * Change the opacity on the bushes to ?. Formula is also possible.
 * 
 * -------------------------------------------------------------------
 * [Note of Enemies]
 * -------------------------------------------------------------------
 * ◆<ForceBush>
 * Apply a forced bush effect regardless of the background.
 * For example, when you want to represent
 * an enemy half-buried in the ground.。
 * 
 * -------------------------------------------------------------------
 * [Notice]
 * -------------------------------------------------------------------
 * When used with NRP_ShadowAndLevitate.js,
 * this plugin should be placed below.
 * 
 * Also, when the levitation effect of NRP_ShadowAndLevitate.js
 * is applied, the bush effect is automatically disabled,
 * so it is useful to combine the two.
 * 
 * [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 Parameters]
 * @------------------------------------------------------------------
 * 
 * @param SettingList
 * @type struct<Setting>[]
 * @default
 * @desc List of bush settings.
 * The bush effect is applied to the background registered here.
 * 
 * @param <Actor Default>
 * 
 * @param ActorBushDepth
 * @parent <Actor Default>
 * @default 24
 * @desc The height at which the bush effect is applied to the actor. Formula is valid (e.g.: a.height / 3).
 * 
 * @param ActorBushOpacity
 * @parent <Actor Setting>
 * @default 128
 * @desc Opacity to be applied to the actor on the bushes (opaque at 255).
 * 
 * @param <Enemy Default>
 * 
 * @param EnemyBushDepth
 * @parent <Enemy Default>
 * @default 24
 * @desc The height at which the bush effect is applied to the enemy. Formula is valid (e.g.: a.height / 3).
 * 
 * @param EnemyBushOpacity
 * @parent <Enemy Default>
 * @default 128
 * @desc Opacity to be applied to the enemy on the bushes (opaque at 255).
 * 
 * @param <Common Default>
 * 
 * @param BushOnMove
 * @parent <Common Default>
 * @type boolean
 * @default true
 * @desc Whether the battler applies the bush effect while on the move?
 * 
 * @param BushInHome
 * @parent BushOnMove
 * @type boolean
 * @default true
 * @desc  If BushOnMove is off, the bush effect is applied when the battler in action is at home coordinates.
 * 
 * @param BushInAir
 * @parent <Common Default>
 * @type boolean
 * @default false
 * @desc Whether the bush effect should also be applied when the battler is in the air?
 * 
 * @param ShowShadow
 * @parent <Common Default>
 * @type boolean
 * @default false
 * @desc The shadow of the battler is also displayed during the bush effect.
 * 
 * @param ChangeShadowOpacity
 * @parent ShowShadow
 * @type boolean
 * @default false
 * @desc Change the opacity of the battler's shadow to match the bush setting.
 * 
 * @param ShadowOverBush
 * @parent ShowShadow
 * @type boolean
 * @default false
 * @desc Change the position of battler's shadow over the bushes.
 * In short, it displays a shadow on the water surface.
 * 
 * @param ShadowOnlyAir
 * @parent ShowShadow
 * @type boolean
 * @default false
 * @desc Shadows are displayed only when the battler is in the air.

スポンサードリンク

-MZ plugins

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