#LethalRebinding
1 messages · Page 1 of 1 (latest)
LethalRebinding
https://github.com/legoandmars/LethalRebinding
https://thunderstore.io/c/lethal-company/p/Bobbie/LethalRebinding/
this mod contains a patch from mousebind, which is licensed under Apache 2.0: https://github.com/zatrit/mousebind/blob/main/LICENSE
not going to post this on thunderstore until tomorrow - if anybody has the chance, I'd love for a couple people to test
mostly looking for feedback on:
- are there any missing rebindable controls for you? (WASD excluded, i'll fix that later)
- are there any controls shown that don't actually do anything ingame?
- when playing with this, does your input break at any point?
Because some of the tooltips are hardcoded, you could catch them, and change them to whatever the binding is. So if you catch [E] you know to change that to [Interact.Key] or whatever
Soo, I use gitlab not github. Do I fork and then pull request? or what
Hey, I made a pull request with the changes needed:
https://github.com/legoandmars/LethalRebinding/pull/1
Fixing tooltips is HUGE
oh thanks a bunch
🫡 It looks speciifally for the hardcoded [E] and reads the PlayerActions to replace it.The method could be expanded to work on other tooltips from here on
yeah im honestly a bit scared of how many hardcoded button prompts there might be
should be able to take it out one at a time though
Thats why I did a replace instead of a redefinition; didnt want to lose the context. So it works with grab, light switches, ship launch, etc. SO I think similar fixes wont be too hard
this version should have:
- slightly modified version of @heavy python's interact prompt tooltip fix
- tooltip fix for some prompts in the top right
known issues:
- terminal exiting seems to also pause, not sure why
inTerminalMenuisn't getting set
Does this allow you to change the scrolling for the hotbar? I'd like to reverse it
This mod does not allow that but you can use https://thunderstore.io/c/lethal-company/p/FlipMods/HotbarPlus/ to do it
any way to make this sole feature client side?
i was thinking about adding some hotbar control options but i don't really want to overlap with HotbarPlus
the only problem i have is that hotbar + also gives you 1 extra slot
i want the binds without the slots
@tawny furnace do you know if you have plans to make the extra slots optional?
i could always add some hotbar binding stuff to my input rebinding mod, but i don't wanna overlap with you too much
The configs have the option to set the amount of extra slots 🙂
So it could be set to 0
do you know if it works fine clientside when set to 0
I guess what do you mean by fine? If set to 0, you should just have the default 4 hotbar slots. It should work just like vanilla
My config also allows you to choose if you want to use my keybindings for hotbar slots as well, so if you have 4 slots, or even 6 slots with my mod, you can still make the number keys not do anything with my mod
i haven't looked too hard into how the hotbar works, wasn't sure if everybody on a server needed hotbar plus for proper sync
the readme says "Sync swapping hotbar slots with all clients. This will work with any inventory size.", but i'm not sure if that means "all clients irregardless" or "all hotbarplus clients"
Ah, I guess it would be more specifically all clients using hotbarplus. There could be alternatives to making it sync with other clients not using the mod if I get fancy with the functions already existing in code, but those, by default only allow sending information to other clients about when you switch to the next, or previous hotbar slot, but it can be done
I could look into that and see if it feels weird doing it the weird way, but could be worth it
Yeah it might be a little weird in code, but I think it would probably would be worth it just so you don't have to force everybody else on server to download it
If you end up putting it on GitHub with a license I could try my hand at adding in-game settings UI too
#dev-general message
Ah, I might do that sometime later. I'd have to get back with you when I'm free later
I'm about to edit my description so it's more apparent that the syncing only refers to which hotbar slot is currently selected so each player will see each player holding the same item. The syncing does not sync the number of hotbar slots (though that is something I want to do eventually, but I believe every client would need the mod)
Was your concern mainly about the keybindings for swapping hotbar slots, or the number of them?
@austere estuary
for my purposes i'm not really concerned about the number of items
i just wanted to know whether or not something exists right now to invert scrolling/add number keybinds for swapping
that syncs fine without requiring everybody to have the mod
Yeah, I'd have to double check, but I believe that I invert the scrolling on the client, and then the new hotbar swap direction gets sent as it normally would to the other clients, so that part, I don't think everyone would need the mod.
Pretty sure that's how I did it, but yeah, I'll double check later
heads up the dev said on twitter this feature will be officaly supported by next week™️
welp
hopefully my code that disables the UI changes when there's more than one keybind component works
definitely assumed it would be added sooner rather than later, most of the UI/serialization is already set up for it
Working on another fork to be able to change QEItemInteract binding. It's hard cuz it's a composite No longer needed in v. 45
Key rebinding has become base game as of V45
I don't think this mod has become obsolete, but just saying this incase anyone comes here wondering why it's not working in V45
base game doesnt update tooltips, nor does 'interact' rebinding work on doors or ship take off
YOOO, this mod FIXES the tooltip issue, as well as the doors being on the wrong interact key. Ill probably fork it soon to fix more tooltips
i'll do an analysis when i have some time
either this mod will be deprecated, or i'll transition it to fixing up basegame rebinding a bit
Hey again! I have another pull request to fix controlTips and update the mod for v45 (remove old binding window).
https://github.com/legoandmars/LethalRebinding/pull/6
appreciate it, i'll take a look at the inbound PRs whenever i have some time today
as for itemslots, the mod "ItemQuickSwitch" by vasanex doesnt conflict with this one. It uses a config file instead of an ingame binding menu, but imo is good enough.
yeah i used this for awhile
but with the existence of the new menu
it would be nice if it could be added
i could try to make IQS compatible with the new keybind menu but it may take a couple of days