KoTC Optimized Basic Onscreen Waypoint System Rpg Maker MV/MZ by Knight of the Celestial
Allows onscreen waypoints on events of your choosing, can remove them at will.
castiger.itch.io
! Scroll to the bottom for Plugin Commands and Script Calls. !
! But the notes just below are vital for usage of the system. !
Works for page comments as well, exact same format. If page changes, and the new page has a minimap comment, it will adapt to the new pages comment setup. If the new page has no comment, the event will be removed from the minimap.
Do not use both Event Notes, and Page Comments for a single event at the same time, only one is needed per event.
If an event is erased, its waypoint will be removed.
Add to an events notes to make use of it, range is optional, color can
be a hexcode or a word refering to one.
<KoTC Waypoint Picture: PICTURENAME YOFFSET VISIBILITYRANGE>
<KoTC Waypoint Dot: COLOR
YOFFSET VISIBILITYRANGE>
<KoTC Waypoint Arrow: COLOR
YOFFSET VISIBILITYRANGE>
<KoTC Waypoint Square: COLOR
YOFFSET VISIBILITYRANGE>
Picture Waypoint Example:
<KoTC Waypoint Picture: Dwarf1 -48>
Shows Dwarf1 from the pictures folder just above the screen location of the event, if it is off screen it'll hug the edge of the screen in its direction. The -48 represents a Y Offset upward 48 pixels.
Green Dot Example:
<KoTC Waypoint Dot: green 0>
Shows a green dot just above the screen location of the event, if it is off screen it'll hug the edge of the screen in its direction.
With a YOffset of 0, it will be in the default position.
Red Dot Within 10 Tiles Example:
<KoTC Waypoint Dot: red -48 10>
Shows a red dot just above the screen location of the event, if it is off screen it'll hug the edge of the screen in its direction. If it is more than 10 tiles away, it will stop being visible.
With a YOffset of -48, it will be in 48 pixels upward.
Green Arrow Example:
<KoTC Waypoint Arrow: green 48>
Shows a green arrow just above the screen location of the event, if it is off screen it'll hug the edge of the screen in its direction.
With a YOffset of 48, it will be in 48 pixels downward.
Red Arrow Within 10 Tiles Example:
<KoTC Waypoint Arrow: red 24 10>
Shows a red arrow just above the screen location of the event, if it is off screen it'll hug the edge of the screen in its direction. If it is more than 10 tiles away, it will stop being visible.
With a YOffset of 24, it will be in 24 pixels downward.
Blue Square Example:
<KoTC Waypoint Square: blue -96>
Shows a blue square just above the screen location of the event, if it is off screen it'll hug the edge of the screen in its direction.
With a YOffset of -96, it will be in 96 pixels upward.
Purple Square Within 10 Tiles Example:
<KoTC Waypoint Square: purple 0 10>
Shows a purple square just above the screen location of the event, if it is off screen it'll hug the edge of the screen in its direction. If it is more than 10 tiles away, it will stop being visible.
With a YOffset of 0, it will be in the default position.
Plugin Commands:
Plugin Command: RemoveActiveWaypoint eventid
Script Call: RemoveActiveWaypoint(eventid)
Removes the waypoint for the specified event until map change.
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.
本贴来自国际rpgmaker官方论坛作者:castiger处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/kotc-optimized-basic-onscreen-waypoint-system-mv-mz.142271/