P3t3rix Posted April 15, 2020 Report Share Posted April 15, 2020 (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 September 3, 2020 by P3t3rix 3 1 2 Link to comment Share on other sites More sharing options...
Omega Haxors Posted April 17, 2020 Report Share Posted April 17, 2020 Despite being a client-sided mod, it doesn't seem to work on servers. Also, how do you access the config, is it just an in game command? Link to comment Share on other sites More sharing options...
P3t3rix Posted April 17, 2020 Author Report Share Posted April 17, 2020 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 ? Link to comment Share on other sites More sharing options...
Omega Haxors Posted April 17, 2020 Report Share Posted April 17, 2020 (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 April 17, 2020 by Omega Haxors Link to comment Share on other sites More sharing options...
P3t3rix Posted April 17, 2020 Author Report Share Posted April 17, 2020 You shouldn't need the mod on the server at all. Could you try if the current version of VS works for you ? I just tested it on 1.12.14. Link to comment Share on other sites More sharing options...
Omega Haxors Posted April 17, 2020 Report Share Posted April 17, 2020 (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 April 17, 2020 by Omega Haxors Link to comment Share on other sites More sharing options...
P3t3rix Posted April 17, 2020 Author Report Share Posted April 17, 2020 Ok, i will try to reproduce it. Thanks for reporting Link to comment Share on other sites More sharing options...
copygirl Posted April 17, 2020 Report Share Posted April 17, 2020 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", Â 1 Link to comment Share on other sites More sharing options...
P3t3rix Posted April 17, 2020 Author Report Share Posted April 17, 2020 Yeah figured this out by looking at VSHud. Should be fixed now. 1 Link to comment Share on other sites More sharing options...
P3t3rix Posted April 24, 2020 Author Report Share Posted April 24, 2020 Because currently library mods do not work independent where deployed. I decided to embed the dependencies to make the mod standalone again. Link to comment Share on other sites More sharing options...
Gregory Cole Posted November 29, 2020 Report Share Posted November 29, 2020 I like the function, but I would like to remap the hotkey. Is there a way to do that? Â Link to comment Share on other sites More sharing options...
P3t3rix Posted December 27, 2021 Author Report Share Posted December 27, 2021 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). Link to comment Share on other sites More sharing options...
Recommended Posts