Quantcast
Download
(44 Kb)
Download
Updated: 10/20/18 10:34 AM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Updated:10/20/18 10:34 AM
Created:06/25/16 12:39 AM
Monthly downloads:43,420
Total downloads:671,984
Favorites:671
MD5:
4.2
Votan's Minimap  Updated less than 3 days ago!  Popular! (More than 5000 hits)
Version: 1.4.8
by: votan [More]
Description
This addon reactivates the mini map from ZOS. Thus the mini map does not do less, but also not more than the built-in world map, because it is the built-in world map.

No artificial synchronization of (custom) pins between mini map and world map. All kind of pins are supported by design.
But also no border pins or rotation mode and such features. My mini map is intended to be lightweight and fast.
  • Includes world map performance tweaks, which can be disabled for performance comparison.
    The tweaks changing the pin rendering to utilize the CPU up to a framerate of 75 only. Seeing the pins rendered over time is not a sign of overload of this addon, but a compensation of others.
  • Conflicts with other mini maps can be expected. Therefore the mini map can be disabled to use the tweaks only.
  • I do not recommend to use the AUI mini map module at the same time as mine.
  • Gamepad support, but limited due to lines in ZOS source code, they call a "total hack" themself:
    Positioning and resizing in keyboard mode only.
  • The window is resizable via mouse. (this code is written by ZOS, not me)

If you think you need a full-featured mini map try the MiniMap by Fyrakin.

@Shinni did a great job creating a plug-in for a Circular Votan's Mini Map.
And if you want to show group pins in different colors and/or icons, such as showing a different color for dead players, you may want to use Votan's Group Pins.

Providing a mini map can be an unthankful job. I guess Fyrakin could sing a song or two. Therefore I can't resist to say:
The addon works well for me. Otherwise I would not have released it. If you think you have performance problems due to this addon, help tracking down or stop using.
Frame freezes are most likely coming from an addon providing a lot of pins without taking care about creating even a simple pin takes some time multiplied by hundreds.
In this case the author of that addon can make it more mini map friendly, only.

Thanks to @scootworks, @Anceane and @Drakanwulf for testing

Remarks
  • There are key-bindings to toggle the mini map on/off. For technical reasons the toggle while at siege weapons needs its own key-binding. But you can re-use the same key.
  • If you feel dissatisfied with the second main menu entry for "Addons", take a look at Harven's AS to LAM adapter.
  • In order to move or resize the window, you need to go to the mouse-cursor mode. You can do this by pressing the key-bind for mouse-cursor mode, which is "." (dot) by default. Or you press "Enter" as if you want to start chatting.
    Once you have the mouse pointer you can drag the window with the title-bar and bottom-bar. Or resize it using the border. The mouse pointer will change. Like in Windows. (And I guess MAC, too )

ToDo
- Try to enable tooltips: Update: Found a real, real hacky way. Gamepad mode is wonky. One has really have to think about going this way.
version 1.4.8:
- Fixed gamepad hacks.

version 1.4.7:
- Update for "Murkmire".
- Update to LibAsync rev 1.8.
- Compabitility with PerfectPixel.

version 1.4.6:
- Fixed mini map keeps stuck in drag-scroll mode.
- Added russian translation. Thanks to KiriX.
- Improved support for language-packs. Thanks to TERAB1T.
- New option: Keep Square. Finally found a way to change ZOS' pan&zoom for retangluar mini maps.

version 1.4.5:
- Update LibHarvensAddonSettings rev 7.2. Fixed color picker settings.

version 1.4.4: Fixed dependency typo, which prevents addon gets loaded.

version 1.4.3:
- Update to API 100024 "Wolfhunter".
- Update to LibAsync rev 1.7.
- New library load structure.
- New behavior: Mounted Zoom is a scale factor, now. You may need to re-adjust this value to your preferences.

version 1.4.2:
- Fixed bug which would cause trouble with WaypointIt.

version 1.4.1:
- Store zoom factors scale and limitedScale in VOTANS_MINIMAP. Requested by Shinni.
- Fixed fast travel to "The Harborage".

version 1.4.0:
- Fixed settings reset to default.
- Added LibQuickPin for faster pins drawing in World Map and Minimap. Thanks to @Shinni.
- API bump 100023 "Summerset".

version 1.3.5:
- All settings, expect toggle state, account-wide: Zoom key-binds did use wrong settings.
- Fixed icon size scaling.
- Hopefully fixed the Cyrodiil zone caption update. Part 3.

version 1.3.4:
- Fixed "Show while Mounted".

version 1.3.3:
- Hopefully fixed the Cyrodiil zone caption update. Part 2.
- Update to LibAsync rev 1.6: Take cake of V-Sync on/off.
  • For V-Sync on, the target frame rate is bit higher than 60fps.
  • For V-Sync off, the frame limiter value (default 100fps) is used for target frame rate.

- All settings, except toggle state, account-wide.

version 1.3.2:
- Fixed wrong pins. Part 2.
- Hopefully fixed the Cyrodiil zone caption update.

version 1.3.1:
- Fixed wrong pins
- Hopefully fixed hooking pins. Like "Hide Preview Houses".

version 1.3.0:
- Update to LibAsync rev. 1.5.
- Allow to set a waypoint with ctrl left-click in minimap.
- Reworked tweaks.

version 1.2.5:
- API bump for "Dragon Bones".
- Renamed from "Mini Map" to "Minimap" for better addon search results.

version 1.2.4:
- Fixed an issue with map change ping pong in some sub zones at the edges.

version 1.2.3:
- Adding a deadzone to sub-zone map swapping.
- Hopefully better "Show On Mounted" key-bind toggling.

version 1.2.2:
- Prevent "Joviex's Addon Settings Transfer (Updated)" false detects the addon as settings useable for transfer.

version 1.2.1:
- API bump for Clockwork City.

version 1.2.0:
- Update for "Horns of the Reach".
- Layer mini map under bounty meter.
- Zoom key-bindings at siege.

version 1.1.9:
- Fixed a typo for settings tooltip.
- New option for title at the bottom bar.

version 1.1.8:
- LibAsync 1.4: Boost mode for menu scenes. The boost mode shifts the priority from framerate to Lua speed.
- Localization. Thanks to @lexo1000 for french translation.

version 1.1.7:
- Fixed Show Siege settings.

version 1.1.6:
- Fixed Mounted Zoom factor settings.

version 1.1.5:
- Zoom factors and show states are per character, now. But taking over former account-wide settings. I did not expect that to be so important. Sorry.
* If the character was not loaded before already.
- Update to LibASync 1.3.

version 1.1.4:
- Localization. Thanks to @lexo1000 for french translation.
- Zoom factors and show states are per character, now.

version 1.1.3:
- update to LibAsync 1.2: Low framerate mode, fix bug in Delay.
- Fix potential issue with detecting LibGPS.
- New option to show/hide compass, if mini map is shown on HUD.

version 1.1.2:
- LibAsync rev 1.1: New target framerate 75.
- Back to render method of v1.1.0 with new LibAsync.
- Fixed missing map update for Cyrodiil specific pins.
- Added debug option to show frame freeze warning.

version 1.1.1:
- Deleted unused files.
- Reverted rendering tweaks, which could make the addon "heavier".

version 1.1.0:
- Better support for LibGPS.
- Limited gamepad support. Thanks to @Shinni.
* Limitation: Positioning and resizing can be done in keyboard mode only.
- New option to suppress Zone change annoucement in upper right corner.
- Use LibAsync for asynchronous programming.
- New option: time format.

version 1.0.10:
- Added optional dependency to TrueExploration for compatibility.
- Fixed another small issue with "Show on Map".

version 1.0.9:
- New option to choose either or not to zoom to player.

version 1.0.8:
- Changed clamped-to-screen-insets, requested by F-Lambda
- Fixed pins were keeping mouse-over-size.

VotansMiniMap v1.0.7:
- Update to LAM2 rev 23
- ESO 2.7 "Homestead" ready
- Thanks to @Chip, I can use new world map functions to move the map faster to player position

version 1.0.6:
- Better unsupport of gamepad mode: World map is not broken, if switching to gamepad mode.
* Still no change to World Map code from ZOS. Gamepad support still not possible.
- Reworked "Spread over time" calculations: Don't be too restrictive for framerates 60+.
- As map pins are larger now, they are made smaller on mini map.

version 1.0.5:
- Restore player pin level. (Hopefully)
- Hide map in gamepad mode.
- Scale unit pins, but not below configured minimum.
- Tweak change: Multiple calls to UpdatePinsForMapSizeChange are buffered, but the update itself is not spread over time anymore.
- ESO 2.6 'One Tamriel' ready.

version 1.0.4:
- Allow to hide floor buttons.
- Show player location name in title.
- Added thin shadow to title bar font.
- Zoom level for sub-zones and dungeons
- key-binds to adjust zoom directly
- New Style "Modern"

version 1.0.3:
- More options: Allow to lock window position
- Drag with the bottom bar, too.
- Auto size pins on zoom less than 1.
- Key-binds to change zoom factor while key is pressed, as suggested by @Baertram.
- Fixed missing zoom if using wayshrine in subzone. (Hopefully)

version 1.0.2:
- Again, more appearance options: Title font, size, color.

version 1.0.1:
- More appearance options. (Yes, yes, more will come)
- Fixed map pin filter for Cyrodiil.
- Fixed compatibility issue with Dolgubon's Lazy Writ Crafter.
- Update 11 (Shadows of the Hist) ready.

version 1.0.0:
- initial
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.5
240kB
08/20/18 12:33 PM
Addon


Archived Files (39)
File Name
Version
Size
Author
Date
1.4.7
44kB
votan
10/13/18 09:22 AM
1.4.6
41kB
votan
09/16/18 08:12 AM
1.4.5
39kB
votan
08/13/18 02:11 PM
1.4.4
39kB
votan
08/13/18 12:19 PM
1.4.2
33kB
votan
05/20/18 08:39 AM
1.4.1
33kB
votan
05/04/18 01:20 PM
1.4.0
33kB
votan
04/26/18 11:58 AM
1.3.5
31kB
votan
04/02/18 11:20 AM
1.3.4
31kB
votan
04/02/18 08:17 AM
1.3.3
31kB
votan
03/30/18 08:29 AM
1.3.2
31kB
votan
03/22/18 02:54 PM
1.3.1
31kB
votan
03/17/18 11:51 AM
1.3.0
31kB
votan
03/14/18 11:55 AM
1.2.5
31kB
votan
02/04/18 02:41 AM
1.2.4
31kB
votan
12/26/17 01:09 PM
1.2.3
31kB
votan
12/13/17 01:04 PM
1.2.2
30kB
votan
10/31/17 02:53 AM
1.2.1
30kB
votan
10/22/17 01:21 PM
1.2.0
30kB
votan
07/20/17 12:03 AM
1.1.9
30kB
votan
07/01/17 05:39 AM
1.1.7
30kB
votan
05/19/17 11:00 AM
1.1.6
30kB
votan
05/18/17 01:28 PM
1.1.5
30kB
votan
05/18/17 12:54 PM
1.1.4
29kB
votan
05/17/17 11:08 PM
1.1.3
25kB
votan
04/09/17 03:06 PM
1.1.2
25kB
votan
04/02/17 03:39 AM
1.1.1
25kB
votan
03/25/17 02:21 PM
1.1.0
27kB
votan
03/15/17 02:09 PM
1.0.10
21kB
votan
02/25/17 02:21 PM
1.0.9
21kB
votan
02/12/17 05:59 AM
1.0.8
21kB
votan
02/11/17 09:56 AM
1.0.7
21kB
votan
02/03/17 12:04 PM
1.0.6
21kB
votan
11/20/16 08:52 AM
1.0.5
21kB
votan
09/07/16 11:07 AM
1.0.4
19kB
votan
07/16/16 07:54 AM
1.0.3
19kB
votan
07/09/16 06:13 AM
1.0.2
18kB
votan
07/03/16 11:58 AM
1.0.1
17kB
votan
06/28/16 11:44 PM
1.0.0
16kB
votan
06/25/16 12:39 AM


Post A Reply Comment Options
Unread Today, 02:14 AM  
dolandemort
 
dolandemort's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Thanks for fixing your addon when in gamepad mode. Much appreciated.
Report comment to moderator  
Reply With Quote
Unread Yesterday, 08:36 AM  
dolandemort
 
dolandemort's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Re: Re: Gamepad

Originally Posted by ryh
Revert to prev. version of Votan's Minimap fix the problem, so problem is inside new version of addon not in Zenimax changes is map zooming by gamepad.


Originally Posted by dolandemort
As mentioned by another couple people in the last 1-2 months in this thread, there appear to be issues with how your mini-map displays in gamepad mode. The addon was working perfectly from about 2 months ago and before.

I think recently Zenimax implemented the ability to switch map levels easier when in gamepad mode using LB/L1 and RB/R1 (depending on what controller you use). They appended a UI element to the bottom of the gamepad interface's world map (a string and button images) that is now showing up on the bottom of your minimap when in gamepad mode (everything works fine in keyboard+mouse mode).

The result is a non-square minimap that doesn't appear to respect the boundaries you intended for it (overlaps with other things) with the aforementioned UI element attached to the bottom.

Here is a screenshot showing what I'm describing. As you can see, the recently added UI element by Zenimax seems to interfere with how your addon constructs the minimap from the official world map scene.

Is this something you could easily fix? Your minimap is better than Fyrakin's, imo, and unfortunately right now a lot of gamepad users are unable to use your addon.
Which version did you revert to? I'm sure I already tried earlier versions with no success at getting rid of this "LB/RB SWITCH LEVEL" thing.

EDIT: Yes. I just went back and confirmed that trying the last 4-5 versions before the current one don't remove this UI element. I think maybe you were testing it in Keyboard+Mouse mode.

And you say it isn't problem caused by Zenimax, but I think you are wrong. This "Switch Level" thing was recently introduced to the Gamepad UI, and it is displayed under the map in the world map scene. I think Votan's addon is compositing his minimap from this scene and is accidentally lifting the new UI element during minimap construction.
Last edited by dolandemort : 10/20/18 at 08:45 AM.
Report comment to moderator  
Reply With Quote
Unread Yesterday, 04:08 AM  
XIIICaesar

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: Gamepad

Originally Posted by ryh
Revert to prev. version of Votan's Minimap fix the problem, so problem is inside new version of addon not in Zenimax changes is map zooming by gamepad.


Originally Posted by dolandemort
As mentioned by another couple people in the last 1-2 months in this thread, there appear to be issues with how your mini-map displays in gamepad mode. The addon was working perfectly from about 2 months ago and before.

I think recently Zenimax implemented the ability to switch map levels easier when in gamepad mode using LB/L1 and RB/R1 (depending on what controller you use). They appended a UI element to the bottom of the gamepad interface's world map (a string and button images) that is now showing up on the bottom of your minimap when in gamepad mode (everything works fine in keyboard+mouse mode).

The result is a non-square minimap that doesn't appear to respect the boundaries you intended for it (overlaps with other things) with the aforementioned UI element attached to the bottom.

Here is a screenshot showing what I'm describing. As you can see, the recently added UI element by Zenimax seems to interfere with how your addon constructs the minimap from the official world map scene.

Is this something you could easily fix? Your minimap is better than Fyrakin's, imo, and unfortunately right now a lot of gamepad users are unable to use your addon.
How do we revert to previous version? I use Minion & it auto updates.
Report comment to moderator  
Reply With Quote
Unread Yesterday, 03:58 AM  
ryh

Forum posts: 0
File comments: 3
Uploads: 0
Re: Gamepad

Revert to prev. version of Votan's Minimap fix the problem, so problem is inside new version of addon not in Zenimax changes is map zooming by gamepad.


Originally Posted by dolandemort
As mentioned by another couple people in the last 1-2 months in this thread, there appear to be issues with how your mini-map displays in gamepad mode. The addon was working perfectly from about 2 months ago and before.

I think recently Zenimax implemented the ability to switch map levels easier when in gamepad mode using LB/L1 and RB/R1 (depending on what controller you use). They appended a UI element to the bottom of the gamepad interface's world map (a string and button images) that is now showing up on the bottom of your minimap when in gamepad mode (everything works fine in keyboard+mouse mode).

The result is a non-square minimap that doesn't appear to respect the boundaries you intended for it (overlaps with other things) with the aforementioned UI element attached to the bottom.

Here is a screenshot showing what I'm describing. As you can see, the recently added UI element by Zenimax seems to interfere with how your addon constructs the minimap from the official world map scene.

Is this something you could easily fix? Your minimap is better than Fyrakin's, imo, and unfortunately right now a lot of gamepad users are unable to use your addon.
Report comment to moderator  
Reply With Quote
Unread 10/19/18, 03:02 AM  
dolandemort
 
dolandemort's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Gamepad

As mentioned by another couple people in the last 1-2 months in this thread, there appear to be issues with how your mini-map displays in gamepad mode. The addon was working perfectly from about 2 months ago and before.

I think recently Zenimax implemented the ability to switch map levels easier when in gamepad mode using LB/L1 and RB/R1 (depending on what controller you use). They appended a UI element to the bottom of the gamepad interface's world map (a string and button images) that is now showing up on the bottom of your minimap when in gamepad mode (everything works fine in keyboard+mouse mode).

The result is a non-square minimap that doesn't appear to respect the boundaries you intended for it (overlaps with other things) with the aforementioned UI element attached to the bottom.

Here is a screenshot showing what I'm describing. As you can see, the recently added UI element by Zenimax seems to interfere with how your addon constructs the minimap from the official world map scene.

Is this something you could easily fix? Your minimap is better than Fyrakin's, imo, and unfortunately right now a lot of gamepad users are unable to use your addon.
Last edited by dolandemort : 10/19/18 at 03:07 AM.
Report comment to moderator  
Reply With Quote
Unread 10/18/18, 07:25 PM  
XIIICaesar

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by votan
@XIIICaesar Your mini map seems to be in a non-square shape. Be sure "Keep Square" is enabled and resize it.
Hi. Srry for takin minute to get back to you. Thnx for the suggested fix Votan. However, upon checking my minimap was already in 'keep square' mode. I use the Circular addon that complements your minimap. Upon further tinkering tho I notiuced in M&K mode it never happens. Goin into inventory or other menus, etc never alters the m,ap. It's when Im in controller mode (I use a Steam Controller ) that the issue happens. The m,ap is fine upon 1st loading the game but as soon as I go into my inventory the thing happens. Only while using the circular overlay in controller mode. I even tried resizing it but seeing as the issue doesnt happen at all in M&K I'm thinking it's something to do with how it handles gamepad mode or something? Idk.
Last edited by XIIICaesar : 10/18/18 at 07:26 PM.
Report comment to moderator  
Reply With Quote
Unread 10/17/18, 12:07 PM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 458
File comments: 1023
Uploads: 27
@XIIICaesar Your mini map seems to be in a non-square shape. Be sure "Keep Square" is enabled and resize it.
__________________
@votan73 (EU - megaserver)
Last edited by votan : 10/17/18 at 12:07 PM.
Report comment to moderator  
Reply With Quote
Unread 10/17/18, 07:25 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 458
File comments: 1023
Uploads: 27
Originally Posted by XIIICaesar
Hey. Love the minimap mod. Since the Murkmire update though I've noticed something odd. In the top right & left corners of the map there 2 square cutouts that just display the game screen space behind the map. Dont know if its a bug or not. instead of the map. Im using the circular addon for Votans too. I also posted there. It only seems to happen in all the circular modes. It only happens when I press select on my controller to go into the world map. If I hit WINDOWS button or alt+tab to desktop n go back to the game the minimap is fine until I press select again to open the world map.
Hm. Never seen, yet. Everywhere or specific location?
__________________
@votan73 (EU - megaserver)
Report comment to moderator  
Reply With Quote
Unread 10/17/18, 03:18 AM  
XIIICaesar

Forum posts: 0
File comments: 4
Uploads: 0
Hey. Love the minimap mod. Since the Murkmire update though I've noticed something odd. In the top right & left corners of the map there 2 square cutouts that just display the game screen space behind the map. Dont know if its a bug or not. instead of the map. Im using the circular addon for Votans too. I also posted there. It only seems to happen in all the circular modes. It only happens when I press select on my controller to go into the world map. If I hit WINDOWS button or alt+tab to desktop n go back to the game the minimap is fine until I press select again to open the world map.
Last edited by XIIICaesar : 10/17/18 at 07:16 AM.
Report comment to moderator  
Reply With Quote
Unread 10/12/18, 10:36 AM  
Kyoma
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 148
Uploads: 6
Originally Posted by Zemious
I love this minimap addon, it's well made; however, my only qualm is that it's got it's own "Add-On" tab rather than being with all the other "Addon" settings. I wish this addon would conform to normal addon setting locations.
https://www.esoui.com/downloads/info...AMadapter.html
Report comment to moderator  
Reply With Quote
Unread 10/12/18, 10:11 AM  
Zemious

Forum posts: 0
File comments: 2
Uploads: 0
I love this minimap addon, it's well made; however, my only qualm is that it's got it's own "Add-On" tab rather than being with all the other "Addon" settings. I wish this addon would conform to normal addon setting locations.
Report comment to moderator  
Reply With Quote
Unread 10/11/18, 03:39 PM  
SlippyCheeze
AddOn Author - Click to view AddOns

Forum posts: 52
File comments: 200
Uploads: 1
I have a bug, in which the map flips back and forth between the "city" map and the "region" map, roughly once a second, but obviously triggered by something because it is not steady at that rate, just normally at it.

A location that reproduces it for me consistently is at where Steady-Hand, Fjar Moonstrike, and Vurila Llethan are gathered for a quest in Eastmarch, just near Fort Amol. This is not the only location, just the one I troubled myself to gather reproduction on.

Screenshot of the location: https://imgur.com/a/vZkE5vN

I've made available my SavedVars file, this is "Ephem Slippy Cheeze", but I have experienced it with other characters: https://gist.github.com/slippycheeze...a11cdd000f306d

The location is, per the function from MapPins, follows. LMK if you need it some other way.

Lua Code:
  1. fortamol_base={{0.525,0.076,68}}
  2.  
  3. The function that gave me that, for reference:
  4.     SLASH_COMMANDS["/loc"]=function()
  5.             local x,y=GetMapPlayerPosition("player")
  6.             StartChatInput(string.match(string.gsub(GetMapTileTexture(),"UI_Map_",""), "%w+/%w+/%w+/(%w+_%w+)")..'={{'..math.floor(x*1000)/1000 ..","..math.floor(y*1000)/1000 ..","..LastAchivement..'}},')
  7.         end
Report comment to moderator  
Reply With Quote
Unread 09/27/18, 11:08 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 458
File comments: 1023
Uploads: 27
Originally Posted by LazyPyro
Originally Posted by Anceane
Originally Posted by xaraan
Not really a big issue, but worth mentioning maybe... for some reason the menu for the map does not appear under the Addons section of the game menu, but in a separate "add-on" menu by itself.
Yes, its a Votan feature all his addons can be found together that way.
No? Fisherman and Fish Fillet are in the normal addons menu. Only minimap is showing in it's own separate "Add-Ons" menu. It's confusing at first as I didn't even notice this separate menu so didn't realise there were a whole bunch of settings I was able to change.

I'd love to know how to move it to the proper Addons menu as it's annoying here and runs counter to how every other addon is coded. Surely it's just one line of code we can change if Votan won't? Anybody know how to do it?
Use this: Harven's AS to LAM adapter.
__________________
@votan73 (EU - megaserver)
Report comment to moderator  
Reply With Quote
Unread 09/26/18, 02:00 PM  
LazyPyro

Forum posts: 0
File comments: 1
Uploads: 0
Originally Posted by Anceane
Originally Posted by xaraan
Not really a big issue, but worth mentioning maybe... for some reason the menu for the map does not appear under the Addons section of the game menu, but in a separate "add-on" menu by itself.
Yes, its a Votan feature all his addons can be found together that way.
No? Fisherman and Fish Fillet are in the normal addons menu. Only minimap is showing in it's own separate "Add-Ons" menu. It's confusing at first as I didn't even notice this separate menu so didn't realise there were a whole bunch of settings I was able to change.

I'd love to know how to move it to the proper Addons menu as it's annoying here and runs counter to how every other addon is coded. Surely it's just one line of code we can change if Votan won't? Anybody know how to do it?
Report comment to moderator  
Reply With Quote
Unread 09/20/18, 04:40 PM  
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 31
Uploads: 3
Re: Re: Is this what you meant to do?

Originally Posted by votan
Originally Posted by Drakanwulf
About line 1213 in Votan's Minimap, I noticed these lines of code:

Code:
	local defaults = {
		showHUD = self.account.showHUD or true,
		showLoot = self.account.showLoot or true,
		showMounted = self.account.showMounted or true,
		showCombat = self.account.showCombat or false,
		showSiege = self.account.showSiege or false,
	}

	self.player = ZO_SavedVars:NewCharacterIdSettings("VotansMiniMap_Data", 1, nil, defaults)

	defaults = {
		showHUD = true,
		showLoot = true,
		showMounted = true,
		showCombat = false,
		showSiege = false,
	}
	self.defaults = defaults
Does the second table declaration for "defaults" overwrite the data in the first local declaration? Or does the second table declaration for "defaults" result in a global variable?

I am asking because I like the way the Initialize function code saves and/or retrieves saved variables from the nested $Accountwide and characterId subtables. I am just confused about the having two tables with the same "defaults" variable name but each being used for a different purpose.

I think the second "defaults" table code is initializing the first local "defaults" table with different values again but I am not sure.
The first one is for taking over for new characters. The second defaults are the real defaults for the reset button.
Thanks, Votan. As usual you thought of the things I didn't.
__________________
Hope this helps ...
Drakanwulf, the dire wolf that hunts dragons!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: