Jump to content

Recommended Posts

Posted

As has been already documented in the forums, there currently is an issue where navigating the loadout editor menus will cause stutters in game. I've looked at the lua files and found a temporary workaround that solves the issue. It seems that whenever the menus are changed, the image previews for each weapon are reloaded from disk synchronously, which causes things to lag. As of the current open beta version, commenting out line 746 of Scripts\UI\MissionResourcesDialog.lua fixes the lag at the cost of having no weapon preview images in the menu. It should look more or less like this (the edited line is bold):

 

            if  submenuItem then
               submenuItem.pylonNumber = pylonNumber
               submenuItem.launcher = launcher
               
               local filename, blendColor = loadoutUtils.getLauncherImage(launcher.clsid)
               
              [b] -- submenuItem:setSkin(SkinUtils.setMenuItemPicture(filename, blendColor or '0x000000ff'))[/b]
               
               submenu:insertItem(submenuItem)
           end

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...