Eli Map Reveal - Reveal the map as you walk!

@Calamitous Magic
You are welcome ^^

Regarding the variable to reveal tiles - I am mainly interested in the One Region reveal, so do I understand correctly that the variable does not apply there?
Yes, correctly. The variable range will make no difference with this parameter because it will reveal all regions that the player steps at once.
Oh dear, I am embarrassed!:oops:

I have been fiddling around and couldn't get it to work no matter what plugins I turned off. So I started a fresh project, put yours in and (of course) it worked perfectly. Then I started to add in other plugins and they all worked (including Save Core) - so then I was completely confused! Then it finally dawned on me what was probably wrong. As I said, I was using a project that I had tested other things on and had been using a saved game and transferring into the map that I was trying to test the Reveal on. As soon as I changed my player start position and began a new game in that map it worked perfectly.

So thank you for your assistance, but I'm afraid my own stupidity can not be helped!

I shall now head off and put your excellent plugin to good use.
Oh dear, I am embarrassed!:oops:

I have been fiddling around and couldn't get it to work no matter what plugins I turned off. So I started a fresh project, put yours in and (of course) it worked perfectly. Then I started to add in other plugins and they all worked (including Save Core) - so then I was completely confused! Then it finally dawned on me what was probably wrong. As I said, I was using a project that I had tested other things on and had been using a saved game and transferring into the map that I was trying to test the Reveal on. As soon as I changed my player start position and began a new game in that map it worked perfectly.

So thank you for your assistance, but I'm afraid my own stupidity can not be helped!

I shall now head off and put your excellent plugin to good use.
hahaha... don't worry, it can happen!
But glad everything is working! ^^
Version 2.0.0 - 12/21/2020
- Adapted to work with Eli Book 3.0.0.
- Hopefully, the fade visibility mode will properly work now with the Reveal form "Cover One Region" and "Cover Region".
- Add a parameter to set a minimum value for the reveal range.
- Performance improvements.
Trying to use the MZ version and I get the error "this.param(...).regions.split is not a function"

Thoughts?
Trying to use the MZ version and I get the error "this.param(...).regions.split is not a function"

Thoughts?
I will take a look, but can you show me a screenshot of the console tab(press f8 or f12 to open the console when the erro happens)?
Also, it happens with a plugin command or as soon as you start the game?
Upon playtesting.
Version 2.0.1 - 12/25/2020
- Fixed an error when initializing the valid regions when it has only one region in the plugin parameter.


@yournamehere Thanks for the report! It should be fixed by now.
The error was happening in the cases where it has only one region set in the plugin parameter, making the plugin understand it as a Number in the code, and because of that the split function was not working(since it only works for Strings).

Please download the new version 2.0.1
EDIT:

Finally got things working xd
I can't for the life of me get this plugin to work tinkering with all the settings and reading over here and itch.
Well, let us make it work! 😀
  • Are you using MV or MZ?
  • Send me a screenshot of your plugin parameters.
  • Did you make the cover image, with the size of 48x48, and put it in the system folder?
  • Did you put the tag <CoverMap> in the map note tag?
  • The regions used to paint the map, are the same as the ones in the plugin parameter?
  • The plugin triggers an error(if yes, can you send me a screenshot of the console tab?), or simply didn't work?
Version 3.0.0 - 08/19/2021
- You can set the Cover regions parameter by range now. Example: 1-10 (All regions between and including 1 and 10 will be used for cover)
- Code clean up.
- Need Eli Book 4.0.0 now.
Is it possible to trigger a event when a map has been fully revealed?
@Rogue Milk I dont think that is possible yet, but some games if you
compleeted 90% of the walking path, the rest of the map is triggered
to 100% (places you couldn't reach are visible).

but trigger when the all walking paths are visible, it can be nice to
trigger an event, depending how you want to use it.

for an achievement is one way, but I cannot think of any other
ways that can be used for.

who knows, he will add this feature, it's not seen yet so far I know it,
so he could be the first 🙂
Is it possible to trigger a event when a map has been fully revealed?
Hi!
Yes, it is. Put on the conditional branch:

Eli.MapReveal.mapTileStatus().every(item => !item)

If this condition returns true, then you have all of your tiles on the current map revealed.

I might change that script call in the next update.
So maybe you want to use that:

$eliData.contents.mapReveal.maps[MAP ID].every(item => !item)

Replace MAP ID with the map you want to check.

@ShadowDragon hi!
The feature is not "formally" added, but it is already there. Since the dev himself is the one that defines what parts of the map can be covered, it depends on him if the player will not be able to reveal a tile that is covered 🙂
I see, it's a interesting feaure to reward the player for it.
specially if you must explore everything.

one thing I notice it is fully black, not sure if you can see a bit, or when you
leave it that only the circle around you is lighten up, and the reast transparent
for around 50% after discovery, which can be usefull in a dark cave or something.

but keep up the good work, many of the plugins has been updated, mostly MZ target.
so when there is another update for MV, I download it 🙂 some of them are really
useful for my game, so nice job 🙂
I'm trying to make hidden areas on the map with this. Works fine for the most part (I can't seem to get the range to work but that part is not important anyway)
So when the player steps into the covered region, it's revealing just fine, however, I'm trying to reveal the area via script call. (I have them behind a destructible wall and they are supposed to reveal with the the explosion rather than when stepping into them). I don't know why it's not working.
1641985365825.png
I'm trying to make hidden areas on the map with this. Works fine for the most part (I can't seem to get the range to work but that part is not important anyway)
So when the player steps into the covered region, it's revealing just fine, however, I'm trying to reveal the area via script call. (I have them behind a destructible wall and they are supposed to reveal with the the explosion rather than when stepping into them). I don't know why it's not working.
View attachment 212594
Hi!
As I can see, you are using the MV version.
The script call you are using will only cover/reveal the tiles that are on the specified region, in your case, region 2.

The thing is, you need to replace "reveal", with either true or false.

Cover a tile:
$fogSystem.coverRegion(2, true)

Revealing a tile:
$fogSystem.coverRegion(2, false)

[[[ EDIT ]]]

Also, about this:
I'm trying to make hidden areas on the map with this. Works fine for the most part (I can't seem to get the range to work but that part is not important anyway)
The range must be a number. It is the number of tiles that will be revealed on all sides:

Example:

Reveal 3 tiles Left, Right, Up, and Down from the coordinate 5, 5
$fogSystem.coverLinear(5, 5, 3, true)

Reveal 2 tiles Left, Right, Up, and Down from the player coordinate:
$fogSystem.coverLinear($gamePlayer.x, $gamePlayer.y, 2, true)

Also, it's been a while that I mess with this plugin, I just don't remember if true is for Reveal or Cover xD
Maybe the logic is inverted, so if it does not reveal using false as an argument, try using true.
@Eliaquim Thanks for the quick response! I knew I must've done something wrong. Suppose I missunderstood the documentation!

Putting in "2, false" Works like a charm now!

And about the reveal range, I think that never worked because I my character was never on the region I assume.

Awesome! Your plugin saves me a lot of time and headache. Much appreciated!
Version 5.0.0 is not compatible with my plugins that are below the 5.0.0 versions.

Version 5.0.0 - 02/05/2022

  • Updated terms of use.
Hello again. I recently discovered an odd thing. If you reveal and area and then die and load a save, the are remains revealed even when the save file is from a point in the game where it shouldn't.

Original thread: https://forums.rpgmakerweb.com/threads/eli-map-reveal-reveal-the-map-as-you-walk.129597/