Download
(11 Kb)
Download
Updated: 05/25/14 02:42 PM
Pictures
File Info
Updated:05/25/14 02:42 PM
Created:04/09/14 09:53 AM
Monthly downloads:84
Total downloads:36,031
Favorites:104
MD5:
Categories:Discontinued & Outdated, Combat Mods
Range Reticle  Popular! (More than 5000 hits)
Version: 0.52
by: Adein [More]
THIS ADDON IS DEAD DUE TO A CHANGE BY ZENIMAX



Author: Adein
Guild: Eternal Defiance

Range Reticle modifies the targeting reticle to add the distance to the highlighted target in meters. It also displays the name and level/veteran rank of the target above the reticle.

The color of the reticle changes depending on friend/foe and the range to the target (Out of Range, In Range, In Melee Range).

All features can be configured in the Settings menu (including colors).

New range formula! It's still being tested, but so far it seems to be more consistent.

If you have a feature request or run into a bug, please comment. Also, if you find a zone where the range calculation is wrong (or missing), please let me know!

If you wish to contribute and are familiar with Lua/Git, please send me a PM.
0.52
------
Reverted to 0.42 code until map info bug can be fixed.

0.51
------
Bugfix for when map returns bad data (range = 'e')

0.5
------
Updated to latest API to match Craglorn
Changed range calculation to a new (beta) format.
Sorry for the long delay (RL.. yay!)

0.42
------
Fixed bug where difficulty displayed for NPCs when it shouldn't have.

0.41
------
Added asterisks in the target name/level label to indicate the difficulty of an NPC whenever it's anything over 'normal'.

0.4
------
- Updated Settings menu to have much more flexibility. Options are now divided by Hostile, Neutral, Allies, and NPCs
- Fixed bug where name, etc were shown when reticle is hidden (free look mode)
- Fixed bug where butterflies, etc were shown as allies
- Minor updates to range calculation in a few zones. If you find one that is broken, please comment so I can fix it!

0.31
------
Tweaked the range calculation for several zone types.

0.3
------
Reworked the distance calculation to be more accurate. Seems to be within 1m now.

0.21
------
Bugfix to remove unnecessary dependency
Optional Files (0)


Archived Files (9)
File Name
Version
Size
Uploader
Date
0.51
12kB
Adein
05/23/14 04:22 PM
0.5
11kB
Adein
05/22/14 03:57 PM
0.42
11kB
Adein
04/20/14 12:00 AM
0.41
11kB
Adein
04/19/14 05:26 PM
0.4
11kB
Adein
04/11/14 05:41 PM
0.31
9kB
Adein
04/09/14 04:14 PM
0.3
9kB
Adein
04/09/14 02:06 PM
0.21
9kB
Adein
04/09/14 01:12 PM
0.2
9kB
04/09/14 09:53 AM


Post A Reply Comment Options
Unread 05/23/14, 08:21 PM  
Adein
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 33
Uploads: 3
I've found that half the time I detect a range error ('e'), the game is reporting the wrong numbers from the API. Reloading the UI usually fixes it. The other half are because I have to adjust the calculation for different zone types.

Until I can get it fixed, you might want to use the old version (0.42) like a few have already stated.
Report comment to moderator  
Reply With Quote
Unread 05/23/14, 05:21 PM  
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 169
Uploads: 11
still getting an "e" and messed up ranges... Version: 0.51... back to 0.42 lol
Last edited by SkOODaT : 05/23/14 at 05:22 PM.
Report comment to moderator  
Reply With Quote
Unread 05/23/14, 12:49 PM  
tweva
Premium Member

Forum posts: 4
File comments: 52
Uploads: 0
Originally Posted by Dargor
Originally Posted by SkOODaT
latest update when you reticle from a player to another player the distance says "e" thiers a buggy somewhere lol RangeReticle-0.5
Every distance is bugged: I stand about 10m in front of another player or npc and it says "e". When I move closer it says something about "90m"
-> reverted back to 0.42
Yeah, I'm getting smashed into a red stain on the sand by tigers that are today listed at 48m, and 70m, when before the 'big patch' yesterday with my bosmer sneak I was good to slip passed at 9m minimum.

I'm in Reapers. It worked fine in Reapers (and Auridon/Grahtwood) yesterday. Never had a prob.
Report comment to moderator  
Reply With Quote
Unread 05/23/14, 11:13 AM  
Dargor

Forum posts: 0
File comments: 10
Uploads: 0
Originally Posted by SkOODaT
latest update when you reticle from a player to another player the distance says "e" thiers a buggy somewhere lol RangeReticle-0.5
Every distance is bugged: I stand about 10m in front of another player or npc and it says "e". When I move closer it says something about "90m"
-> reverted back to 0.42
Last edited by Dargor : 05/23/14 at 11:17 AM.
Report comment to moderator  
Reply With Quote
Unread 05/23/14, 09:42 AM  
Gothrek

Forum posts: 2
File comments: 48
Uploads: 0
there is a possibility to see the VR rank and not (50)?
Report comment to moderator  
Reply With Quote
Unread 05/22/14, 04:42 PM  
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 169
Uploads: 11
latest update when you reticle from a player to another player the distance says "e" thiers a buggy somewhere lol RangeReticle-0.5
Last edited by SkOODaT : 05/22/14 at 05:07 PM.
Report comment to moderator  
Reply With Quote
Unread 05/09/14, 04:27 PM  
Aoon
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 77
Uploads: 1
Re: Range is off

Originally Posted by METALPUNKS
Love the add on. Great work. I'm having an issue though. I'm not sure what causes it. The range meter will say 28m but it seems I'm really really close to the enemy at 28m. Most skills that are ranged so the work at 28m but now that I'm using this range reticle addon I'm using most of my skills at 40-50 meters. Is the game just wrong?
You should note what zone/area you were in. I find some of the maps use a different mod for the distance. I looked at it a little bit, but couldn't come up with a formula that worked every time. Other addons that have accurate range seems to have gone through and made an array of ratios for certain zones that broke the original formula
Report comment to moderator  
Reply With Quote
Unread 05/09/14, 02:03 PM  
METALPUNKS

Forum posts: 14
File comments: 28
Uploads: 0
Range is off

Love the add on. Great work. I'm having an issue though. I'm not sure what causes it. The range meter will say 28m but it seems I'm really really close to the enemy at 28m. Most skills that are ranged so the work at 28m but now that I'm using this range reticle addon I'm using most of my skills at 40-50 meters. Is the game just wrong?
Report comment to moderator  
Reply With Quote
Unread 05/07/14, 07:36 PM  
Aoon
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 77
Uploads: 1
Originally Posted by Adein
I haven't tried GetTextureFileDimensions, but I'll try it this week and see if I can update the calculations to be more consistent/simple.

The selfH and targetH are actually Headings. The API doesn't seem to have a method to return the players height/altitude

Originally Posted by Garkin
I want to scale maximal visible distance for compass pins in my addon, so I was wondering how check range.

I was looking into your code, but I couldn't find any relation between number of map tiles and range in game. Is there any? If range depends on map size, you should be probably checking not just number of tiles, but also dimensions of that tiles:

Lua Code:
  1. tileSize = ZO_WorldMapContainer1:GetTextureFileDimensions()

Map sizes (all maps are square, so I will use just width):
Code:
5120px (5x1024) --Cyrodiil
2048px (2x1024) --all zone maps (Auridon, Grahtwood,...)
1536px (3x512)  --starting islands and big city maps
1280px (5x256)  --medium town maps
768px  (3x256)  --all dungeons and small town maps
Also I noticed that you check altitude (your variables "selfH" and "targetH"), but you do not use it in formula.
Be aware, this will not always work. The world map sometimes does not know where you are and either leaves the last map up, or will give you a black map with nothing loaded. In both cases you'll be unable to get the proper data from ZO_WorldMap objects.
Report comment to moderator  
Reply With Quote
Unread 05/05/14, 06:53 PM  
Enigma

Forum posts: 0
File comments: 65
Uploads: 0
Found a quest that breaks the addon. In the AD faction there is a quest line for Blackleaf's Briars. At one point you have to eat a live frog and put into a semi-real/spirit realm. When at this part of the quest all mobs are being shown as out of range/hundreds of m away until they are almost on top of you.
Report comment to moderator  
Reply With Quote
Unread 05/05/14, 06:27 AM  
alexminion
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 2
I get an error when running this together with the Wykkyd framework. The error is "Too many anchors processed" and I believe it can be fixed with a ClearAnchors() command. Would it be possible to update the addon to work with Wykkyd ?

Basically the same problem as Rhadek
Last edited by alexminion : 05/05/14 at 06:30 AM.
Report comment to moderator  
Reply With Quote
Unread 05/01/14, 11:34 AM  
Adein
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 33
Uploads: 3
I haven't tried GetTextureFileDimensions, but I'll try it this week and see if I can update the calculations to be more consistent/simple.

The selfH and targetH are actually Headings. The API doesn't seem to have a method to return the players height/altitude

Originally Posted by Garkin
I want to scale maximal visible distance for compass pins in my addon, so I was wondering how check range.

I was looking into your code, but I couldn't find any relation between number of map tiles and range in game. Is there any? If range depends on map size, you should be probably checking not just number of tiles, but also dimensions of that tiles:

Lua Code:
  1. tileSize = ZO_WorldMapContainer1:GetTextureFileDimensions()

Map sizes (all maps are square, so I will use just width):
Code:
5120px (5x1024) --Cyrodiil
2048px (2x1024) --all zone maps (Auridon, Grahtwood,...)
1536px (3x512)  --starting islands and big city maps
1280px (5x256)  --medium town maps
768px  (3x256)  --all dungeons and small town maps
Also I noticed that you check altitude (your variables "selfH" and "targetH"), but you do not use it in formula.
Report comment to moderator  
Reply With Quote
Unread 04/30/14, 12:55 PM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 832
File comments: 1097
Uploads: 33
I want to scale maximal visible distance for compass pins in my addon, so I was wondering how check range.

I was looking into your code, but I couldn't find any relation between number of map tiles and range in game. Is there any? If range depends on map size, you should be probably checking not just number of tiles, but also dimensions of that tiles:

Lua Code:
  1. tileSize = ZO_WorldMapContainer1:GetTextureFileDimensions()

Map sizes (all maps are square, so I will use just width):
Code:
5120px (5x1024) --Cyrodiil
2048px (2x1024) --all zone maps (Auridon, Grahtwood,...)
1536px (3x512)  --starting islands and big city maps
1280px (5x256)  --medium town maps
768px  (3x256)  --all dungeons and small town maps
Also I noticed that you check altitude (your variables "selfH" and "targetH"), but you do not use it in formula.
Last edited by Garkin : 04/30/14 at 12:55 PM.
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 05:59 PM  
frnic

Forum posts: 1
File comments: 5
Uploads: 0
Re: Range incorrect in Bleakrock Isle

Originally Posted by frnic
Reticle indicates range that Sorcerer Shard skill enables is 58M, skill says it is 28M. By this I mean the skill in the action bar becomes enabled when the reticle is displaying 58M
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 02:36 PM  
frnic

Forum posts: 1
File comments: 5
Uploads: 0
Range incorrect in Bleakrock Isle

Reticle indicates range that Sorcerer Shard skill enables is 58M, skill says it is 28M.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: