XCOM 2
251 ratings
[WOTC] Photobooth Poses UI List Fix
6
3
2
3
2
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
508.544 KB
11 Aug, 2024 @ 6:02pm
15 Jul @ 5:38pm
28 Change Notes ( view )

Subscribe to download
[WOTC] Photobooth Poses UI List Fix

Description
Mod Description
This mod does three things:

1. It provides a fix for a longstanding issue with the Photobooth, wherein if more than a few hundred poses were installed at the same time, the game would crash to desktop when selecting one (this was due to a bad flash call which evidently caused a stack overflow when removing too many child items individually from the from photobooth panel, rather than more crudely just calling to dispose of the list in its entirety).

2. It provides an updated UI for the photobooth with proper pagination and some next/previous buttons so you can better select soldier poses from your astronomically long lists :)

3. It tweaks the Photobooth Cameras to allow for better close-up shots and lowers the Zoom step on the tactical camera for more granular control. Variables for the camera (zoom steps, min & max zoom distance) have been added to the mod's config folder and can be adjusted easily.

I've done a reasonable amount of preliminary testing with this & and it certainly looks OK but please let me know if you experience any bugs and I'll do my best to squash them!

Enjoy!

Nice Mission Debriefing
The mod is now fully compatible with Nice Mission Debriefing. Many thanks to Atamize for making the necessary changes to enable these two to place nicely together!

Credits
Thanks to all on the XCom2 modding discord for help debugging & constructing the mod, in particular:
-RustyDios (coding support, advice, mod preview image)
-RoboJumber (coding support, analysing crash dumps to help pinpoint where the crash was originating)
-Zelfana, Iridar, TePa, Hailst0rm, (coding support & advice)
81 Comments
william09703 17 Jul @ 1:52pm 
I'm using this for Tactical Pose Pack. but I notice that the pose list didn't line up, it skipped the first one, thus making the rest of new poses display the wrong name from the previous pose. any ideas what happened here? I didn't installed any other new pose or photobooth mods btw
Povuh 16 Jul @ 2:42am 
Awesome! On behalf of all the controller users, thanks for the fix! :)
BlackDog  [author] 15 Jul @ 5:51pm 
@Povuh thanks for the reports - I've uploaded an updated version which should fix both of those controller issues. The soldier selection issue happened because I wasn't aware that the L/R buttons were handled differently to the M&K next/previous buttons. This caused the soldier indexer to break, so soldier 1 was always passed into the photobooth. The issue with the flawless mod is technically due to NMD, but I've been able to fix it here. For reasons I don't completely understand, it's possible when using both mods together, for the mission summary screen to be hidden when backing out of the photobooth with a controller. To get around that initially, I just spawned a new instance of the screen, but this is bad because listeners to that screen (e.g. flawless) are set up to fire every time that screen spawns. I've changed the logic now to find the hidden screen in the stack and un-hide it so everything should work now :)
Povuh 27 Jun @ 4:28am 
Yeah definitely looks to be a controller specific issue.

Just ran into another quirk when using this mod, which also only occurs on controllers: When using the Flawless (Lite) mod, you get a pop up with rewards if your mission was flawless. Then afterwards the mission debrief shows. If you then take a group photo, on exiting the photobooth it triggers another flawless pop up with additional rewards. You can continue to repeatedly take group photos and trigger new flawless rewards.
RustyDios 23 Jun @ 8:58am 
sounds like a controller issue :)
Soul 23 Jun @ 8:52am 
Did you try MKB? Cause it doesn't do it for me,but yeah I'm on keyboard
That and maybe a conflict
Povuh 23 Jun @ 8:30am 
Hi, there seems to be a bug when using this mod alongside Nice Mission Debriefing, when playing on a controller at least.

If you look at one of your soldiers in the Nice Mission Debriefing screen at the end of a mission, and then press the 'Create Photo' button, it will not bring that specific soldier into the photobooth.

Instead it will always pick the first soldier that was selected when initially opening the debriefing screen. Not the currently selected soldier.

If I disable Photobooth Poses UI List Fix then the problem disappears.
Zick 4 Dec, 2024 @ 10:02pm 
Ooh. Thanks.
BlackDog  [author] 4 Dec, 2024 @ 3:02pm 
Hi, this mod doesn't add any new poses - it just changes the interface into a page format and fixes a bug with large pose lists. To add new poses, you would need to download pose mods to use with it (for example: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2589645640 , https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2589637478 , https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1601400977)
Zick 4 Dec, 2024 @ 2:22pm 
No more mods just this. I just try to select photobooth and I don't have any of new poses from this mod. 2-3 standart pages and nothing else.