This script will make your character automatically try to stop when you aren't pressing any of the movement keys. The idea is that this could help people who find SRB2's controls too slippery.
It basically works by acting like you are pressing the keys to move in the opposite direction that you are currently moving. This script doesn't (or at least shouldn't) do anything that a skilled player can't already do on their own.
The script also automatically disables while springing or spinning, so that diagonal springs can still send you to the correct destination, and so that spindashes don't immediately begin slowing down after doing them.
You can use the AUTOBRAKE console variable to adjust the brake's sensitivity. By default, it is set to the maximum (100). Setting it to 0 completely disables it.
Special thanks to RedEnchilada for helping me understand SRB2's movement code.
It basically works by acting like you are pressing the keys to move in the opposite direction that you are currently moving. This script doesn't (or at least shouldn't) do anything that a skilled player can't already do on their own.
The script also automatically disables while springing or spinning, so that diagonal springs can still send you to the correct destination, and so that spindashes don't immediately begin slowing down after doing them.
You can use the AUTOBRAKE console variable to adjust the brake's sensitivity. By default, it is set to the maximum (100). Setting it to 0 completely disables it.
Special thanks to RedEnchilada for helping me understand SRB2's movement code.
Attachments
Last edited: