Project1

标题: 如何实现战争迷雾效果? [打印本页]

作者: xyq049858    时间: 2017-5-27 15:10
标题: 如何实现战争迷雾效果?
如图的效果
走过的地方和人周围是亮的 其他地方是暗的 应该用什么脚本
之前看到过 现在找不到了 求救~[attach]328517[/attach]
作者: guoxiaomi    时间: 2017-5-27 15:13
烛光系统?

Dungeons of Dredmor 这游戏还有中文?
作者: linphy    时间: 2017-5-27 19:00
个人觉得通过把走过的地方设置为特殊的region id,可以实现
作者: tseyik    时间: 2017-5-27 20:07
本帖最后由 tseyik 于 2017-5-30 12:46 编辑

Silvers Advanced Minimap (now with Fog of War!)
https://forums.rpgmakerweb.com/i ... h-fog-of-war.51307/
但只是Minimap有



測試了:Map Hidden設定true即可,詳細看挿件



https://github.com/cityshrimp/rmmv_fow
rmmv_fow
視頻
https://www.youtube.com/watch?v=VX62Lba6XM0&feature=youtu.be
Fog of War System for RPG Maker MV

Author: CityShrimp

Version: 1.1.2
Features

    Player Vision - Player can have vision (to clear fog)
    Event Vision - Events can have vision. These events will be referred to as origins
    Vision Range - Each origin has it's own vision range.
    Vision Type - Different vision shapes - diamond, square, circle, directional. Each origin can have it's own type
    Flying Vision - An origin can have flying vision (see through mountains, forest, etc).
    Vision Brightness - Each origin has it's own vision brightness
    Map Hidden - Entire map is initially blacked out, and map is revealed by origins
    Strict Diagonals - Can configure whether origins can see past two diagonally-placed blocked tiles
    Targets - Events can be marked as a target. Targets will disappear when it stands on a fogged tile
    Blockers - Events can be marked as a blocker. Blockers can block vision.
    Tile Type by RegionId:

    Plain: Can always see through
    Forest: Cannot see through unless on a hill, mountain, watchtower, or have flying vision
    Hill: Cannot see through unless on a hill, mountain, watchtower, or have flying vision
    Mountain/Wall: Cannot see through unless have flying vision
    Dark: Can always see through, but can never be revealed
    Blocked: Cannot see through unless have flying vision. Can never be revealed.
    Watchtower: Can always see through. Have elevated height (can be configured)

    Multiple ways to configure: Plugin Parameters, Map/Event notetags, Plugin Commands

作者: shitake    时间: 2017-5-29 23:19
用 shader
别指望 cpu 了
楼上诸位不要把战争迷雾和地图遮罩等同。




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1