Jump to content

Recommended Posts

Posted (edited)

A simple client side mod that allows to switch on a toggle for the mouse buttons. Gone are the days with hurt fingers because you had to hold the mouse button to get rid of the whole forest.

Also since version 3 there is a toggle for sprinting 🥳 (thx @Tyron for the necessary changes to the input handling)

 

Put it into your Mod folder and press the "Toggly Toggle Mouse" (defaults to tilde) or "Toggly Toggle Sprint" (defaults to capslock) hotkey ingame.

 

 

For more information and source code: https://github.com/p3t3rix/VsToggly

1.0: initial release

1.0.1: working on multiplayer clientside now

2.0: use foundation mod to ensure compatibility

2.1: embed the library because library mods currently do not work independent where deployed.

3.0: added toggle key for sprinting.

 

Downloads:

For VS-1.12:

Toggly-2.1.0.zip

For VS-1.13.1:

Toggly-3.0.zip

Edited by P3t3rix
  • Like 3
  • Amazing! 1
  • Thanks 3
Posted

The config should be stored in your Vintage Story data directory (e.g. AppData->Roaming->VintageStoryData->ModConfig).

What do you mean with does not work on servers? Does it throw an exception ?

Posted (edited)
21 minutes ago, P3t3rix said:

What do you mean with does not work on servers? Does it throw an exception ?

The key simply does not function at all, as if the mod wasn't installed.

EDIT: The server is running a slightly outdated version, but that shouldn't really impact the performance of a client mod, right?

Edited by Omega Haxors
Posted (edited)

I'm running 1.12.14 of the game and 1.0.0 of the release. Singleplayer works fine.

The server is running 1.12.13 of the game. Mod does not function.

EDIT: Version doesn't seem to matter, does not function on 1.12.14 servers either.

Edited by Omega Haxors
Posted

The mod is not marked as a clientside-only mod, so it will be disabled if a server doesn't have the mod. Add this to the modinfo.json:

"side": "client",

 

  • Thanks 1
  • 2 months later...
  • 1 year later...
Posted
On 11/29/2020 at 4:43 PM, Gregory Cole said:

I like the function, but I would like to remap the hotkey. Is there a way to do that?

 

Yeah, it should be listed in the normal keybindings (default tilde). Also if you want to change the abort keys (default: escape) you should be able to do so via the AbortKeycodes Config option (ModConfig/TogglyConfig.json).

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.