Author Topic: [DONE][Suggestion] Character Portrait Filters + Controls  (Read 1360 times)

Offline sudtrap

  • Sergeant
  • **
  • Posts: 22
    • View Profile
[DONE][Suggestion] Character Portrait Filters + Controls
« on: July 04, 2023, 09:27:12 pm »
Hi again!

I love the long list of available portraits for agents. I like to pick my favorite ones; however the UI for selecting them is kinda clunky.

This is a feature I've been wanting for a long time; some kind of way to filter the character portraits (paper dolls?)
Even just filtering by gender alone would be a Godsend.

Being able to flip through them using the up and down arrows on the keyboard would be helpful, as clicking the names on the list one at a time is slow.

(I'm actually thinking about creating a reference sheet for the portraits elsewhere to help expedite this as well)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9009
    • View Profile
Re: [Suggestion] Character Portrait Filters + Controls
« Reply #1 on: July 04, 2023, 11:51:01 pm »
Again, interesting.

And again, you are the first one to suggest this.

Filtering by gender can be done. (Although not very politically correct these days.)
Browsing with hotkeys can probably be done too.

Todolisted.

Offline sudtrap

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: [Suggestion] Character Portrait Filters + Controls
« Reply #2 on: July 05, 2023, 12:03:29 am »
Sweet!
 8)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9009
    • View Profile
Re: [Suggestion] Character Portrait Filters + Controls
« Reply #3 on: December 03, 2023, 07:39:36 pm »
1/ Filter by gender done here: https://github.com/MeridianOXC/OpenXcom/commit/862f6924eed48370748a5be20cb7c5a1f657e8de

Ctrl+right click to open male only.
Alt+right click to open female only.

2/ OpenXcom doesn't support navigating lists by keyboard, and adding it looks quite non-trivial, so I'll pass on that.