Go Back   Warhammer Forums > Gameplay Forums > UI Discussion

Reply
 
Thread Tools Display Modes
Old 01-19-2009, 03:04 PM   #1
mattymn
WAR Recruit
 
 
Join Date: Nov 2008
Career: A Warrior Priest
Server: Dark Crag
Guild: Trauma
Range Mod

I have searched this forum so please dont flame for not searching. I am looking to see if there is a mod to show range to target. Many of the skills in Warhammer require ranges and well it would be nice to see if you could see the range of the mob/player you are trying to heal/attack.
mattymn is offline   Reply With Quote
Old 01-19-2009, 03:15 PM   #2
Aiiane
Alliance Champion
 
Aiiane's Avatar
 
Join Date: Aug 2008
Career: Undecided
Not possible, no.
__________________
#waruidev @ irc.freenode.net | WAR Addon FAQ | WAR API Reference (on TheWarWiki) | WAR Addons @ Curse.com
Aiiane is offline   Reply With Quote
Old 01-19-2009, 03:21 PM   #3
mattymn
WAR Recruit
 
 
Join Date: Nov 2008
Career: A Warrior Priest
Server: Dark Crag
Guild: Trauma
you post not possible, no
Why?

There is a warning that we get when a mob is out of range, why not have a way to be able to see how far that mob is?
mattymn is offline   Reply With Quote
Old 01-19-2009, 03:32 PM   #4
computerpunk
WAR Soldier
 
computerpunk's Avatar
I keep posting it and Aiiane ain't bothering to notice. Try this.
computerpunk is offline   Reply With Quote
Old 01-19-2009, 03:55 PM   #5
Aiiane
Alliance Champion
 
Aiiane's Avatar
 
Join Date: Aug 2008
Career: Undecided
Quote:
Originally Posted by computerpunk View Post
I keep posting it and Aiiane ain't bothering to notice. Try this.
I'm fully aware of it, computerpunk. But that's not actually indicating exact range.

If all you want is a repeat of what your action bars already tell you, sure, that will work. Personally, I find it rather pointless since the action bars already give you that info. But it won't give you the info needed to judge, for instance, aura distances or shadow warrior bow range.
__________________
#waruidev @ irc.freenode.net | WAR Addon FAQ | WAR API Reference (on TheWarWiki) | WAR Addons @ Curse.com
Aiiane is offline   Reply With Quote
Old 01-20-2009, 01:16 AM   #6
computerpunk
WAR Soldier
 
computerpunk's Avatar
True, but some for lazy people who don't like looking at the Action Bars it's useful in my opinion.
computerpunk is offline   Reply With Quote
Old 01-20-2009, 03:04 AM   #7
tortall
WAR Soldier
 
 
Join Date: Oct 2008
Career: A Zealot
Server: Red Eye Mountain
Quote:
Originally Posted by mattymn View Post
you post not possible, no
Why?

There is a warning that we get when a mob is out of range, why not have a way to be able to see how far that mob is?
The reason that it's not possible is because all the API provides to addon authors is a function that takes an ability id and returns true/false to indicate if the current target is in range and/or line-of-sight of the spell. There is never an indication of exactly how far away the target might be.

There is an addon or two floating around that will cycle through all your abilities every second or so and give you a guesstimate on how far away the target might be. In practice, such mods aren't at all usefull.
__________________
Tortall's DPS Meter: http://war.curse.com/downloads/war-a...ails/tdps.aspx

Why there's no range finder addons.

Has Kensin ever played without cheating?
tortall is offline   Reply With Quote
Old 01-20-2009, 09:55 AM   #8
mattymn
WAR Recruit
 
 
Join Date: Nov 2008
Career: A Warrior Priest
Server: Dark Crag
Guild: Trauma
Thanks for the explanations in more depth. Hopefully a dev will read this and make a note.
mattymn is offline   Reply With Quote
Old 01-21-2009, 06:48 AM   #9
SIDR
WAR Recruit
 
 
Join Date: Jan 2009
Career: A Squig Herder
Server: Karak Eight Peaks
Line of site

Quote:
Originally Posted by tortall View Post
The reason that it's not possible is because all the API provides to addon authors is a function that takes an ability id and returns true/false to indicate if the current target is in range and/or line-of-sight of the spell. There is never an indication of exactly how far away the target might be.
can you tell what function return (not)line-of-sight variable? is it "GameData.AbilityResult.OUTOFRANGE/NOVISIBLECLIENT"?

i made simple addon what not show exactly distance but show range like 5-65ft, 65-100ft, out-of-range. it not work for all classes, i testing it for SH only.
SIDR is offline   Reply With Quote
Old 01-21-2009, 03:36 PM   #10
tortall
WAR Soldier
 
 
Join Date: Oct 2008
Career: A Zealot
Server: Red Eye Mountain
Quote:
Originally Posted by SIDR View Post
can you tell what function return (not)line-of-sight variable? is it "GameData.AbilityResult.OUTOFRANGE/NOVISIBLECLIENT"?

i made simple addon what not show exactly distance but show range like 5-65ft, 65-100ft, out-of-range. it not work for all classes, i testing it for SH only.
It returns a boolean. True or false.

Here's my code, which should work for any class. It certainly works for the classes I play. http://waruidev.pastey.net/106731
__________________
Tortall's DPS Meter: http://war.curse.com/downloads/war-a...ails/tdps.aspx

Why there's no range finder addons.

Has Kensin ever played without cheating?
tortall is offline   Reply With Quote
Old 01-22-2009, 05:30 AM   #11
SIDR
WAR Recruit
 
 
Join Date: Jan 2009
Career: A Squig Herder
Server: Karak Eight Peaks
Out of range i did too.
Do you know function or event which return variable "Line of sight"?
SIDR is offline   Reply With Quote
Old 01-22-2009, 12:14 PM   #12
Aiiane
Alliance Champion
 
Aiiane's Avatar
 
Join Date: Aug 2008
Career: Undecided
IsTargetValid() returns a single boolean for both. If it's false, the target is either out of range or line of sight, OR both.
__________________
#waruidev @ irc.freenode.net | WAR Addon FAQ | WAR API Reference (on TheWarWiki) | WAR Addons @ Curse.com
Aiiane is offline   Reply With Quote
Old 01-23-2009, 04:05 AM   #13
SIDR
WAR Recruit
 
 
Join Date: Jan 2009
Career: A Squig Herder
Server: Karak Eight Peaks
Thank you.
But many times i see alert "Enemy not in line of sight" or smth similar. well, i'll try to find this alert.
SIDR is offline   Reply With Quote
Old 01-23-2009, 04:21 AM   #14
Aiiane
Alliance Champion
 
Aiiane's Avatar
 
Join Date: Aug 2008
Career: Undecided
Quote:
Originally Posted by SIDR View Post
Thank you.
But many times i see alert "Enemy not in line of sight" or smth similar. well, i'll try to find this alert.
That's generated by the server, but only after you've attempted to cast an ability on the target. There's not a separate variable that holds that state all the time.
__________________
#waruidev @ irc.freenode.net | WAR Addon FAQ | WAR API Reference (on TheWarWiki) | WAR Addons @ Curse.com
Aiiane is offline   Reply With Quote
Old 01-26-2009, 03:38 AM   #15
SIDR
WAR Recruit
 
 
Join Date: Jan 2009
Career: A Squig Herder
Server: Karak Eight Peaks
Thanks for explain.
Well, then I will set message "Out of range" for not-LoS too.
SIDR is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


All times are GMT -7. The time now is 03:37 AM.