caffeinefree / plugins

RPG Maker MV Plugins
MIT License
1 stars 0 forks source link

Minimap Map Metadata #5

Open TheUnproPro opened 7 years ago

TheUnproPro commented 7 years ago

We need to come up with Map Metadata, so that we can make it where you have to have an item or a switch has to be on in order for the minimap to work in that area.

felixjones commented 7 years ago

So the area is invisible on the map until a quest item or event is triggered?

Sounds like something regions should be used for. Something like "Minimap Hide Region_1 Unless Player Has Key"

TheUnproPro commented 7 years ago

that's a great idea actually, we can use the regions for hidden passages as well! Like you have to have a special item to reveal hidden passages on the minimap... sweet

felixjones commented 7 years ago

You mentioned in chat how players complained about regions conflicting with other plugins, how would this be solved? Is it something we should worry about?

This would also work really nicely with revealing based on where the player is, so only show part of a minimap if the player is within a certain region. That would work nicely with other plugins that hide rooms until the player walks into them.

How do we add this meta data to maps?

TheUnproPro commented 7 years ago

One way we could solve it would be to do something similar to how Yanfly's doodads worked, only we would allow the user to "draw" the minimap... that'd be way too complex though. (devans idea he mentioned it to me before, but was way too lazy to add something like that). Using this we can completely avoid regions

felixjones commented 7 years ago

I think as long as we don't force region behaviour, it would be okay to use them. So we shouldn't say "Region 1 will always appear red on the minimap", it would be an optional "when on Region X, do Y", that way it would only conflict with other Plugins if they are forcing region behaviour, our Plugin will be the good guy.

TheUnproPro commented 7 years ago

I like it! Also perhaps a way to force colors via Minimap Metadata? If you're using regions in a spot, you can fill that spot using metadata

Example: <minimapPixel: x/y/color> or something