Download
(5Kb)
Download
Updated: 10-25-16 05:28 AM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.5)
Updated:10-25-16 05:28 AM
Created:06-07-14 09:21 AM
Downloads:7,084
Favorites:12
MD5:
Categories:Unit Mods, Graphic UI Mods

Crosshairs  Popular! (More than 5000 hits)

Version: 7.1.0.1
by: semlar [More]

Adds an animated crosshair to your target's nameplate for better visibility.

7.1.0.1 - Updated to use the a new function in 7.1 for getting the screen resolution to properly support pixel perfect lines, and fixed an issue with people using viewport addons.
0.3 - Removed leftover cvar script for locking the camera to your target.
Optional Files (0)


Post A Reply Comment Options
Unread 07-18-14, 07:09 PM  
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1060
File comments: 187
Uploads: 25
Originally Posted by morpheusxeno
I would like to know how I can modify your addon to lower the target to be on the persons head.
To move the crosshairs down relative to the nameplate, you will need to change two lines.

Line 188:
Lua Code:
  1. local x2, y2 = frame2:GetCenter()
Change to this, where "50" is how far down you want it to go
Lua Code:
  1. local x2, y2 = frame2:GetCenter()
  2. y2 = y2 - 50

And line 209:
Lua Code:
  1. local x, y = plate:GetCenter()
Change the same way, just make sure the offset is the same number
Lua Code:
  1. local x, y = plate:GetCenter()
  2. y = y - 50

I can't check in-game right now but I think that should do it. You may need to adjust the offset to get it to look right.
Report comment to moderator  
Reply With Quote
Unread 07-18-14, 06:51 PM  
morpheusxeno
A Flamescale Wyrmkin
 
morpheusxeno's Avatar
AddOn Author - Click to view AddOns

Forum posts: 126
File comments: 8
Uploads: 1
Great addon, I use it alot now very nice for finding out where I should use chain heal and healing rain.

I would like to know how I can modify your addon to lower the target to be on the persons head.
__________________
My mother-in-law fell down a wishing well. I was amazed; I never knew they worked...
Report comment to moderator  
Reply With Quote
Unread 06-12-14, 11:27 PM  
MiRai
A Warpwood Thunder Caller

Forum posts: 96
File comments: 104
Uploads: 0
Released into the wild!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: