Download
(84 Kb)
Download
Updated: 03/03/15 07:29 PM
Pictures
File Info
Compatibility:
Update 6 (1.6.5)
Updated:03/03/15 07:29 PM
Created:05/17/14 01:28 PM
Monthly downloads:32
Total downloads:7,640
Favorites:28
MD5:
HeatMapR (+Fog Of War)  Popular! (More than 5000 hits)
Version: 0.2.0
by: pills [More]
Title: HeatMapR

Author: pills
Also see MailR

Thanks to: Shinni, GameGenius

In Game Gold Donations Are Welcomed - @TheLab

Description: HeatMapR (pronounced heatmapper) will keep of track how long you spend at a given location and allow you to overlay that information over your map as a heatmap. The absence of "heat" will let you know you have not visited a specific location. HeatMapR also has a pseudo fog-of-war mechanism for those hardcore explorers.

If you are interested in helping me maintain MailR or HeatMapR please send me a message. I am looking someone to help as my time to support ESO addons is limited nowadays. Thanks!

The scale is roughly as follows:
Unvisited (No Heat, no color)
Rarely Visited (cold)
Sometimes Visited
Moderately Visited (warm)
Frequently Visited
You Spend Way Too Much Time Here (hot)

Notes
  • This is a fairly rough proof-of-concept that ive been requested to share. I dont plan on giving much support (time is scarce nowadays). So if you want to help support/grow it let me know.
  • Make sure to Goto Controls and set the HeatMapR display buttons (I use '-' and '=')
  • If you explore a lot its possible the SavedVar may get too big too handle efficiently so at that point you may want to make a copy and move it out of the way so a new one can be created. At this point you probably arent going back to too many of the places youve explored before anyway.

Usage
  • To display the heatmap load your map (e.g. 'm' key) then press the key bound as described in the NOTES section (e.g. '='). If the heatmap is displayed you can turn the visualization off press by pressing the heatmap key again (e.g. '='). HeatMapR should remember your display settings so next session or the next time you load your map is should maintain fog-of-war or the heatmap if you had it on.
  • /heatmap [option] [value]
    'toggle sampling' - turn on/off taking samples of map location (only useful if you want to stop taking data when taking a biobreak or being afk for awhile)
    'toggle fow' - turn on/off fog of war display
    'toggle heat' - turn on/off heatmap display
    'unhide <mapname>' - disable fog of war for mapname (default is Tamriel and Oblivion...you may want to add Cyrodiil). Note the location must have been discovered already...sampling turned on for at least one sample in that location (approx 2 seconds). Also <mapname> must be exactly what is displayed in the upper left when you are viewing your map that includes case and punctuation/spaces.
    'hide <mapname>' - turn fog of war back on for mapname. see 'unhide'.

Current Version 0.1.8
You will probably want to back up your SavedVar file when moving to 0.1.0 as I had to update the format. HeatMapR will try to convert it automatically, but better safe than sorry
Change Log
0.2.0
  • Updated for 1.6
0.1.8.1
  • changed txt file
0.1.8
  • updated to use LibAddonMenu-2.0
0.1.7.1
  • removed txt extension from README so it doesnt show up as an addon
0.1.7
  • Updated for v1.4.3 patch
0.1.6
  • Updated for 1.2.3 patch. Updated API version number and added required ZoS agreement in README.txt.
0.1.5
  • Fixed texture alpha not resetting on FoW making it look like unexplored areas had been explored along with some other visualization problems.
0.1.4
  • Added slider in "Settings" menu to control heatmap opacity (not FoW)
0.1.3
  • Made display a bit more fancy (smooth). FoW has this annoying moire pattern thing going on because I am lazy and dont feel like making a crap-ton of textures to cover all pathing cases. Ill put some more thought into it later or if anyone else has thoughts let me know.
0.1.2
  • Updated for Craglorn patch (changed API version number)
0.1.1
  • Added transparency to undiscovered areas in fog of war.
0.1.0
  • Support Zoom (Thanks Shinni)
  • Added Fog-of-War support (a little slow when zooming in/out)
0.0.3
  • Actually hide visualization on map->mousewheel interaction
0.0.2
  • Initial proof-of-concept release. Rough visualization. Probably lots of problems/annoyances.
Optional Files (0)


Archived Files (13)
File Name
Version
Size
Uploader
Date
0.1.8.1
84kB
pills
12/16/14 07:18 PM
0.1.8
84kB
pills
11/06/14 12:10 AM
0.1.7.1
64kB
pills
09/17/14 07:20 PM
0.1.7
64kB
pills
09/15/14 08:34 PM
0.1.6
64kB
pills
07/02/14 04:06 PM
0.1.5
64kB
pills
05/24/14 11:20 PM
0.1.4
63kB
pills
05/24/14 08:30 PM
0.1.3
58kB
pills
05/24/14 07:57 PM
0.1.2
4kB
pills
05/22/14 05:15 PM
0.1.1
4kB
pills
05/18/14 09:16 PM
0.1.0
4kB
pills
05/18/14 06:08 PM
0.0.3
4kB
pills
05/17/14 09:01 PM
0.0.2
4kB
pills
05/17/14 01:28 PM


Post A Reply Comment Options
Unread 04/06/16, 02:33 AM  
BigMons
 
BigMons's Avatar

Forum posts: 38
File comments: 178
Uploads: 0
Thanks Quaraxkad for the tip on the pins. Does anyone know of a way to adjust the alpha of the fog of war? I'd like it much darker. The alpha slider in settings seems to only affect the heat map and not the fog of war.

EDIT: I've tried modifying the FOW DDS files in paint.net but I have no idea what I'm doing and I can't get them to go darker. I don't get why the author put in a slider for the heat map but nothing for the FOW. This is very frustrating.
Last edited by BigMons : 04/06/16 at 03:19 AM.
Report comment to moderator  
Reply With Quote
Unread 04/19/15, 10:39 AM  
Quaraxkad
 
Quaraxkad's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
In case anybody is interested, I made a minor modification to this mod for the Fog Of War portion. The default behavior hides all map pins (except quest related) for unexplored areas when FoW is enabled. You can disable this (and therefor always show all "known" pins) by opening HeatMapR.lua, look for "function HeatMap.ToggleFoW()", it's at line 254 in the current version. Then comment out this section (add the -- at the beginning of each line as shown) or just delete the whole for block:

Lua Code:
  1. --  for n=1,ZO_WorldMapContainer:GetNumChildren() do
  2. --      local child = ZO_WorldMapContainer:GetChild(n)
  3. --      if child.m_Pin ~= nil and not child.m_Pin:IsQuest() then
  4. --          local x, y = child.m_Pin:GetNormalizedPosition()
  5. --          if x ~= nil and y ~= nil then
  6. --              x = x*HeatMap.x_bins
  7. --              y = y*HeatMap.y_bins
  8. --              x = math.floor(x)-- + 1 -- [1, HeatMap.x_bins]
  9. --              y = math.floor(y)-- + 1 -- [1, HeatMap.y_bins]
  10. --              local bin = (y*HeatMap.x_bins + x) + 1 -- lua index
  11. --              if not HeatMap.frequency[mapName] or not HeatMap.frequency[mapName][bin] then
  12. --                  child:SetHidden(true)
  13. --              end
  14. --          end
  15. --      end
  16. --  end
Report comment to moderator  
Reply With Quote
Unread 03/04/15, 05:14 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
Originally Posted by QuadroTony
any performance optimisations? just txt file?
i uninstall this addon long ago because of lags
it causes massibe lags when open tha map
interesting why author continue updating useless things like API bump, but wont fix unnoying problems
Report comment to moderator  
Reply With Quote
Unread 12/17/14, 02:51 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
any performance optimisations? just txt file?
i uninstall this addon long ago because of lags
it causes massibe lags when open tha map
Report comment to moderator  
Reply With Quote
Unread 11/06/14, 05:13 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
very good idea... i like fog of war!
but - too laggy
when i turn it on and serfing between different locations in the main map menu, or just zooming in/out
its much more slower then without FOV

2. Why it still not working with minimap?
Report comment to moderator  
Reply With Quote
Unread 10/22/14, 12:15 PM  
pills
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 77
Uploads: 6
Re: Installed it in addon's and doesn't show up

Originally Posted by hannibalektr
Doesnt show up as an addon at all. Very odd.
i havent been paying much attention to ESO lately. Its possible the Addon is out of date. Did you try enabling out of date addons by checking the the box in the addons menu? You may need to reloadui or something after.
Report comment to moderator  
Reply With Quote
Unread 10/20/14, 03:29 AM  
hannibalektr

Forum posts: 0
File comments: 9
Uploads: 0
Installed it in addon's and doesn't show up

Doesnt show up as an addon at all. Very odd.
Report comment to moderator  
Reply With Quote
Unread 07/20/14, 12:46 PM  
pills
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 77
Uploads: 6
Originally Posted by Munox
Is there a way to make the data for each character? When i visit the same areas with different characters, the map is already marked.
hmmm as far as I know that should already be the default behavior. I dont do any specific account wide stuff...

When I get a chance Ill take a look for ya though.
Report comment to moderator  
Reply With Quote
Unread 07/20/14, 08:10 AM  
Munox

Forum posts: 0
File comments: 1
Uploads: 0
Is there a way to make the data for each character? When i visit the same areas with different characters, the map is already marked.
Report comment to moderator  
Reply With Quote
Unread 05/18/14, 11:52 AM  
Shinni
AddOn Author - Click to view AddOns

Forum posts: 167
File comments: 550
Uploads: 22
didn't test it but maybe this works for the zoom:
Lua Code:
  1. local oldDimensions = ZO_WorldMapContainer.SetDimensions
  2. ZO_WorldMapContainer.SetDimensions = function(self, width, height) --override old size/dimensions function
  3.     local bin_width = width / x_bins
  4.     local bin_height = height / y_bins
  5.     for i=1,HeatMap.x_bins*HeatMap.y_bins do --update size and position for all tiles
  6.         local index = i-1 -- reset to 0 based indexing
  7.         local y0 = math.floor(index/HeatMap.x_bins)
  8.         local x0 = index - y0*HeatMap.x_bins
  9.         HeatMap.bgControls[i]:SetDimensions(bin_width, bin_height)
  10.         HeatMap.bgControls[i]:SetAnchor(TOPLEFT, ZO_WorldMapContainer, TOPLEFT, x0*bin_width, y0*bin_height)
  11.     end
  12.     oldDimensions(self, width, height) --call the old function
  13. end
everytime the size of the ZO_WorldMapContainer is changed (= the world map changes its zooming value) the position and size of your tiles is changed as well.
Report comment to moderator  
Reply With Quote
Unread 05/18/14, 11:00 AM  
pills
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 77
Uploads: 6
Something like this? It would take me a bit of work to do it right (this is just abusing the way I did the heatmap) especially if you want neat "fog" like texture instead of the discrete blocks I also havent fully figured out the map zoom stuff as it appears I dont have direct access to zoom information so I cant get fow (or heatmap) to follow zooming hence why its currently disabled. Ill see if I can run it by some of the map devs.

edit* oh hah. didnt even notice the name...maybe you can help


Originally Posted by Shinni
interesting idea!
could you add a version which does exactly the opposite?
like hide the whole map and then show the places you've been to.
some kind of fog of war thingy so you actually have to explore the map before seeing it.
Last edited by pills : 05/18/14 at 11:02 AM.
Report comment to moderator  
Reply With Quote
Unread 05/18/14, 07:20 AM  
Shinni
AddOn Author - Click to view AddOns

Forum posts: 167
File comments: 550
Uploads: 22
interesting idea!
could you add a version which does exactly the opposite?
like hide the whole map and then show the places you've been to.
some kind of fog of war thingy so you actually have to explore the map before seeing it.
Last edited by Shinni : 05/18/14 at 07:20 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.