Jump to content

Recommended Posts

Posted

Direction Tapping Mod

 

Description:

This mod alters player input handling in order to allow turning the player without moving by quick tapping the directional input keys.

 

Media:

16f83334fe56f8b40be80ca818d9e5da.gif

 

Git Patch:

Download

 

Based On:

Version: 0.6.1.239

Commit: faedd06

 

Setup:

No extra setup steps required. Just install the patch and run. Try quickly (very quickly) tapping WASD or the arrow keys and your character should turn without moving to a new tile.

 

Notes:

The logic isn't perfect. You gotta tap so fast that you often move to another tile by accident. I didn't want the delay, however, to make movement feel too clunky. There's definitely room for improvement and I invite others to expand on this and create a better implementation!

 

 

Posted

Possibly instead of double pressing a direction hold down a button eg ctrl and then pressing directions turns on the spot.

Could feel smoother.

Posted
2 minutes ago, Hickie said:

Possibly instead of double pressing a direction hold down a button eg ctrl and then pressing directions turns on the spot.

Could feel smoother.

 

Would definitely be a lot better. I don't particularly want to dive into adding additional controls but I welcome others to expand on this patch :). 

Posted

Error when apply

 

Quote

G:\Celtos Online\Intersect-Engine>git apply --check Tap.patch
error: patch failed: Intersect.Client/Entities/Player.cs:831
error: Intersect.Client/Entities/Player.cs: patch does not apply

 

Posted

Compiled here and does not have this function :/

Posted

Working great. I did up the time just a tad to 90ms. Felt too sensitive on my keyboard. Thank you sir!

 

@Celtos Maybe you need to up the time a bit as well?  MoveDirectionTimers = Globals.System.GetTimeMs() + 60 

Posted

I don't even think this function because I couldn't insert it in my code ...
Gives this error when importing

 

Quote

G:\Celtos Online\Intersect-Engine>git apply --check Tap.patch
error: patch failed: Intersect.Client/Entities/Player.cs:831
error: Intersect.Client/Entities/Player.cs: patch does not apply

 

Posted
2 minutes ago, Celtos said:

I don't even think this function because I couldn't insert it in my code ...
Gives this error when importing

 

 

Have you searched the code to see if it is there? Ctrl+f 

Posted

Yes :( Searched MoveDirectionTimers

  • 11 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...