cow99 Posted February 16, 2016 Share Posted February 16, 2016 (edited) I've been trying to mod the multiplayer squad editor, but haven't been able to change how many UI buttons appear (currently six). There's an important bit of code in UIMPShell_SquadEditor which calls various functions in UIList: m_kSlotList = Spawn(class'UIList', self); m_kSlotList.InitList('', listX, -400, Movie.UI_RES_X - 20, 310, true).AnchorBottomLeft(); m_kSlotList.itemPadding = listItemPadding; There's also this in UIPawnMgr: //this is the MP squad loadout we're checking for the units to spawn simulated function SetCheckGameState(XComGameState MPGameState) { CheckGameState = MPGameState; } function bool DefaultVariablePredicate(Name VarName) { return true; } Would really appreciate some help to figure out what to do next! Has anyone looked at this themselves? If so, have I overlooked something obvious? Edited February 16, 2016 by cow99 Link to comment Share on other sites More sharing options...
cow99 Posted February 16, 2016 Author Share Posted February 16, 2016 (edited) I figured out how to add more UI buttons! Now time to test it. UPDATE - The finished mod (Beta) is here: http://steamcommunity.com/sharedfiles/filedetails/?id=626371463&searchtext= Edited February 18, 2016 by cow99 Link to comment Share on other sites More sharing options...
Recommended Posts