Adds retro style Roguelike line of sight to rpg maker MV or MZ!
KoTC Optimized Roguelike Line of Sight MV/MZ by Knight of the Celestial
Adds retro style Roguelike line of sight to rpg maker MV or MZ!
castiger.itch.io
Features:
Setting maps you want it to be active on.
Setting the default vision range of those maps.
Overriding vision range if the default range is shorter, for items such as flashlights or torches.
Can add or remove maps, and change their settings mid game with the script calls and plugin commands.
More to be added soon, make suggestions!
Line of sight is based on the tops of the A4 wall tiles.
Plugin Command: KoTCRoguelikeVisionOverride
Script Call: KoTCRoguelikeVisionOverride(range); 10 max. 0 for disabled.
Usually for when one wants an item such as a torch or lantern to light
a dark area, is overridden by maps currently set range if it is greater.
Plugin Command: KoTCRoguelikeVisionAddMap
Script Call: KoTCRoguelikeVisionAddMap(mapid, visionrange);
Adds map to have vision rules for when next visited.
Plugin Command: KoTCRoguelikeVisionRemoveMap
Script Call: KoTCRoguelikeVisionRemoveMap(mapid, visionrange);
Removes map from vision rules for when next visited.
Terms of Usage: Free to use for commercial and non commercial use as long as you credit me. If you were to make a game commercially with my script id appreciate it if you messaged me about it.
Change Log:
V1 Released
本贴来自国际rpgmaker官方论坛作者:castiger处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/kotc-basic-optimized-roguelike-line-of-sight-system-mv-mz.141973/