Many thanks... Yeah, I've found the whole api a bit annoying thus far. But thanks again for further clarification. If I come up with some clean-ups as I play with your code I'll let you know.
That's why I wrote the targeting code. For my own play, it targets anything I need to interact with. If I really need to mouseover it, I can hold Alt for a couple seconds.
Hey Xuerian been using this addon for a while now. I was wondering if theres a way you can change the reticle to fade in and fade out depending on if there's a target. I remember the addon DeadlockExt had it so that when you hovered over a target the reticle opacity faded in.
Possible? Sure.
I have no active subscription, though, so even if I wanted to do it, it'd be impractical to do it without being able to test it, and I generally only worry about breaking issues when I'm not playing.
Hey Xuerian... I'm not sure if this has been answered before... I've been looking through the code to try and modify the "hover info" location to match that of the reticule. I see some comments towards the top to quote: "-- Lockdown contains a significant amount of code providing a expanded targeting system around a user-positioned reticle, since we cannot reposition the mouseover location."
It is quite annoying to have to pull the camera to a dangerously low point in order to view creature information (to clarify the pop up that shows level and xp values) Any suggestions? Though none needed if I'm going to have to rip my hair out for days writing this possibility.
You can't. You literally can't. Period. That's what that means "Since we cannot reposition the mouseover location".
It IS really annoying, but it's been ignored by Carbine as far as I can tell, beyond Monzuel saying he'll mention it.
Hey, so when I first started playing Wildstar one of my guild mates helped me with a script so I could use Lockdown. Well I used lockdown with AHK. Unfortunately I quit playing Wildstar, and I have been doing upgrades on my computer. A lot of things are gone, I am not familiar with AHK script writing at all. I was wondering if someone could help me so I can run Lockdown again on Wildstar. I love how the game felt once I started using it.
Thank you
There is a thorough step-by-step guide in the addon description. If you have any trouble following it, please let me know.
Edit: Please also check the troubleshooting list at the bottom, it provides solutions to most common issues.
Can someone explain why, from time to time, a friendly party member is targeted if my current enemy target dies and there are no more hostile targets? Also why does a new target get automatically selected in first place?
Well, there's not really a lot of someones here. Mostly just me.
The dead unit is untargeted because it's a unit Lockdown is tracking as a potential target, and was the subject of a UnitDestroyed event. This is mostly intended behavior, as I found no use for continuing to target a dead mob in combat mode. Counterproductive actually. This also explains why a new target is selected in the first place.
As far as why it will target a friendly? What are your targeting settings in Lockdown?
Sorry for the late answer.
My targeting setting are only "hostile" checkbox selected. No reticule targeting.
I'd love to simply have no target at all. Having a friendly unit automatically selected is simply confusing.
Also whenever I manually select a target, it keeps on changin the selected target ass soon as I lock the mouse cursor again (usually selecting a friendly unit).
My only solution is getting close enough to the mob and tab targeting it without unlock the mouse cursor.
If "Reticle targeting" is unchecked, Lockdown will not target anything at all, period. If something is getting targeted, it isn't lockdown doing it.
As of your post, Lockdown would clear newly dead targets, even if it didn't set them. I'm pushing an update that will stop even that from happening.
If it doesn't resolve your remaining issues I don't know what to tell you.
Good to know, I would be down for a packaged exe (I like living on the edge, I guess) but AHK will work for now I guess.
The packaged EXE would just be the AHK script and an interpreter, like the one you already download. It's not likely that I'll do that, as I'd rather not distribute binaries.
That is the reason the AHK script exists, I don't include it just for fun.
It is, as far as I can tell, the best option until Carbine adds functionality (The ability to tie a set of keybinds to mouselock state, or bind keys separately for mouselock)
You'll notice that KeybindFreedom and YACM can't do anything to fix keys breaking in/out of combat.
The reason I include the AHK script instead of a packaged EXE is so you can see exactly what you're running.
This is one of two things I've had to work around because I'm lacking support from the game; I also handle targeting entirely separately from wildstar's native UI. Lockdown could easily use native mouseover for targeting, except we can't move the location it locks to..
Edit: Glad to see that you like it, though. I'll have to grind some plat in the next few days so I can keep my account active and fix bugs.
Can someone explain why, from time to time, a friendly party member is targeted if my current enemy target dies and there are no more hostile targets? Also why does a new target get automatically selected in first place?
Well, there's not really a lot of someones here. Mostly just me.
The dead unit is untargeted because it's a unit Lockdown is tracking as a potential target, and was the subject of a UnitDestroyed event. This is mostly intended behavior, as I found no use for continuing to target a dead mob in combat mode. Counterproductive actually. This also explains why a new target is selected in the first place.
As far as why it will target a friendly? What are your targeting settings in Lockdown?
It is a boss fight where some bosses are "out" attacking your group, and some bosses are suspended and not-targetable. When the bosses change who is "out", it breaks the targeting. Something about the room I think... because to target the first boss(Commander) you have to manually click on him.
I'm not sure how to fix this. I can suggest that panning your camera so they're offscreen temporarily should fix it (Units are re-evaluated when they come onscreen), but that's just a workaround.
This is a very minor issue I just thought I would let you know about. The targeting breaks during Prototypes, but then works fine after. It has done this for a long time.
Also, I am unable to target the robots/satellite-dishes in Northern Wastes that you are supposed to freeze for the daily. You have to disengage Lockdown and manually click on them to target.
Keep up the awesome work!
Breaks how?
Also some interaction targets aren't targeted, yeah. I had that issue on the story npc escort in Farside. It's mostly an issue of me catching edge combinations of activation and reward states. I try to fix them when I find them, I haven't capped yet.
Went to troubleshooter. Ran script as admin. Profit.
That's a weird bug. Any idea why it does that?
I don't know exactly what causes the problems, it could be Wildstar being run as admin at first guess. (A non-admin process has great problems interacting with an admin one, for obvious reasons, even just to get the cursor state), or other permissions-related issues.
I've been using Lockdown with no problems and it works great for me. I'm trying to get it to work for my wife too. I did everything the same as I did for me using your guide on curse.com to set it up. The problem is her RMB LMB won't rebind. Camera lock is working fine and the reticle appears but the rebind isn't working. The only thing I could find different from my setup and hers is that for some reason she can still run forward while pressing RMB/LMB at the same time. Any thoughts?
Pontius
The AHK script is either not set up properly or not working. Follow the troubleshooting for it on the addon page.
Ok sorry for my incompetence but is there a dummy guide to get this game to play like tera? I installed lockdown and its running fine but I'm lost when it comes to how to make my LMB and RMB use skills in combat. I've downloaded and installed AHK like the curse website says but how do I use it? step 2 says
Run Addons\Lockdown\MouselockRebind.ahk(This has changed!)
where is this addons folder?
I would also like to set my mouse button 4 (which is one of the two near my thumb) to activate/deactivate cursor mode.
Any help for this newby would be great thanks
If you installed with the Curse client, you right click on Lockdown in the list, and find the option to open the folder for the addon. It is actually located in %appdata%\ncsoft\wildstar\addons IIRC
Once you do that you're basically there as far as being ready to use. You seem like you're already following the documentation which is good.
Also: There is no support for directly binding to Mouse4/5 unfortunately, due to how I handle keypresses. If your mouse software can remap it, you can map it to a key and use that key.
If that fails, I might be able to do something for you with the AHK (That's kind of what it is good at)
Thanks for replying. The only way I can get around this is to remap the key in my setpoint software. The button is normally used for my browser back button though. Is there some way to map the ` key to the backspace button so that the mouse 4 button will do he same thing?
Hope that makes sense.
You can always pick a different key for actions inside lockdown. It just doesn't detect mouse clicks or modifiers (alt, ctrl, shift, though these can be selected separately) - A key like F7 or F8 should work.
Ok ignore my last post, I figured the mouselockbind.ahk loading part out but I would still live to set my mouse button 4 (which is one of the two near my thumb) to activate/deactivate cursor mode.
Any help for this newby would be great thanks
and btw this mod is so amazing great job!
I will be able to look at it in a few days. I'd suggest you get used to holding alt to use the cursor for the short times you need to, it is actually convenient and interferes with very little. Hard to get used to, though.
0
That's why I wrote the targeting code. For my own play, it targets anything I need to interact with. If I really need to mouseover it, I can hold Alt for a couple seconds.
It's not optimal, but it's better than nothing.
And feel free to fork or open PRs on github.
0
Possible? Sure.
I have no active subscription, though, so even if I wanted to do it, it'd be impractical to do it without being able to test it, and I generally only worry about breaking issues when I'm not playing.
0
You can't. You literally can't. Period. That's what that means "Since we cannot reposition the mouseover location".
It IS really annoying, but it's been ignored by Carbine as far as I can tell, beyond Monzuel saying he'll mention it.
See: https://forums.wildstar-online.com/forums/index.php?/topic/61277-api-issues-still-a-problem-gamelibsetmouselock-and-needed-api-calls/
0
There is a thorough step-by-step guide in the addon description. If you have any trouble following it, please let me know.
Edit: Please also check the troubleshooting list at the bottom, it provides solutions to most common issues.
0
If "Reticle targeting" is unchecked, Lockdown will not target anything at all, period. If something is getting targeted, it isn't lockdown doing it.
As of your post, Lockdown would clear newly dead targets, even if it didn't set them. I'm pushing an update that will stop even that from happening.
If it doesn't resolve your remaining issues I don't know what to tell you.
0
The packaged EXE would just be the AHK script and an interpreter, like the one you already download. It's not likely that I'll do that, as I'd rather not distribute binaries.
0
That is the reason the AHK script exists, I don't include it just for fun.
It is, as far as I can tell, the best option until Carbine adds functionality (The ability to tie a set of keybinds to mouselock state, or bind keys separately for mouselock)
You'll notice that KeybindFreedom and YACM can't do anything to fix keys breaking in/out of combat.
The reason I include the AHK script instead of a packaged EXE is so you can see exactly what you're running.
This is one of two things I've had to work around because I'm lacking support from the game; I also handle targeting entirely separately from wildstar's native UI. Lockdown could easily use native mouseover for targeting, except we can't move the location it locks to..
Edit: Glad to see that you like it, though. I'll have to grind some plat in the next few days so I can keep my account active and fix bugs.
0
Well, there's not really a lot of someones here. Mostly just me.
The dead unit is untargeted because it's a unit Lockdown is tracking as a potential target, and was the subject of a UnitDestroyed event. This is mostly intended behavior, as I found no use for continuing to target a dead mob in combat mode. Counterproductive actually. This also explains why a new target is selected in the first place.
As far as why it will target a friendly? What are your targeting settings in Lockdown?
0
I'm not sure how to fix this. I can suggest that panning your camera so they're offscreen temporarily should fix it (Units are re-evaluated when they come onscreen), but that's just a workaround.
0
I can't reproduce that, but that functionality does require the AHK script to work.
0
Breaks how?
Also some interaction targets aren't targeted, yeah. I had that issue on the story npc escort in Farside. It's mostly an issue of me catching edge combinations of activation and reward states. I try to fix them when I find them, I haven't capped yet.
0
I don't know exactly what causes the problems, it could be Wildstar being run as admin at first guess. (A non-admin process has great problems interacting with an admin one, for obvious reasons, even just to get the cursor state), or other permissions-related issues.
Let me know if you have any other issues.
0
The AHK script is either not set up properly or not working. Follow the troubleshooting for it on the addon page.
0
You can always pick a different key for actions inside lockdown. It just doesn't detect mouse clicks or modifiers (alt, ctrl, shift, though these can be selected separately) - A key like F7 or F8 should work.
0
I will be able to look at it in a few days. I'd suggest you get used to holding alt to use the cursor for the short times you need to, it is actually convenient and interferes with very little. Hard to get used to, though.