Barotrauma

Barotrauma

Working Mannequins
RamRod  [developer] 8 Mar, 2022 @ 2:39pm
Bug Reports
Please report bugs, I know that any item can go to any slot, it is to add mod support.
< >
Showing 1-2 of 2 comments
Iryis 12 Mar, 2022 @ 6:39pm 
It's not quite a bug report, but it's probably fine to put here lol. I've been modding my own stuff for my IRL friends, and I played around with the UI of the mannequin because the way it displays so chaotically was bothering the daylights out of me, and I managed to arrange the mannequin's display into a 3 x 3 grid of 9 separate inventories contained in a single item. There is a bit of spaghetti code going on for sure, but it draws the contained items properly on the mannequin and the UI is nice and neat, so it's a win for me lol.

If you want to try it yourself, but this is the data of the Gui Frame I used,

relativesize="0.05,0.10" anchor="Center" maxsize="300,300" minsize="150,150" relativeoffset="X,X"

And this is the nine coordinates I used to arrange the grid,

relativeoffset="-0.10,-0.15"
relativeoffset="0,-0.15"
relativeoffset="0.10,-0.15"
relativeoffset="-0.10,0"
relativeoffset="0,0"
relativeoffset="0.10,0"
relativeoffset="-0.10,0.15"
relativeoffset="0,0.15"
relativeoffset="0.10,0.15"

To get the windows to cooperate, since the game's UI spazzed out otherwise, I also had to set the following on all of the 9 inventories,

allowuioverlap="true"


I haven't tested it with the linked array of items you have going on, but I'd imagine it'd probably be fine? I was gonna test it on another item in my mod, so if I've figured that out in the near future, I'll get back to you lol.
RamRod  [developer] 12 Mar, 2022 @ 8:37pm 
Interesting! I will mess with it tomorrow and see how it works. I am still new to this game's modding so I kind of just tested things until I got it to work. If I could get this to work as 1 item it would allow me to make this item placable as a regular item. If you don't mind, can you DM me the file you used?
Last edited by RamRod; 12 Mar, 2022 @ 8:39pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50