Download
(3 Kb)
Download
Updated: 05/25/14 04:48 AM
Pictures
File Info
Compatibility:
Craglorn (1.1)
Updated:05/25/14 04:48 AM
Created:04/07/14 05:08 PM
Monthly downloads:14
Total downloads:3,641
Favorites:11
MD5:
ActiveWeaponIcon
Version: 1.5
by: Iyanga [More]
ActiveWeaponIcon displays the currently active weapon and weapon set.

There are three display modes to choose from, which can be toogled with the slash command:
/awi style

Icon mode displays an icon of the equipped main hand weapon and colors it red or green, depending on the weapon set. So you can distinguish f.e. whether a heal or damage staff is active. The icon can be moved to where it's comfortable.

Number mode displays the plain weapon set number next to the reticle.

Rotate mode just rotates the reticle by 45 degree.


The default is number mode.
V1.5 - API version 04
V1.4 - Fixed drawing issue, where the icon would appear over books
V1.3 - Added rotate mode
V1.2 - Recolored the number to the color of the reticle
V1.1 - Added support for number style display
V1.0 - First version for public release
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Uploader
Date
1.4
3kB
Iyanga
04/30/14 11:15 AM
1.3
3kB
Iyanga
04/17/14 01:39 PM
1.2
3kB
Iyanga
04/10/14 03:45 PM
1.1
3kB
Iyanga
04/09/14 03:45 PM
1.0
2kB
Iyanga
04/09/14 02:05 PM


Post A Reply Comment Options
Unread 05/14/14, 10:45 AM  
Iyanga
AddOn Author - Click to view AddOns

Forum posts: 183
File comments: 48
Uploads: 9
Originally Posted by Rogway
Originally Posted by Iyanga
Replacing color doesn't work that great, because the color already changes when you target an enemy.
I know you said that it doesn't work that great, but could you tell me how you modified it to change the colors for the two weapons? I think it would work perfectly for me with the rotation option.
The reticle color can be changed with this LUA code:
ZO_ReticleContainerReticle:SetColor(red, green, blue, alpha)

with red, green, blue, alpha being values between 0.0 and 1.0

But as I said, the very moment you f.e. hit an enemy, the reticle will flash red and then revert back to the default color.
Report comment to moderator  
Reply With Quote
Unread 05/13/14, 07:10 PM  
Rogway

Forum posts: 0
File comments: 1
Uploads: 0
Originally Posted by Iyanga
Replacing color doesn't work that great, because the color already changes when you target an enemy.
I know you said that it doesn't work that great, but could you tell me how you modified it to change the colors for the two weapons? I think it would work perfectly for me with the rotation option.
Report comment to moderator  
Reply With Quote
Unread 04/30/14, 10:15 PM  
babylon

Forum posts: 14
File comments: 363
Uploads: 0
Originally Posted by Iyanga
Originally Posted by babylon
When I use the graphic option for showing my active weapon, it goes behind the map when I open it and click the map, but won't go behind any books I'm reading. Any chance you could make the active weapon icon go behind the books?

Uploaded version 1.4 which fixes the bug. Have fun.
ty
Report comment to moderator  
Reply With Quote
Unread 04/30/14, 06:33 PM  
karthridge

Forum posts: 2
File comments: 6
Uploads: 0
Rotate Style! Awesome!

Wow, I can't believe you actually made "rotate style" a reality. Thanks a lot!
Report comment to moderator  
Reply With Quote
Unread 04/30/14, 12:10 PM  
Iyanga
AddOn Author - Click to view AddOns

Forum posts: 183
File comments: 48
Uploads: 9
Originally Posted by babylon
When I use the graphic option for showing my active weapon, it goes behind the map when I open it and click the map, but won't go behind any books I'm reading. Any chance you could make the active weapon icon go behind the books?

Uploaded version 1.4 which fixes the bug. Have fun.
Report comment to moderator  
Reply With Quote
Unread 04/30/14, 08:58 AM  
babylon

Forum posts: 14
File comments: 363
Uploads: 0
When I use the graphic option for showing my active weapon, it goes behind the map when I open it and click the map, but won't go behind any books I'm reading. Any chance you could make the active weapon icon go behind the books?
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 05:53 PM  
JadeKnightblazer

Forum posts: 24
File comments: 38
Uploads: 0
Originally Posted by Iyanga
Originally Posted by JadeKnightblazer
Might be an little odd.. but could I request and option to have Weapon #1 to be rotated and weapon #2 to be default looking?

For some reason I dig the rotated crosshair look more then the default XD
How about just switching the weapons in the slots?

You can edit the ActiveWeaponIcon.lua file with a text editor, go to line 119 where is:

Lua Code:
  1. if activeWeaponPair == ACTIVE_WEAPON_PAIR_MAIN then
  2.   rotateValue = 0.0
  3. else
  4.   rotateValue = 0.785398163
  5. end


Just interchange the two numbers and you should be set.
Thank you very much, I would just switch them but I am weird like that XD Perfectionist runs in my blood (on my gaming and work)
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 04:48 PM  
Iyanga
AddOn Author - Click to view AddOns

Forum posts: 183
File comments: 48
Uploads: 9
Originally Posted by JadeKnightblazer
Might be an little odd.. but could I request and option to have Weapon #1 to be rotated and weapon #2 to be default looking?

For some reason I dig the rotated crosshair look more then the default XD
How about just switching the weapons in the slots?

You can edit the ActiveWeaponIcon.lua file with a text editor, go to line 119 where is:

Lua Code:
  1. if activeWeaponPair == ACTIVE_WEAPON_PAIR_MAIN then
  2.   rotateValue = 0.0
  3. else
  4.   rotateValue = 0.785398163
  5. end


Just interchange the two numbers and you should be set.
Last edited by Iyanga : 04/18/14 at 04:54 PM.
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 02:55 PM  
JadeKnightblazer

Forum posts: 24
File comments: 38
Uploads: 0
Might be an little odd.. but could I request and option to have Weapon #1 to be rotated and weapon #2 to be default looking?

For some reason I dig the rotated crosshair look more then the default XD
Report comment to moderator  
Reply With Quote
Unread 04/17/14, 02:53 PM  
JadeKnightblazer

Forum posts: 24
File comments: 38
Uploads: 0
The rotation style works like a charm and is prefect!!! Just what I needed to tell which weapon swap I am on in a snap.

-Thank you very much!!
Report comment to moderator  
Reply With Quote
Unread 04/17/14, 01:55 PM  
Iyanga
AddOn Author - Click to view AddOns

Forum posts: 183
File comments: 48
Uploads: 9
With version 1.3 I've added the rotate style, which rotates the reticle depending on the weapon set.

Replacing color doesn't work that great, because the color already changes when you target an enemy.

Replacing the texture leads to various different problems, which would force me to program all the stuff the normal reticle does, just for showing the active weapon, so this isn't going to happen. But there are addons out there that do this anyway, as their actual purpose is to change the reticle behavior. So you might ask one of them to integrate the weapon set display feature.
Report comment to moderator  
Reply With Quote
Unread 04/15/14, 06:24 PM  
heyguyslol
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 53
Uploads: 1
Originally Posted by JadeKnightblazer
Have a request for yeah

How about this as an idea or feature..

Change the cross heir design based on which weapon set your using..

Weapon set 1:
.....^
..<....>
.....v


Weapon set 2:
......|
...~...~
......|


Just make a few different looking cross heirs that are select-able in options.
Or change the cross hair color for weapon swap would be cool too.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 02:51 PM  
JadeKnightblazer

Forum posts: 24
File comments: 38
Uploads: 0
Have a request for yeah

How about this as an idea or feature..

Change the cross heir design based on which weapon set your using..

Weapon set 1:
.....^
..<....>
.....v


Weapon set 2:
......|
...~...~
......|


Just make a few different looking cross heirs that are select-able in options.
Report comment to moderator  
Reply With Quote
Unread 04/13/14, 03:03 AM  
StealthStalker

Forum posts: 69
File comments: 66
Uploads: 0
Originally Posted by Iyanga
I've updated the addon with version 1.1, you might both like. Now you can instead have a little number next to the reticle. Modifying the texture of the reticle itself, if possible at all, is outside my capabilities right now.
Perfect, thanks.
Report comment to moderator  
Reply With Quote
Unread 04/09/14, 06:23 PM  
karthridge

Forum posts: 2
File comments: 6
Uploads: 0
Thanks, I like it!

Thanks for doing that. I like it, it's very simple but gets the job done.
Last edited by karthridge : 04/09/14 at 06:23 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: