xenonsb / Haxball-Room-Extension

Room search (originally by Raamyy) + AutoJoin + Admin shortcuts
GNU General Public License v3.0
11 stars 7 forks source link

A way to change your extrapolation quickly #19

Closed Wazarr94 closed 4 years ago

Wazarr94 commented 4 years ago

I think players could use 2 keys or 2 buttons (or both) to increase and decrease their extrapolation.

Since lag is an important factor to extrapolation value, having an option to change its value quickly is very useful, especially since the command takes like 2 seconds to type when pressing a button takes 0.1s

xenonsb commented 4 years ago

I'm thinking about this possibility - perhaps not just for extrapolation, but just chat messages/commands in general.

To do increase/decrease of extrapolation will be a bit more difficult as I'd have to keep track of changes that occur outside of the extension context.. perhaps we can map some "default commands"?

kingjasko commented 4 years ago

Something like !0-200 in chat could change extrapolation, I think that'd be the easiest solution where it wouldn't require that much work and it would still be way easier than typing out the whole thing.

xenonsb commented 4 years ago

Yup, in light of all your ideas I've added a chat text-expansion macro for 0.3.4. This allows you to setup shortcuts for these commands:

right now as default I have /e1 as /extrapolation 1 - of course you can redefine extra commands!

To access that menu: go to add-on options and press configure shortcuts, thanks!

Wazarr94 commented 4 years ago

By default, it should be /e -> /extrapolation (with a space at the end) so you just have to type /e80

thanks for the change very cool