设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 96|回复: 0

[转载发布] MistyWeatherMZ - RPG Maker MZ FOG inplug

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    9015

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    58751
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    68660

    灌水之王

    发表于 2026-7-23 12:37:52 | 显示全部楼层 |阅读模式
    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/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-4 19:30 , Processed in 0.118505 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表