Guest Posted July 24, 2020 Share Posted July 24, 2020 Guys, I would like to remove the left mouse click as a standard attack, leaving only E, can someone tell me where I can search for the reference? Link to comment Share on other sites More sharing options...
1 Shenmue Posted July 24, 2020 Share Posted July 24, 2020 4 hours ago, Celtos said: Guys, I would like to remove the left mouse click as a standard attack, leaving only E, can someone tell me where I can search for the reference? Â If you want to change the default value of the control you have to go in "Intersect.Client.Core.Controls.Controls" and change the "Keys.LButton" to "Keys.None" for the "Control.AttackInteract" in the "ResetDefaults" method. Â If you don't want the player to be able to put back a mouse button, you will have to add a check somewhere in the code. Link to comment Share on other sites More sharing options...
0 Guest Posted July 25, 2020 Share Posted July 25, 2020 Is that there are some players who use mouse1 to use Skill, or healing or attack, I also do not understand why, I tried to change the settings of the game, but when I define for example, number 1 of the shortcut bar, for mouse1 , it attacks like E, and the defined shortcut does not work Link to comment Share on other sites More sharing options...
0 Shenmue Posted July 25, 2020 Share Posted July 25, 2020 1 hour ago, Celtos said: Is that there are some players who use mouse1 to use Skill, or healing or attack, I also do not understand why, I tried to change the settings of the game, but when I define for example, number 1 of the shortcut bar, for mouse1 , it attacks like E, and the defined shortcut does not work  You mean you have two controls with the same value? I guess it's not supposed to work like that Link to comment Share on other sites More sharing options...
0 Guest Posted July 25, 2020 Share Posted July 25, 2020 try to put the attack in the two options for E, and let mouse1 free, try to link mouse1 to number 1 on the shortcut bar, try to use the skill using mouse1, here it doesn't work Link to comment Share on other sites More sharing options...
0 Shenmue Posted July 26, 2020 Share Posted July 26, 2020 4 hours ago, Celtos said: try to put the attack in the two options for E, and let mouse1 free, try to link mouse1 to number 1 on the shortcut bar, try to use the skill using mouse1, here it doesn't work  Right indeed. Well I don't know how to solve this, but you may want to look at Intersect."Client.Core.Input" and the OnMouseDown method near line 250. Doing some research about breakpoints in Visual Studio will certainly help. Link to comment Share on other sites More sharing options...
Question
Guest
Guys, I would like to remove the left mouse click as a standard attack, leaving only E, can someone tell me where I can search for the reference?
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now