じ☆ve冰风 发表于 2026-7-23 12:37:52

MistyWeatherMZ - RPG Maker MZ FOG inplug

This is a plugin that can add a dreamy fog effect to the map in RPG Maker MZ. You can freely adjust the fog density, color, and movement speed, and it also includes a function to apply fog only to a specific area. I need help. I made a plugin that can create fog. However, since I needed an image, I stacked layers with Aseprite, adjusted the opacity, and created it as a png... I guess I'm not good at drawing. The picture below is the fog I created.


Can you share a fog png image with those who are talented?

Feature Introduction

Fog creation for the entire map: You can create an atmosphere by activating the fog effect.
Fog density, color adjustment: You can apply various styles of fog by setting the RGB hexacode and density.
Movement speed setting: You can add an effect that makes it look like fog is blowing in the wind.
Smooth fade effect: You can create a scene where fog gradually appears or disappears. Per-map configurable: You can apply individual settings via map memo tags.
Apply to specific regions only: Provides the ability to display fog only for specific region IDs.
Support plugin commands: You can change fog settings in real time via event commands.

Installation and usage

1. How to install

Save the plugin file MistyWeatherMZ.js to the js/plugins/ folder.
Activate MistyWeatherMZ in the Plugin Manager in RPG Maker MZ.
Save the fog texture image (mist.png) to the img/fogs/ folder.

If the image does not exist, the default gray fog will be generated.

MistyWeatherMZ.js
0.01MB

2. Using plugin commands
Command description example

MistyWeather On
Enable fog effect
MistyWeather On

MistyWeather Off
Disable fog effect
MistyWeather Off

MistyWeather SetOpacity
Set fog density (0~255)
MistyWeather SetOpacity 180

MistyWeather SetColor
Change fog color (RGB hex code)
MistyWeather SetColor #FFFFFF

MistyWeather SetSpeed
Set fog movement speed
MistyWeather SetSpeed 0.3 -0.1

MistyWeather FadeIn
Apply fog fade in effect
MistyWeather FadeIn 120

MistyWeather FadeOut
Apply fog fade out effect
MistyWeather FadeOut 120

3. Map-specific settings (using memo tags)
Specific maps apply fog effect by default To apply, enter the following in the Note Box of the map properties:
<Fog: On, 150, #808080, 0.2, -0.2>

On: Enable fog (On or Off)
150: Default density (0~255)
#808080: Fog color
0.2: Horizontal movement speed
-0.2: Vertical movement speed

4. Apply fog only to specific areas
You can also set the map to have fog only appear on tiles with specific region IDs.
<FogRegion: 1, 2, 3>

With the above settings, fog will only appear on tiles with region IDs 1, 2, and 3. Test Environment

RPG Maker MZ Version: 1.9.0

OS: Windows 11

Caution to avoid legal issues
Caution and Disclaimer


Notice


RPG MAKER MZ íë¬ê·¸ì¸ ì´ì© ìë´

ìëíì¸ì, ë¸ë¡ê·¸ë¥¼ ì°¾ì주ìì¬ë¬ë¶ê» ê°ì¬ ì¸ì¬ë립ëë¤!ì´ê³³ììë ì ê° ì§ìì ìí RPG MAKER MZì© íë¬ê·¸ì¸ë¤ì ê³µì íê³ììµëë¤. ê²ì ì ìì ëìì´ ëì ìë ë¤ìí 기ë¥ì ë´ì¼ë ¤ ë¸ë ¥íì¼ë, ë§ì ê´ì¬ ë¶íë릴ê²ì. ì´ì© ë°©ë²ê° íë¬ê·¸ì¸ ê²ìê¸ìì ë¤ì´ë¡ë ë§í¬ë¥¼ íì¸í´ì£¼ì¸ì. ì¬ì© ì첨ë¶ë ì¤ëªì(ëë íì¤í¸ íì¼)를...
                                        otterscribe.tistory.com                               





Free to use: This plugin is free to use for personal learning and non-commercial projects.
No modification or distribution: This code is copyrighted and commercial use, redistribution, or inclusion in other plugins is not permitted. Get permission from the original author (OtterScribe) before use.
Disclaimer: The author is not responsible for any problems (game errors, data loss, etc.) that occur while using this plugin. Use at your own risk.
Support: No official support is provided. If you encounter a problem, please resolve it through the RPG Maker community or personal debugging.


本贴来自国际rpgmaker官方论坛作者:Otterscribe处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/mistyweathermz-rpg-maker-mz-fog-inplug.176337/
页: [1]
查看完整版本: MistyWeatherMZ - RPG Maker MZ FOG inplug