Maintenance for the week of January 13:
• PC/Mac: No maintenance – January 13

Changing Default Map Zoom

HumbleFriar
Howdy guys, I've looked around and I could not find a setting anywhere.

Is there a way to set the default zoom on maps? My issue is I always want/have to zoom out to see the full map. The game doesn't store the zoom's setting.

Anyone know how to do this or know if I can change this by making a mod and using the API?

Thanks for any help you can give. Sorry if this seems strange, but I don't have a scroll wheel, so it's not so simple.
  • Kraeius
    Kraeius
    ✭✭
    I'd really also like to know that if its a workaround for it. As I know, there is no addon yet for this feature and its not possible to make it via game options.

    I also don't like current map zoom.
    RAETIA InfoHub | @Kraeius (PC - EU Megaserver)
  • WhiteQueen
    WhiteQueen
    ✭✭✭
    Add to this the issue wherein, if you're in a city, the rest of the map's greyed out.
  • Mara_Jade
    Mara_Jade
    I know it doesn't fix the default zoom issue but if you are in a city you can right click to zoom to view outside of the city. Without a mouse with a wheel to zoom I am not sure how to fix that other than getting a new mouse they are fairly cheap (simple ones here not massive gaming ones).
  • HumbleFriar
    Just an update for everyone, found an api function to zoom the map out - now i'm just trying to figure out how to 'detect' a keypress, so I can have it call that api function when M is pressed :) getting there :)
  • Kraeius
    Kraeius
    ✭✭
    @HumbleFriar‌ great news matey!
    RAETIA InfoHub | @Kraeius (PC - EU Megaserver)
  • HumbleFriar
    ok, been up all night trying everything to set the map zoom level.

    The MapZoomOut() function works, but it actually zooms in not out.

    if this was working correctly i'ld be all good. but I've been trying to find the MapDisplayControl so I could call GetZoom() and SetZoom() but can't seem to find the right control, if they even use one

    tonight/this morning was my first working w/ lua so i'm not giving up, but definitely need help
  • BlackTinuviel
    The default zoom levels are 1-5, with 5 being the default. I found a function inside the ZO_WorldMap object, which I'm at work so I can't really get for you (I have the code on my desktop), that can hook the mousewheel up and down on the main map and return the delta for the map zoom. The problem though is this does not trigger when using the zoom selector on the right. Since this is a delta, and not the value, you can't rely on it unless you can hook all elements that can change the zoom...

    As for setting the level, I haven't been able to find a reliable way to do this yet. If you made your own map addon it would be easier to hook it, but that's tons of work in itself. In the default control, there does not seem to be a good way to set the level.

    For help finding the controls, look for the addon 'zgoo'. This will let you find the names of things and other properties
  • HumbleFriar
    Howdy BlackTinuviel. Thx for the zgoo advice. I found that on my initial night of this coding endeavor.

    As soon as they fix the MapZoomOut() api call to zoom out and not in the app is working. The only additions I can think of adding are a) the ability to set the default zoom though a settings menu and b) trying to just create a mapdisplaycontrol and call the SetZoom() and GetZoom() functions from it, but I don't think if I just create the control that it will be linked to the existing map window. The problem I was having in this approach was that I could not find an actual mapdisplaycontrol object in use at the time using the zgoo tool.

    Anyway, fun stuff - we're getting there. Thanks again for the help BlackTinuviel, any other help/advice is welcome. Hope you all are enjoying the game as much as I am! Get those traits researched.

    ps I have been thinking about writing an app to keep track of all of the trait unlocks for an account. Anyone think that's worth working on?
  • HumbleFriar
    recent update for anyone paying attention. I'm still convinced it is the api, but for now I have a work around. I have programmed my 'map' button to send the map command as well as scroll down several times. I really want to make the addon, but for now this solution works for me.
  • Kraeius
    Kraeius
    ✭✭
    @HumbleFriar‌ Can you share that map command?
    RAETIA InfoHub | @Kraeius (PC - EU Megaserver)
  • Aelthwyn
    Aelthwyn
    ✭✭✭✭
    Every time I go to the map I have to also scroll out a bit because it's so far in I can't really tell where I am or what's nearby, the default zoom setting just isn't useful.

    I know this thread is over a year old, but it's the only one that came up when I searched for "map" and "zoom" under add-ons that is actually about what I'm looking for. There USED to be an add-on that automatically zoomed in/out to the amount you configured in the settings, but.... it doesn't seem to be around anymore and I'd really like to know what happened. It was so convenient! Has this functionality been added to the game itself and I just haven't noticed where to set it? If not, does anyone know of an add-on that does this which I may have somehow missed while combing through them? Or is there anyone up to re-creating it?
  • Kraeius
    Kraeius
    ✭✭
    Aelthwyn wrote: »
    Every time I go to the map I have to also scroll out a bit because it's so far in I can't really tell where I am or what's nearby, the default zoom setting just isn't useful.

    I know this thread is over a year old, but it's the only one that came up when I searched for "map" and "zoom" under add-ons that is actually about what I'm looking for. There USED to be an add-on that automatically zoomed in/out to the amount you configured in the settings, but.... it doesn't seem to be around anymore and I'd really like to know what happened. It was so convenient! Has this functionality been added to the game itself and I just haven't noticed where to set it? If not, does anyone know of an add-on that does this which I may have somehow missed while combing through them? Or is there anyone up to re-creating it?

    Current system is not same with old map mechanics. It was always opening with max zoom-in at first times but now most of the exterior maps opening with max zoom-out.

    InfoHub which is below, on my signature still has that option in "Zone" settings menu page if you need it.

    RAETIA InfoHub | @Kraeius (PC - EU Megaserver)
Sign In or Register to comment.