henbagle / LE1CommunityPatch

Issue tracker for the Community Patch mod for Mass Effect 1: Legendary Edition
13 stars 0 forks source link

Softlock when playing High Stakes Quasar #192

Closed henbagle closed 1 year ago

henbagle commented 1 year ago

Describe the bug Bug reported from LE1CP Mod Page: trying to play High Stakes Quasar in LE1 with less than 200 credits softlock you: you can't play and can't quit due to the quitting button being B on a controller.

Seems like the bug is that there is no button to quit quasar on a mouse and keyboard.

To Reproduce Play high stakes quasar with less than 200 credits

Expected behavior A way to quit playing Quasar with a mouse and keyboard.

Game file Likely in the Quasar Scaleform or UI Class

henbagle commented 1 year ago

Exit key is 'D" for some reason. It's not scaleform, it's a DUI thing. Needs more investigation. Exit key should be changed to escape or something. Check what Mgamerz did for Pinnacle Station as I believe it should be similar.

Edit: I was wrong, it is scaleform. Mgamerz's control stuff for the pinnacle scoreboard is totally different, although it may be useful if I can't find a better solution to the WASD control issue in Quasar.

henbagle commented 1 year ago

Through lots of scaleform editing in the DesignerUI, a button has been implemented instead of the B button display. The existing B button image and exit text have been shuffled around within the file to bring them in line with other controller buttons and display text. This allows them to hide and show appropriately as the other controller buttons do. The clickable button has been very carefully cloned from other buttons in this UI. ActionScript has also been modified to get all of this working properly.

image

Fix will be included as a merge mod. Several other DesignerUI fixes will be packaged alongside it.

Rigorous testing is needed to make sure the actionscript compiler hasn't broken anything in this script. There is also no way that I can think of to get rid of the w-a-s-d keybinds for the Quasar UI, as this is fundamental to how the actionscript buttons control the game and most of the code for it is native. I will do some more investigation.