This simple addon shows range to enemy/friendly target depending on stance/form and spells currently available for casting, i.e. for a priest it will show you are in range to cast Smite spell but not absolute range in yards.
Addon includes default configurations for all classes which should be good enough for a start and can be changed via slash commands.
Commands:
/range or /rangeui
/range rect <x> <y> <width> <height> : changes position and size of range indicator (position is relative to center of screen)
/range color <range> <rc> <gc> <bc> <ac> : changes range indicator color for specified range (rc,gc,bc,ac are numbers 0-255, possible values for range are: none, deadzone, close_enemy, middle_enemy, far_enemy, oor_enemy, close_friend, far_friend, oor_friend)
/range desc <stance> <range> <text> : changes range indicator text for specified range/stance (possible values for stance are 0 or correct stance number; when changing text/spell for stance that had no special configuration yet, you must configure other texts/spells as well for this stance)
/range spell <stance> <spell_range> <name> : changes spell used to determine current range for specified range/stance (possible values for spell_range are: close_enemy, dist_enemy, middle_enemy, far_enemy, close_friend, far_friend)
Examples:
/range rect 0 0 100 40 : will place range indicator in the center of the screen
/range color oor_friend 0 0 0 0 : will make range indicator invisible when friendly target is out of range
/range desc 1 close_enemy Pick pocket! : for rogues it will change indicator text to "Pick pocket!" when stealthed in melee range
/range spell 0 close_enemy Mind Flay : for priests it will change spell used to determine target is hostile and in close range to Mind Flay
Range detection:
First, addon tries to determine if target is hostile, friendly or other. If 'close_enemy' or 'close_friend' spell can be used on target, addon assumes it is hostile or friendly target, respectively (you need to make sure these spells don't have any additional restrictions like for example priest's Mind Control). If none of these can be used, addon shows 'none' description and color (for example when target is phase-shifted warlock's imp or some NPC).
For enemy targets spells assigned to 'close_enemy', 'middle_enemy' and 'far_enemy' are then used in this order to determine current range. If 'close_enemy' spell is in range addon shows 'close_enemy' description and color, if not, next spell is checked and so on.
Spell assigned to 'dist_enemy' has special function - it is used to detect deadzone. Spells which have minimal range like warrior's Intercept can be used here. If 'dist_enemy' spell is NOT in range but target is in range of Trade action, addon assumes target is in deadzone and shows 'deadzone' description and color. This check has precedence over 'middle_enemy' and 'far_enemy'.
Installation Guide
- Exit "World of Warcraft" completely
- Download the mod you want to install
- Make a folder on your desktop called "My Mods"
- Save the .zip/.rar files to this folder.
- If, when you try to download the file, it automatically "opens" it... you need to RIGHT click on the link and "save as..." or "Save Target As".
- Extract the file - commonly known as 'unzipping'
Do this ONE FILE AT A TIME!
- Windows
- Windows XP has a built in ZIP extractor. Double click on the file to open it, inside should be the file or folders needed. Copy these outside to the "My Mods" folder.
- WinRAR: Right click the file, select "Extract Here"
- WinZip: You MUST make sure the option to "Use Folder Names" is CHECKED or it will just extract the files and not make the proper folders how the Authors designed
- Mac Users
- StuffitExpander: Double click the archive to extract it to a folder in the current directory.
- Verify your WoW Installation Path
That is where you are running WoW from and THAT is where you need to install your mods.
- Move to the Addon folder
- Open your World of Warcraft folder. (default is C:\Program Files\World of Warcraft\)
- Go into the "Interface" folder.
- Go into the "AddOns" folder.
- In a new window, open the "My Mods" folder.
- The "My Mods" folder should have the "Addonname" folder in it.
- Move the "Addonname" folder into the "AddOns" folder
- Start World of Warcraft
- Make sure AddOns are installed
- Log in
- At the Character Select screen, look in lower left corner for the "addons" button.
- If button is there: make sure all the mods you installed are listed and make sure "load out of date addons" is checked.
- If the button is NOT there: means you did not install the addons properly. Look at the above screenshots. Try repeating the steps or getting someone who knows more about computers than you do to help.
Translations
When you download a mod, please be sure that the mod is compatible with your translation of wow. Some mods only work on the US versions, while some only work on some of the various European versions. These variations are called "Localizations".
TOC Numbers (Out of Date Mods)
When Blizzard patches WoW, they change the Interface number. This means that all mods will be "out of date" unless or until the author releases a new version for that interface. Some people go into the .toc files and update the numbers themselves, but this is STRONGLY advised against as it will cause problems locating possible incompatibilities addons. When you log into WoW after a patch, you DO NOT have to delete your interface directory. All you have to do is simply tell WoW to ignore the interface numbers and load all the mods anyway. All you have to do is, while at the "character select" screen, look in the lower left corner and click on the "addons" button. A window will pop up listing all your installed mods.
If you look in the upper left corner of that window there should be a box that says "Load Out of Date AddOns". You want to CHECK this box. Now simply go into WoW normally and all your mods should load. As of the 1.9 patch, you will have to do this after EVERY patch/update that Blizzard posts! If you encounter any problems with a mod after a patch, please be sure to let the author of the mod know so they can fix it.
See also: About "Out Of Date AddOns"
Mac Support
WoW addons are not platformed based. As such, they can be used on either Mac or PC. You can extract both .zip and .rar files on a Mac using StuffitExpander.
Directory Structure
World of Warcraft
|_ Interface
|_AddOns
|_*AddonName*
|_ *AddonName*.toc
|_ *AddonName*.xml
|_ *AddonName*.lua
|_ (possibly others as well)...