-
Notifications
You must be signed in to change notification settings - Fork 5
Home
🐛 Resetting the cursor to the center of the screen when disabling Mouse Look isn't possible at this moment due to a bug on Blizzard's end introduced in patch 10.2. Until they fix it, that feature will remain disabled to avoid the intense motion sickness it causes. Here's a more in-depth explanation of what's going on:
Somewhere during patch 10.2, Blizzard broke something with the interaction between
CursorFreelookCenteringandCursorStickyCentering- the CVars that move the cursor to the center of the screen after locking and keep it there when unlocking - which is causing the camera to jolt the equivalent vector to the centred cursor position from where your cursor was before locking in. The issue makes it impossible to release the cursor at the position of the crosshair as it causes intense motion sickness due to the erratic camera behaviour.
Install the addon again, load into the game and run the following command in chat:
/undocmThis command will, in order of execution:1. Revert all changes made by Combat Mode 2. Disable the addon 3. Reload your UI to save the changesAfter the UI reload is finished, you can safely delete the addon.
![]()
I'm having some trouble w/ interrupts. How do you prioritize specific mobs in a big pull when they're stacked?
Unfortunately, that is a limitation of how the
Soft-targetingtech from Blizzard that powers Combat Mode's Reticle Targeting functionality works.The default
Tab-targetinghas some built-in logic to be "smart" and will prioritize casting units within the targeting arc when you press tab.Soft-targetingon the other hand does not have that same built-in logic, and instead will always target the center-most unit within the targeting arc - this will be the unit under your crosshair if utilizing Reticle Targeting - that is closest to the player. But if units are so tightly packed together that there's multiple fitting that criteria, which is often the case in large pulls, thenSoft-targetingshows its weakness.You can alleviate some of that by utilizing the
CM_PrioritizeTargetmacro template Combat Mode adds to your macro list for your Interrupts. That macro will cast the spell at a manually selected target if it exists, otherwise at your mouseover target (even if Always Prioritize Target Under Reticle is enabled under CM's Reticle Targeting options). It should allow you to have more control when it comes to interrupts but it will still require you to manually select the priority unit, as when mobs are stacked on top of each other, there is no beating the precision of clicking on nameplates in that situation.![]()
Note: you can find the template macros under
Esc > Macros.This template is meant for interrupts, where you'll be either selecting a priority target before pulling or manually selecting one mid-pull and don't want Reticle Targeting to override it. Any spell macro'd like this will ignore the Always Prioritize Target Under Reticle option and be cast at your manually selected target:
#showtooltip Pummel /cleartarget [help][noharm][dead] /cast [@target,harm,nodead][@mouseover,harm,nodead] PummelContrary to the
CM_PrioritizeTargettemplate, this one will preserve the behavior of Always Prioritize Target Under Reticle but allow you to add more to the button press like another spell cast or trinket:#showtooltip Fiery Brand /cleartarget [help][noharm][dead] /cast [@mouseover,harm,nodead][@target,harm,nodead] Fiery Brand /use 13 /use 14This template will behave similarly to the
CM_PrioritizeCursorexample above, except while you have theShiftmodifier pressed it will allow you to cast a different spell (Shield Charge instead of Charge, in this case).#showtooltip [mod:shift] Shield Charge; Charge /cleartarget [help][noharm][dead] /cast [mod:shift,@mouseover,harm,nodead][mod:shift,@target,harm,nodead] Shield Charge; [@mouseover,harm,nodead][@target,harm,nodead] Charge /cast Avatar /cast Blood FuryThis template allows you to automatically cast Area of Effect (green circle) spells like Heroic Leap at the crosshair location, skipping the AoE placement completely, unless you have
Shiftpressed while using the macro, in which case it will allow you to manually place the spell.#showtooltip Heroic Leap /cleartarget [help][noharm][dead] /cast [mod:shift] Heroic Leap; [@cursor] Heroic Leap
Due to differences in how Combat Mode and ConsolePort interact with the game and its APIs, I can't feasibly make them compatible. BUT what I can do is make a standalone plugin designed specifically for ConsolePort users that provides some of the functionality from Combat Mode, like the dynamic crosshair. So here it is:
ConsolePort Combat Mode Crosshair
Note: It requires ConsolePort to work. And don't use it in conjunction with Combat Mode.
You can start by cloning Combat Mode's repo from GitHub. I made sure the code is well structured with relevant comments to help out anyone wanting to modify the addon. It's already setup with proper linting rules for WoW's version of Lua and Ketho's WoW API extension, which should power your VSCode's intelliSense with autocompletion and links to Warcraft Wiki.
🧑💻 And here are a few links that should be enough documentation to get you started:
Lua - Getting Started Create a WoW AddOn in 15 Minutes Ace3 AddOn Framework WoW API CVars API Search Atlas Info Interface ripped code
Note: if you worked on an interesting feature and believe other users would benefit from it, feel free to open a Pull Request to our repo on GitHub and I'd be more than happy to bake it into the official version of Combat Mode.