Posted: Mon Aug 20, 2018 9:37 pm Post subject: How to make a button turbo/rapid fire automatically?
Instead of having to rapidly press a button on the controller by hand, I want to just hold it down and have it rapidly "press" that command for me. How can this be done with Cheat Engine? I can't seem to find anything on this when I do a search.
lua (see celua.txt in install dir and/or wiki for documentation):
keyDown(key) : causes the key to go into down state
keyUp(key) :causes the key to go up
doKeyPress(key) : simulates a key press
?
get/
setXBox360ControllerVibration(ControllerID, leftMotor, rightMotor) - Sets the speed of the left and right vibrating motor inside the controller. Range (0 to 65535 where 0 is off)
?
(Not sure there's anything for other controllers...)
afaik you won't be able to use the same key for the trigger and what gets activated since they'd interfere with each other but maybe you can setup something to work regardless using those.
Of course, if you know enough you could just change the game code to only want it held but I've no idea myself how you'd do that _________________
Use what you've learned in step 9 of the Cheat Engine tutorial.
Find the address of the function that shoots and detour it to some newly allocated memory where it gets triggered 10 times (Copy paste the ASM opcodes 10 times then retn)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum