Changing size of StagingRoom players box

Arstahd

Chieftain
Joined
Apr 20, 2006
Messages
85
I'm trying to increase the size of the box that lists all the players when setting up a multiplayer game. Once you have more than 8 players,. not all the rows will fit and you'll need to scroll. This is even worse when I'm playing on my 4k TV and have the UI scaling cranked up, you can only see like 3-4 players at a time.

After digging around, I found where this is handled, in StagingRoom.xml. There is a line that seems to set the size for the box, but for some reason, I can only change the width, not the height. There are further lines which define other details of the box which I believe reference the first line as the "parent". I can enter numbers in these parameters in place of the "parent" tag and change both height and width of those elements.

In the end, I can change almost everything to get a box that is twice as tall and lists twice as many players, but I still have the translucent background and outline that remains the original size.

Any ideas on why I can't change the parent box height? Highlighted in GREEN in the following pic.

Code 001.jpg


Here is what it looks like after I changed what I could. The arrow points to the part I can't seem to change.

StagingRoom 03.jpg
 
Found it. Buried in StagingRoom.lua there is a Resize function with a line referencing PrimaryStackGrid that has some sort of offset. Changing this value effects the height of the entire box.
 
@Arstahd be careful with StagingRoom.lua unfortunately it is part of a small group of file that won't load automatically as a mod unless you restart your game. So you will have to directly go for the original file if you want the change to stick reliably
 
@Arstahd be careful with StagingRoom.lua unfortunately it is part of a small group of file that won't load automatically as a mod unless you restart your game. So you will have to directly go for the original file if you want the change to stick reliably

Can you elaborate? I haven't noticed any issues with the LUA loading.
 
@Arstahd
Try this: disable your mod in additional content and go to your lobby: your mod will still be there. Likewise if you restart the game after having disable your mod and they try to activate it you will have to restart your game for it to laod the lua correctly.
 
Back
Top Bottom