Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a hotkey for quickly switching to a different character #3

Open
bignavigator opened this issue Aug 27, 2023 · 3 comments
Open

Comments

@bignavigator
Copy link

bignavigator commented Aug 27, 2023

Greetings! Even though we all love Taz, I once wanted to try playing as characters other than Taz via Debug Menu. I've been playing and practicing other strategies as Tycoon Sam, Sylvester, Daffy Duck, Tweety, even the Catcher (who has a special ability btw: he can catch himself, teleporting the player to the closest cage point). The point of these challenges is completing the levels with as few Taz turns as possible, meaning that you would have to just casually running most of the game instead of spinning (as spinning as whatever playable character you've selected via Debug Menu automatically turns them into Taz).

Of course, it's not really possible to complete the whole game without Taz's help (e.g. when you encounter signs that can only be destroyed by spinning). And during such moments, players have to switch back to another playable character via Debug Menu, often pausing the game (sadly, three times in a row for signs that require three spins to be destroyed). This is where such a hotkey could be useful.

Hope you don't mind to add it!

@MuxaJlbl4
Copy link
Owner

Hello)
It's much easier to implement this with external input macros
For example: AHK, AutoIt or JitBit Macro Recorder
Just record any input sequence and bind it to any button

@bignavigator
Copy link
Author

bignavigator commented Aug 28, 2023

#Requires AutoHotkey v2.0

~^g::
{
	SetKeyDelay 100
	Send "{F5}{Left 2}{Down 12}{Enter}"
}
return

I tried this one on AHK. The following sequence should switch Taz to Tycoon Sam. It launches in-game via Ctrl+g (lowercase one). However, a simple press only launches the Debug Menu (F5). Holding Ctrl+g helps, but the sequence repeats itself before reaching Tycoon Sam in the menu, making the game crash by entering the Cheats section (as if the Left button happened to be pressed for the 3rd time). Do you know how to avoid the unwanted repeats?

@MuxaJlbl4
Copy link
Owner

I think something wrong with delays
This works for me:

#Requires AutoHotkey v2.0
~^g::
{
	Send "{F5 down}"
	Sleep 50
	Send "{F5 up}"
	Sleep 50
	Loop 2
	{
		Send "{Left down}"
		Sleep 50
		Send "{Left up}"
		Sleep 50
	}
	Loop 13
	{
		Send "{Down down}"
		Sleep 50
		Send "{Down up}"
		Sleep 50
	}
	Send "{Enter down}"
	Sleep 50
	Send "{Enter up}"
	
}
return

Launch with admin mode
Also for low FPS (below ~30) you need increase sleep (and can decrease sleep for high FPS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants