Download
(25 Kb)
Download
Updated: 05/04/14 08:56 PM
Pictures
File Info
Compatibility:
Live (1.0)
Updated:05/04/14 08:56 PM
Created:04/13/14 02:06 PM
Monthly downloads:274
Total downloads:38,479
Favorites:97
MD5:
Categories:Discontinued & Outdated, Info, Plug-in Bars
Reticle Settings (Custom Crosshair)  Popular! (More than 5000 hits)
Version: 1.5.6
by: Divona [More]
Add option to show/hide, change style, and adjust the size and transparency of in-game crosshair (Reticle). You can add labels around the Reticle to show the information such as target name, health, distance, etc.

I made this addon because I find the standard Reticle is too big for my liking. The settings are flexible enough to allow you to change how the Reticle look for each state such as when point at interactable object, target mob, or while in combat. The default setting are set to be less intrusive and give feedback when player targeting an interactable objects, and when an enermy target is in combat range.

** FEATURES **
  • Show or hide Reticles.
  • Adjustable Reticles size and transparency.
  • Adjustable size of Interact text.
  • Quickly identify friend from foe by switch on Reaction Color. It will allow Reticle to change color according to the type of unit you're targeting.
  • *NEW* Show target name, health min/max around the Reticle.
  • *NEW* Custom Reticles. Change the look of Reticle to suit your style, or just to get that impact feedback.
** HOW DO I USE MY OWN RETICLE DESIGN? **

You will need an image of Reticle you want to use in the size of 64x64 pixels, and in DDS format. If you have Photoshop, you can use NVIDIA Texture Tools to save your design as DDS, or save as PNG and convert using free software such as Easy2Convert PNG to DDS.

NVIDIA Texture Tools
https://developer.nvidia.com/nvidia-texture-tools-adobe-photoshop

Easy2Convert PNG to DDS
http://www.easy2convert.com/png2dds/

Name your file to "custom1.dds", "custom2.dds", or "custom3.dds". Then put the file inside "Textures" folder within this Addon folder.

C:\Users\< username >\Documents\Elder Scrolls Online\live\AddOns\ReticleSettings\Textures\

Then in game, select "Custom 1", "Custom 2", or "Custom 3" depending on what name you use.

Custom 1 - custom1.dds
Custom 2 - custom2.dds
Custom 3 - custom3.dds

Use the setting below when save or convert to DDS:


** PLAN FEATURES **
  • Show different Reticle when switch weapons.

Enjoy!
1.5.6
- Fixed error where font return nil value.

1.5.5
- Updated LibAddonMenu library to version 1.0 r7.
- Moved Reticle and Label settings to their own sub-menu.
- Fixed a font issue that might cause error with some AddOns.
- Added "Target Distance + Decimal" to label option.

1.5.4
- Fixed incorrect version number on Addons panel.
- Fixed Active Weapon label show incorrect weapon set (for realsies this time).

1.5.3
- Reticle can now be scale up to 150.
- Adjustment to target range calculation.
- Change the way Labels are created.
- Added option to move Non-Interact Text to alternative position, away from all the labels around the Reticle.
- Added option to change scale of Non-Interact Text.

1.5.2
- Cut down global variables pollution (oh, how I wish this AddOn can actually cut down global pollution).
- Potential fixed for Active Weapon label report incorrect info.

1.5.1
- Banished "Hello World" spam. Sorry.

1.5.0
- Change to use Reticle style "Nothing" instead of On/Off switch to hide the Reticle.
- Location to put your custom Reticle files is now in "Textures" folder, not "Mods".
- Added option to choose different Reticle for melee target and range target.
- Added option to choose different color for Reticle states and Labels.
- Added "Active Weapon" to label option.

1.4.8
- Fixed problem where Unit Frame will hide party and raid frame when it set to off.
- Added option to hide Labels when Reticle is hidden.

1.4.7
- Change the look of Veteran Rank report.
- Removed brackets from target caption.
- "Show Unit Frame" is now just "Unit Frame" with On/Off switch.
- Fixed the problem with Unit Frame option. On/Off is now doing exactly that.

1.4.6
- Target Level will show Veteran Rank instead of level if the target has one (lv50+).

1.4.5
- Interect Reticle will now show up at the correct distance between player and the other player.
- All Reticle scale are now increase and decrease by 5 for easier adjustment.
- Added option to hide unit frame.
- Added option to move Interact Text to alternative position, away from all the labels around the Reticle.
- Target distance will no longer show negative number.

1.4.4
- Added "Label Font" selection. - by EnSabahNur
- You can now change the position of all the labels. - by EnSabahNur
- Some adjustment to target distance calculation.

1.4.3
- Added "Target HP (Percent)" to label option.
- Added "Target Caption" to label option. Thanks EnSabahNur!
- Added "Target Name + Caption" to label option.
- Added "Target Name + Level + Caption" to label option.
- New formula to calculate the target distance. Thanks Kith (Azurah) & EnSabahNur!
- Reticle can now be scale down to 15.
- Interact Text can now be scale up to 200. Whoa!
- Fixed transparency issue on all labels.

1.4.2
- Added "Target Distance" to label option.
- Fixed: All labels can now be scale properly.

1.4.1
- Labels are not longer show when player is in mouse mode.

1.4.0
- Don't like the included Reticle designs? Bring your own! Allow you to add up to 3 of your own custom Reticle.
- Added "Round Square" and "Nuke" style Reticle.
- Added option to show target information all around the Reticle.
- Interact Reticle will now show only when player is in range to interact with target player (trade, group invite, etc).
- Little changes of wording in Settings menu.

1.3.1
- Fiexed stealth Reticle change size when target is in combat range.
- Added option to show Interact Reticle when target other player.
- Added "Midnight Squadron" style Reticle.
- A bit of code clean up.

1.3.0
- Add option to change the look of Reticle for each state. Current options are "Default", "Cross", "Crosshair", "Round", and "Dot".

1.2.0
- Add option to change scale of Interact text.
- Add option to show or hide stealth and disguise text.
- Interact text is now show even when Reticle is set to hidden, so you'll know when to use quest item when you arrived at specific area.
- Disguise Reticle is now using the same scale and transparency setting as Stealth Reticle.

1.1.0
- Add option to change Reticle color according to the type of the target (neutral or hostile).

1.0.1
- Fixed problem with stealthed Reticle keep changing size when targeting.

1.0.0
- Hello World
Optional Files (0)


Archived Files (20)
File Name
Version
Size
Uploader
Date
1.5.5
25kB
Divona
05/03/14 09:54 PM
1.5.4
24kB
Divona
04/27/14 05:14 AM
1.5.3
24kB
Divona
04/26/14 05:07 AM
1.5.2
24kB
Divona
04/24/14 07:16 AM
1.5.1
31kB
Divona
04/21/14 07:39 PM
1.4.8
23kB
Divona
04/19/14 01:32 PM
1.4.7
23kB
Divona
04/17/14 06:51 PM
1.4.6
23kB
Divona
04/17/14 01:13 PM
1.4.5
30kB
Divona
04/17/14 11:39 AM
1.4.4
23kB
Divona
04/16/14 06:35 PM
1.4.3
20kB
Divona
04/16/14 11:33 AM
1.4.2
19kB
Divona
04/16/14 05:35 AM
1.4.1
19kB
Divona
04/16/14 04:01 AM
1.4.0
19kB
Divona
04/16/14 03:26 AM
1.3.1
14kB
Divona
04/15/14 06:15 AM
1.3.0
12kB
Divona
04/15/14 03:12 AM
1.2.0
8kB
Divona
04/14/14 04:48 PM
1.1.0
7kB
Divona
04/14/14 12:48 AM
1.0.1
7kB
Divona
04/13/14 10:00 PM
1.0.0
7kB
Divona
04/13/14 02:06 PM


Post A Reply Comment Options
Unread 04/16/14, 06:08 AM  
UniKite

Forum posts: 2
File comments: 11
Uploads: 0
Can you add the NPC difficulty to the lvl (normal or veteran, boss....), Vet Ranks?
and for Players the class symbol?
Can we switch the health status between points and %?
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 07:02 AM  
Qwynn
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally Posted by Divona
Originally Posted by Qwynn
Originally Posted by Divona
Originally Posted by Qwynn
After the latest patch, I can't seem to get the 'Interactable Player' reticle to appear anymore. I was able to use it briefly, previously, but now it seems to have no effect.

:<

(As an addition, I also updated Wykky'd Framework around the same time, which had a fix in it for it's reticle scale options. Could there be some sort of strange conflict?)
Interactable Player will now only appear when you're in range to interact with other player (trade, group invite, etc). Just like how it work on NPC.
You actually uploaded that update just after I posted that, and I haven't downloaded the newer version yet to see if the issue is resolved.

I was referring to the version before this latest one. I'll let you know of I still have trouble.
Try version 1.4.2 and see how that goes.
I return to report I'm still not getting a reticle for other players, even if I'm right on top of them!

Would the smart hide option from Wykkyd's framework be doing something? I'm not sure what else to report. :<
Last edited by : 04/16/14 at 07:13 AM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 04/16/14, 07:43 AM  
Saint-Ange
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 26
Uploads: 4
Thank you very much for sharing your work here.

I'm glad all is optional as I just need basic things (just the smallest and most transparent dot reticle possible for the Normal status and if it could even be smaller than 30% that would be perfect, 15-20%).

Merci beaucoup, and what a start for a first add-on, bravo!
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 08:00 AM  
EnSabahNur
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 10
Uploads: 2
Range

Love Your Addon but the Rangefinder dose not work rigth if you edit the GetTargetDistance funktion to this it is more akkurate thanks to the greate work of Kith and his Addon Azurah

Code:
function GetTargetDistance()
--from Azurah by Kith
	local GetMapNumTiles		= GetMapNumTiles
	local GetMapType			= GetMapType
	local GetMapContentType		= GetMapContentType
	local GetMapPlayerPosition	= GetMapPlayerPosition
	local math_sqrt				= math.sqrt
	local math_pow				= math.pow
	local math_max				= math.max
	local strformat				= string.format

	local mapWidth, mapHeight, mapType, mapContent
	local pX, pY, pZ, tX, tY, tZ
	local div
	local distantValue

	mapWidth, mapHeight = GetMapNumTiles()
	mapType = GetMapType()
	mapContent = GetMapContentType()
	pX, pY, pZ = GetMapPlayerPosition('player')
	tX, tY, tZ = GetMapPlayerPosition('reticleover')

	if (mapContent == 0) then
		div = mapType == 1 and 15 or 2.5
	elseif (mapContent == 1) then
		div = mapType == 1 and 25 or 1
	elseif (mapContent == 2) then
		div = mapType == 1 and 21 or 26
	else
		div = mapType * mapWidth
	end


--	x = math_pow((pX / div) - (tX / div), 2)
--	y = math_pow((pY / div) - (tY / div), 2)
--	z = math_pow((pZ / div) - (tZ / div), 2)

	distantValue = strformat('%.1fm', math_max(0, (math_sqrt(
		math_pow((pX / div) - (tX / div), 2) +
		math_pow((pY / div) - (tY / div), 2)
	) * 10000) - 1))
	
	return distantValue
	
end
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 08:40 AM  
EnSabahNur
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 10
Uploads: 2
Caption for NPCs

if you like here are the modified funktions to add Caption support

Code:
local LABEL_OPTIONS = {
	"Nothing", "Target Name", "Target Name + Level", "Target Name + Level + Health",
	"Target Health", "Target Distance", "Caption"
}

function GetLabelText( option )

	-- Variables
	local labelText = ""
	
	-- Get info
	local targetName = GetUnitName( "reticleover" )
	local targetLevel = GetUnitLevel( "reticleover" )
	local Caption = GetUnitCaption("reticleover")
    local Reaction = GetUnitReaction("reticleover")
	
	---- Clean up the format of data
	-- Target Name
	if ( targetName == nil ) then targetName = "" end
	-- Target Level
	if ( targetLevel == 0 ) then
		targetLevel = ""
	else
		targetLevel = "[ " .. targetLevel .. " ]"
	end
	-- Clean up Caption
	if Caption == nil then 
		Caption = "" 
	else 
		local pos = string.find (Caption, "^", 1, true) --ESN
		if pos then
			Caption = string.sub (Caption, 1, pos-1)
		end
	end
	
	---- Options
	-- Nothing
	if ( option == "Nothing" ) then
		labelText = ""
	-- Target Name
	elseif ( option == "Target Name" ) then
		labelText = targetName
	-- Target Name + Level
	elseif ( option == "Target Name + Level" ) then
		labelText = targetName .. "  " .. targetLevel
	-- Target Name + Level + Health
	elseif ( option == "Target Name + Level + Health" ) then
		labelText = targetName .. "  " .. targetLevel
		local targetHealthCurrent, targetHealthMax = GetUnitPower( "reticleover", POWERTYPE_HEALTH )
		local targetHealthPercent = math.floor( targetHealthCurrent / targetHealthMax * 100 )
		if ( targetHealthMax ~= 0 ) then
			labelText = labelText .. "\n" .. "HP: " .. targetHealthCurrent .. " / " .. targetHealthMax .. " (" .. targetHealthPercent .. "%)"
		end
	-- Target Health
	elseif ( option == "Target Health" ) then
		local targetHealthCurrent, targetHealthMax = GetUnitPower( "reticleover", POWERTYPE_HEALTH )
		local targetHealthPercent = math.floor( targetHealthCurrent / targetHealthMax * 100 )
		if ( targetHealthMax ~= 0 ) then
			labelText = "HP: " .. targetHealthCurrent .. " / " .. targetHealthMax .. " (" .. targetHealthPercent .. "%)"
		end
	-- Target Distance	
	elseif ( option == "Target Distance" ) then
		if ( targetName ~= "" ) then
			labelText = GetTargetDistance()
		end
	-- Caption
	elseif ( option == "Caption" ) then
		if ( targetName ~= "" ) then
            if not IsUnitPlayer("reticleover") then
                if Reaction == 5 or Reaction == 7 then 
					labelText = Caption
                end
            end
		end
	end

	return labelText
	
end
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 08:53 AM  
Divona
 
Divona's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 63
Uploads: 3
Re: Caption for NPCs

Originally Posted by EnSabahNur
if you like here are the modified funktions to add Caption support

Code:
local LABEL_OPTIONS = {
	"Nothing", "Target Name", "Target Name + Level", "Target Name + Level + Health",
	"Target Health", "Target Distance", "Caption"
}

function GetLabelText( option )

	-- Variables
	local labelText = ""
	
	-- Get info
	local targetName = GetUnitName( "reticleover" )
	local targetLevel = GetUnitLevel( "reticleover" )
	local Caption = GetUnitCaption("reticleover")
    local Reaction = GetUnitReaction("reticleover")
	
	---- Clean up the format of data
	-- Target Name
	if ( targetName == nil ) then targetName = "" end
	-- Target Level
	if ( targetLevel == 0 ) then
		targetLevel = ""
	else
		targetLevel = "[ " .. targetLevel .. " ]"
	end
	-- Clean up Caption
	if Caption == nil then 
		Caption = "" 
	else 
		local pos = string.find (Caption, "^", 1, true) --ESN
		if pos then
			Caption = string.sub (Caption, 1, pos-1)
		end
	end
	
	---- Options
	-- Nothing
	if ( option == "Nothing" ) then
		labelText = ""
	-- Target Name
	elseif ( option == "Target Name" ) then
		labelText = targetName
	-- Target Name + Level
	elseif ( option == "Target Name + Level" ) then
		labelText = targetName .. "  " .. targetLevel
	-- Target Name + Level + Health
	elseif ( option == "Target Name + Level + Health" ) then
		labelText = targetName .. "  " .. targetLevel
		local targetHealthCurrent, targetHealthMax = GetUnitPower( "reticleover", POWERTYPE_HEALTH )
		local targetHealthPercent = math.floor( targetHealthCurrent / targetHealthMax * 100 )
		if ( targetHealthMax ~= 0 ) then
			labelText = labelText .. "\n" .. "HP: " .. targetHealthCurrent .. " / " .. targetHealthMax .. " (" .. targetHealthPercent .. "%)"
		end
	-- Target Health
	elseif ( option == "Target Health" ) then
		local targetHealthCurrent, targetHealthMax = GetUnitPower( "reticleover", POWERTYPE_HEALTH )
		local targetHealthPercent = math.floor( targetHealthCurrent / targetHealthMax * 100 )
		if ( targetHealthMax ~= 0 ) then
			labelText = "HP: " .. targetHealthCurrent .. " / " .. targetHealthMax .. " (" .. targetHealthPercent .. "%)"
		end
	-- Target Distance	
	elseif ( option == "Target Distance" ) then
		if ( targetName ~= "" ) then
			labelText = GetTargetDistance()
		end
	-- Caption
	elseif ( option == "Caption" ) then
		if ( targetName ~= "" ) then
            if not IsUnitPlayer("reticleover") then
                if Reaction == 5 or Reaction == 7 then 
					labelText = Caption
                end
            end
		end
	end

	return labelText
	
end
Thank you so much for helping out. I'll put these code in and will test it tonight. Gotta love open source. Cheers!
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 09:08 AM  
Varghjarta

Forum posts: 0
File comments: 7
Uploads: 0
Absolutely Amazing

Totally essential addon that I would not wish to be without now that I have it. Can't wait to see where all it goes! Would love to see (In the fullness of time) captions like NPC Reticle used to do where you can see the type of vendor on the reticle, but it's not necessary!

It's absolutely great as it is!

Thank you very much for this!
Last edited by Varghjarta : 04/16/14 at 09:08 AM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 09:09 AM  
WoWLoreConfusedMe

Forum posts: 7
File comments: 44
Uploads: 0
Can you add positive Interact Text Scale (up to 200% or even 300%)?
Because in 1.4.2 it's too small even at 100%...

btw it's used to be okay, well in previous version.
Last edited by WoWLoreConfusedMe : 04/16/14 at 09:12 AM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 10:31 AM  
Divona
 
Divona's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 63
Uploads: 3
Originally Posted by WoWLoreConfusedMe
Can you add positive Interact Text Scale (up to 200% or even 300%)?
Because in 1.4.2 it's too small even at 100%...

btw it's used to be okay, well in previous version.
Sound like you have conflict with other Addon that also change the size of Reticle like Wykkyd's Immersion. Make sure Reticle Scale in that Addon is set to 100 before adjusting the one in Reticle Settings. 100% is the default in-game without any Addon.

I will up the maximum size allowance up to 200% anyway, just because I can, and maybe it will help when you still want to use other Addon that affect the Reticle's Interact Text.

Maybe you could list up what other Addon you're using, so I can begin investigate what causing the problem. Cheers.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 10:43 AM  
Covington90

Forum posts: 0
File comments: 1
Uploads: 0
Divona this addon is wonderful but has anyone metioned that your distance scale is off its double what it should be i use the ability snipe and when i am at minimum distance to shot your addon says the target is 50m away which is the maximum distance when i walk back to max firing range it says i am 100 meters away

is this already a known issue for you or is it on my end?

EDIT:
wrote down the wrong distances
Last edited by Covington90 : 04/16/14 at 10:45 AM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 11:43 AM  
Divona
 
Divona's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 63
Uploads: 3
Originally Posted by Covington90
Divona this addon is wonderful but has anyone metioned that your distance scale is off its double what it should be i use the ability snipe and when i am at minimum distance to shot your addon says the target is 50m away which is the maximum distance when i walk back to max firing range it says i am 100 meters away

is this already a known issue for you or is it on my end?

EDIT:
wrote down the wrong distances
I have added the new formula to calculating target distance in version 1.4.3. Thanks EnSabahNur + Kith.

It still seem off when skill said 22m requires to activate, but the distance calculated as 45m and skill is usable at that range. I just not good at complex math to calculate such distance, and have no idea what the dev used for check their distance. I wish there's a simple API to do the job really.

Probably best keep eyes open if someone else can managed to get the calculation right, and if you know do let me know.

The addon started off as a simple way to scale and and adjust the transparency for Reticle, and now it kinda blew out to the epic proportions over my capability.
Last edited by Divona : 04/16/14 at 11:43 AM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 11:57 AM  
WoWLoreConfusedMe

Forum posts: 7
File comments: 44
Uploads: 0
Originally Posted by Divona
Originally Posted by WoWLoreConfusedMe
Can you add positive Interact Text Scale (up to 200% or even 300%)?
Because in 1.4.2 it's too small even at 100%...

btw it's used to be okay, well in previous version.
Sound like you have conflict with other Addon that also change the size of Reticle like Wykkyd's Immersion. Make sure Reticle Scale in that Addon is set to 100 before adjusting the one in Reticle Settings. 100% is the default in-game without any Addon.

I will up the maximum size allowance up to 200% anyway, just because I can, and maybe it will help when you still want to use other Addon that affect the Reticle's Interact Text.

Maybe you could list up what other Addon you're using, so I can begin investigate what causing the problem. Cheers.

I found it, its the new version of Wykkyd's Full Immersion...

"Reticle scale (always applied)". I will tell him about it!


edit: Here we go!
Originally Posted by Wykkyd
Yes, look for that update tonight.
Last edited by WoWLoreConfusedMe : 04/16/14 at 01:17 PM.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 01:31 PM  
EnSabahNur
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 10
Uploads: 2
Fonts

I uploaded a patch for Font and Pos. Options quick and dirty
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 06:01 PM  
Gekko1

Forum posts: 0
File comments: 13
Uploads: 0
Would it be possible to get this add-on to show Veteran ranks on mobs too? Now it shows them as lvl50 when you are on VP areas.
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 06:31 PM  
Divona
 
Divona's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 63
Uploads: 3
Re: Fonts

Originally Posted by EnSabahNur
I uploaded a patch for Font and Pos. Options quick and dirty
Thanks EnSabahNur. I've add them to the new version (1.4.4). Cheers!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: