0 of 0

File information

Last updated

Original upload

Created by

Cosmin G

Uploaded by

CozmiNU

Virus scan

Safe to use

68 comments

  1. Asafyasso
    Asafyasso
    • supporter
    • 3 kudos
    Locked
    Sticky
    Hi can you please make caps lock to close map ?
    1. CozmiNU
      CozmiNU
      • premium
      • 65 kudos
      Open main.lua -> go to line 48 -> change Key.M to Key.CAPS_LOCK. 
      RegisterKeyBind(Key.CAPS_LOCK, function()
          CloseMap()
      end)
      List of keys here: Key - UE4SS Documentation
  2. seafa
    seafa
    • member
    • 0 kudos
    the mod doesn't work for v1.1 update?
    1. rennex2
      rennex2
      • premium
      • 11 kudos
      I got it to work by installing it manually everything inside the game folder. I had trouble getting this to work after the update using Vortex and MO2. I did not use the version of UE4SS that comes with this mod.
  3. Osmanny
    Osmanny
    • member
    • 0 kudos
    Works like a charm. Thanks!
  4. Maureeseeo
    Maureeseeo
    • premium
    • 3 kudos
    Brother, we need this function for every menu keybind that opens and doesn't close, like I for inventory as well. 
    1. sdjfgwsehnfjsfajn
      sdjfgwsehnfjsfajn
      • member
      • 1 kudos
      +
    2. orokinlonewolf
      orokinlonewolf
      • member
      • 3 kudos
      +1
    3. aaronel64
      aaronel64
      • supporter
      • 0 kudos
      +1
    4. REALtony4twenty
      REALtony4twenty
      • member
      • 0 kudos
      This would be nice!
    5. Nightblade3D
      Nightblade3D
      • member
      • 1 kudos
      +1

      edit: Ok I figured it out myself. It's pretty straightforward, since the basic functionality is already there.

      Simply open the main.lua from the scripts folder and copy all lines from line 20 to 54 and paste them below.
      Then change all mentions of "Map" like IsOnMapPage, ELegacyPlayerMenuPage.Map, CloseMap & IsOnMapPage to whatever menu you wish to close. e.g. IsOnInventoryPage, ELegacyPlayerMenuPage.Inventory, CloseInventory & IsOnInventoryPage.
      This can be done for all menus simply paste them below and change the mentioned parts to Stats, Inventory, Magic, Quest respectively. Also don't forget to change the keybind in the script to whatever key you're using.

      Here are my script edits, for those of you who just want to copy/paste. Paste them below and change to your prefered keybind:

      --Inventory--
      local function IsOnInventoryPage(playerMenu)
          local playerMenuViewModel = playerMenu:GetViewModelRef()
          if not playerMenuViewModel then
              return false
          end
          if not playerMenuViewModel:IsVisible() then
              return false
          end
          local currentPage = playerMenuViewModel:GetCurrentPage()
          return currentPage == ELegacyPlayerMenuPage.Inventory
      end
      local function CloseInventory()
          local playerMenu = GetPlayerMenu()
          if not playerMenu then
              return
          end
          if not IsOnInventoryPage(playerMenu) then
              return
          end
          playerMenu:CloseMenu()
      end
      RegisterKeyBind(Key.B, function()
          ExecuteInGameThread(function()
              CloseInventory()
          end)
      end)
      --Stats--
      local function IsOnStatsPage(playerMenu)
          local playerMenuViewModel = playerMenu:GetViewModelRef()
          if not playerMenuViewModel then
              return false
          end
          if not playerMenuViewModel:IsVisible() then
              return false
          end
          local currentPage = playerMenuViewModel:GetCurrentPage()
          return currentPage == ELegacyPlayerMenuPage.Stats
      end
      local function CloseStats()
          local playerMenu = GetPlayerMenu()
          if not playerMenu then
              return
          end
          if not IsOnStatsPage(playerMenu) then
              return
          end
          playerMenu:CloseMenu()
      end
      RegisterKeyBind(Key.G, function()
          ExecuteInGameThread(function()
              CloseStats()
          end)
      end)
      --Magic--
      local function IsOnMagicPage(playerMenu)
          local playerMenuViewModel = playerMenu:GetViewModelRef()
          if not playerMenuViewModel then
              return false
          end
          if not playerMenuViewModel:IsVisible() then
              return false
          end
          local currentPage = playerMenuViewModel:GetCurrentPage()
          return currentPage == ELegacyPlayerMenuPage.Magic
      end
      local function CloseMagic()
          local playerMenu = GetPlayerMenu()
          if not playerMenu then
              return
          end
          if not IsOnMagicPage(playerMenu) then
              return
          end
          playerMenu:CloseMenu()
      end
      RegisterKeyBind(Key.V, function()
          ExecuteInGameThread(function()
              CloseMagic()
          end)
      end)
      --Quest--
      local function IsOnQuestPage(playerMenu)
          local playerMenuViewModel = playerMenu:GetViewModelRef()
          if not playerMenuViewModel then
              return false
          end
          if not playerMenuViewModel:IsVisible() then
              return false
          end
          local currentPage = playerMenuViewModel:GetCurrentPage()
          return currentPage == ELegacyPlayerMenuPage.Quest
      end
      local function CloseQuest()
          local playerMenu = GetPlayerMenu()
          if not playerMenu then
              return
          end
          if not IsOnQuestPage(playerMenu) then
              return
          end
          playerMenu:CloseMenu()
      end
      RegisterKeyBind(Key.J, function()
          ExecuteInGameThread(function()
              CloseQuest()
          end)
      end)
    6. Ancattoigar
      Ancattoigar
      • member
      • 1 kudos
      Haven't tested it yet, bc it just came out, but perhaps this would work?
    7. Maureeseeo
      Maureeseeo
      • premium
      • 3 kudos
      yep, works great.
    8. Asafyasso
      Asafyasso
      • supporter
      • 3 kudos
      do you know how i can close map with caps lock?
    9. fgoron2000
      fgoron2000
      • member
      • 0 kudos
      +1 And also, keybinds for when you are in a menu and just want to switch to another menu without having to get out and then go back into a different one, like switching from Inventory directly to Magic, directly to Character, for instance.
  5. Sorceress1
    Sorceress1
    • member
    • 0 kudos
    Game crashes when using mod together with Open Local Map Key plus Toggle
    1. ChristopherC71
      ChristopherC71
      • premium
      • 13 kudos
      Has anyone found a way to make these two work together? I like both but can live with just one. Shame...
    2. CapitanBill
      CapitanBill
      • premium
      • 4 kudos
      There is a post on the other mod on how to. Change ini settings
    3. plApophis
      plApophis
      • supporter
      • 4 kudos
      The toggle key 'M' conflicts with this mod. Changing it to a different key in LocalMapToggle\Scripts\config.lua should resolve the crashes
    4. Asafyasso
      Asafyasso
      • supporter
      • 3 kudos
      Do you know how i can make caps lock to close map?
  6. Tyler799
    Tyler799
    • premium
    • 9 kudos
    Please change the directory structure so it matches where the files are meant to be installed. This will make tools like Vortex and MO2 able to automatically install it without any hassle. Thanks. :)  
    1. c0rp69
      c0rp69
      • premium
      • 1 kudos
      I installed w Vortex and have no issues
    2. djshokwave
      djshokwave
      • member
      • 2 kudos
      LOL I'll believe that when I see it happen
  7. lukeman3000
    lukeman3000
    • member
    • 0 kudos
    Excellent mod. Would love to see the changelog so I could understand what's changing between releases!
  8. YungFattin
    YungFattin
    • premium
    • 6 kudos
    Anyone getting CTDs when opening or closing the map?

    Im not accusing this mod just was not sure where else to ask such things. 

    After some play time ive noticed that almost all my CTDs (which are not many) occur when opening or closing the map (pressing m, not when browsing the journal in general).

    1. steelwrist
      steelwrist
      • member
      • 0 kudos
      Yup. Tested. This mod is the culprit.
    2. AmmyTheWolf
      AmmyTheWolf
      • premium
      • 0 kudos
      +1 Also crashes my game when opening my map.
    3. Dingenskirchen
      Dingenskirchen
      • premium
      • 46 kudos
      Indeed, might be a conflict, but removing this mod fixed it.
    4. CozmiNU
      CozmiNU
      • premium
      • 65 kudos
      Try the new update please.
    5. slamminuk
      slamminuk
      • supporter
      • 11 kudos
      Yes, I have also started getting this, even on the latest version 1.0.1. If I remove it, then it doesn't crash.

      I've switched to this one Close Menus.
    6. CozmiNU
      CozmiNU
      • premium
      • 65 kudos
      That mod uses the code from my mod so it doesn't make any sense that you crash using this one but not that one.
  9. FluffyFailure
    FluffyFailure
    • member
    • 0 kudos
    Is it possible to make a mod to change the Select keybinding from "Enter" to "E"?
    I'm somewhat tired of moving my hand from one side of the keyboard to the other, as it is very inconvenient.
    1. Ancattoigar
      Ancattoigar
      • member
      • 1 kudos
      This one lets you change "enter" to either "space", or "e".
    2. SteaminBeamin
      SteaminBeamin
      • member
      • 0 kudos
      There’s actually a mod that helps with this. You can choose between using the Spacebar or E, with Spacebar recommended since it’s less likely to conflict with other UI bindings. Hope it’s okay to share this link.

      Above comment covered it.

      Press Space To Confirm (Enter Rebind)
  10. etayorius
    etayorius
    • premium
    • 368 kudos
    Thank you, will endorse as soon as nexus allows me to do so.
  11. SilkNoodles
    SilkNoodles
    • member
    • 0 kudos
    The fact that this even has to be modded in when we're in the year 2025 is wild. Aside from the graphics this remaster really didn't improve anything lmao.