查看: 6684|回复: 4

[已经过期] 如何实现战争迷雾效果?

[复制链接]
梦石
0
星屑
55
在线时间
85 小时
注册时间
2008-3-30
回帖
20
发表于 2017-5-27 15:10:58 | 显示全部楼层 |阅读模式
悬赏3星屑未解决
如图的效果
走过的地方和人周围是亮的 其他地方是暗的 应该用什么脚本
之前看到过 现在找不到了 求救~ 4G~P`HG2(K%~QBX]@[ZV3]O.png

梦石
1
星屑
24088
在线时间
3339 小时
注册时间
2011-7-8
回帖
3862

开拓者

发表于 2017-5-27 15:13:54 | 显示全部楼层
烛光系统?

Dungeons of Dredmor 这游戏还有中文?
熟悉rgss和ruby,xp区版主~
正在填坑:《膜拜组传奇》讲述膜拜组和学霸们的故事。
已上steam:与TXBD合作的Reformers《变革者》
* 战斗调用公共事件 *
* RGSOS 网络脚本 *
回复

使用道具 举报

梦石
0
星屑
50
在线时间
95 小时
注册时间
2017-4-26
回帖
30
发表于 2017-5-27 19:00:06 | 显示全部楼层
个人觉得通过把走过的地方设置为特殊的region id,可以实现
回复

使用道具 举报

梦石
0
星屑
22879
在线时间
8598 小时
注册时间
2011-12-31
回帖
3270
发表于 2017-5-27 20:07:30 | 显示全部楼层
本帖最后由 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有
Fo_W0.jpg
Fo_W1.jpg

測試了:Map Hidden設定true即可,詳細看挿件
Image1.png
Image4.png
Image5.jpg
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
回复

使用道具 举报

梦石
0
星屑
4623
在线时间
1207 小时
注册时间
2016-4-7
回帖
944

开拓者

发表于 2017-5-29 23:19:13 来自手机 | 显示全部楼层
用 shader
别指望 cpu 了
楼上诸位不要把战争迷雾和地图遮罩等同。
附庸的附庸不是我的附庸,女儿的女儿还是我的女儿。CK2沉迷ing
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部