cow99 Posted February 15, 2016 Share Posted February 15, 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! Edited February 15, 2016 by cow99 Link to comment Share on other sites More sharing options...
davidlallen Posted February 15, 2016 Share Posted February 15, 2016 For questions about modding, you may get faster response by posting in the forum about modding. This forum is for general (non-modding) questions. Link to comment Share on other sites More sharing options...
Recommended Posts