Arsenal26 Posted November 7, 2019 Share Posted November 7, 2019 (edited) [UPDATE] This mod now fixes Auto-Walking to EVERYTHING ELSE.... and still adjusts Inventory Column category Width.... [UPDATE] Uploaded a separate column width mod just in case, to ensure everyone can play how they want... [41.20] VANILLA FIX IS IN Im sure there is a good reason for the way looting and interacting with containers is the way it is for animation purposes. But I just prefer that container windows not switch automatically away from the one you are transferring items to/from, and that the character not try to automatically walk closer to containers which are already in range to where you can see the contents. I guess depending on what the majority of players want, this may or may not be adjusted in due time as there are other things higher on the priority que, and understandably so with an update this big. In the mean time... here is a temporary fix for anyone who also prefers not to have inventory windows automatically switch away from the one you are trying to transfer items to and from while looting or managing your inventory. AUTO-WALKING fix - To prevent your character from auto-walking to containers that are within range and contents already visible... Change the value from 2 to 3 in line #135 of "...media/lua/shared/luautils.lua" so it reads : if container:getParent() and container:getParent():getSquare():DistTo(playerObj:getCurrentSquare()) < 3 then **** NOTE : 2.5 seemed to work well also.... but I'm using 3 just to be sure. This does not seem to affect the range at which contents become visible... I think... CONTAINER SWITCHING fix - To prevent your character from auto-selecting the wrong container and switching away from the one you are transferring to/from... Comment out lines #67, 68, 69 of "...media/lua/client/TimedActions/ISInventoryTransferAction.lua" so it reads : -- if self.selectedContainer:getParent() then -- self.character:faceThisObject(self.selectedContainer:getParent()) -- end Preliminary testing seems to behave as I intended, in that the container view will not change as you are transferring items to/from adjacent containers of which the contents are visible and in range. And your character will not try to get closer to containers that are already in range, simplifying the task of inventory management and looting. Not responsible for any short sightedness or breakages these changes may cause. Use at your own risk... Posting the changes like this for Gog users, assuming you know how to make a simple mod in your "...user/Zomboid/mods" directory, And it's on Steam as well... Edit... Also adjusts "Category" column width making it narrow and all the way to the right or the inventory pane. Updated for [41.19] Workshop ID: 1907803085 Mod ID: InventorySanity Edited November 19, 2019 by Arsenal26 Loskene and ZombiesLoveBrainiacs 1 1 Link to comment Share on other sites More sharing options...
Loskene Posted November 7, 2019 Share Posted November 7, 2019 (edited) I just added my comments to the gripe thread about this very problem and I see this here now, holy hell thank you. Moving lots of loot has been the least enjoyable part of B41 for myself and my splitscreen partner the entire time we've been playing it, entirely because of these unpredictable movement and menu switching issues, so this is a welcome fix. The annoying column width fix is a real nice cherry on the top too, both of us agree the interface is in dire need of a fresh coat of paint after all the animation changes, but we understand it's early days yet. Still having fun, but this makes it a lot easier to enjoy. Edited November 7, 2019 by Loskene Arsenal26 1 Link to comment Share on other sites More sharing options...
Arsenal26 Posted November 8, 2019 Author Share Posted November 8, 2019 Glad to help, happy looting bud... Link to comment Share on other sites More sharing options...
ZombiesLoveBrainiacs Posted November 9, 2019 Share Posted November 9, 2019 awesome, thanks! Link to comment Share on other sites More sharing options...
ZombiesLoveBrainiacs Posted November 10, 2019 Share Posted November 10, 2019 damn, doesn't work for me Link to comment Share on other sites More sharing options...
Arsenal26 Posted November 10, 2019 Author Share Posted November 10, 2019 (edited) What specifically is not working, Character still walking to containers ? or containers view is still switching ? If another mod is active that changes the files this mod does, I suppose it's possible this mod is getting bumped... If you can figure out which other mod alters the same files, and make the changes manually as described above... Essentially combine the mods so they don't conflict... Edited November 10, 2019 by Arsenal26 Link to comment Share on other sites More sharing options...
ZombiesLoveBrainiacs Posted November 10, 2019 Share Posted November 10, 2019 I disabled eris minimap & started a new game, now it works just fine! Arsenal26 1 Link to comment Share on other sites More sharing options...
Arsenal26 Posted November 10, 2019 Author Share Posted November 10, 2019 45 minutes ago, ZombiesLoveBrainiacs said: I disabled eris minimap & started a new game, now it works just fine! Good to know... Thanks for the info... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now