Add equipment deselection toggle for swords, shields, and clothes#1654
Add equipment deselection toggle for swords, shields, and clothes#1654xiedada05 wants to merge 9 commits into
Conversation
|
I coded a very similar mod during Dusklight's development at #361 but ended up canning it due to it feeling more like a mod. Maybe we've changed our minds since then? Idk. Also, I think if instead of 3 separate options, you had 1 option with 3 toggles inside (Like Gyro mode) we could see about adding it. Also there are a few crashes when having the Ordon Clothes equipped, so maybe look into fixing those as well! ^^ |
|
Could you please provide the step to reproduce or stack trace? I will try it tomorrow. I did not experience any crashes when testing on Windows 11 x64 w/ D3D12, compiling with Visual C++. |
|
I'm currently in the middle of writing a model override system that changes the actual model. That would work fine to play through with the entire game because by simply setting the active clothing like you do ATM, you "break" the checks that the game has in place. You'll also have an issue when you need Zora armor for example. |
|
So I used menu option to control it, and if model replacement feature is merged to main, we could disable this menu option to prevent conflict. |
|
Technically there shouldn't be a conflict. The model override works on all outfits in the game, it can even override link to wear a Zora outfit in the sumo fights. Edit: |
|
@MelonSpeedruns I updated menu to make it cleaner, and polished the logic for handling clothes: when Link has Hero's Clothes, wearing Ordon clothes and disabled deselest clothes, he will instantly put on Hero's Clothes once Collections menu is opened or the scene transition is occured. If there is still crash, please tell me steps to reproduce or give me stack trace. |
|
The development plan in #1658 has been influenced by #1654 while this PR seems to be forgotten, so I earnestly request the maintainers to review this change and/or implore a prompt response. @SuperDude88 |
Allows deselecting equipped swords, shields, and clothing from the Collections menu when enabled in settings. This reverts Link to bare hands or Ordon Clothes respectively. Fixes the auto-switch to Kokiri in d_a_alink.cpp when the feature is enabled, as Nintendo assumes Link will never wear Ordon Clothes after getting his green tunic, but conflicts with this function.
AI is only used in code navigation, Git commit message and the previous paragraph of this PR. No AI generated code is included in this commit.