Player select menu Posted byWolvenon 27 Aug, 2014 10:59
Does anyone know which menu item(s) makes up the interface where you select which class (and gender) to play? I can't seem to find it.
I'm asking because I want to see how they filter out the genders in the character selection. I want to do something similar for TLA, but where you can also filter by team. Right now the class selection in TLA is a mess, because there are three player units of each class to choose from. Blue Team, Red Team and No Team. So I'd like to change the UI, so you can have buttons for which team to be on when you select class, just like you can select which gender to play.
Unfortunately, the actual Player Creation window is a Widget, which is hardcoded. Or so I believe. You need to find that widget to modify it. Searching for it in the TL2 Media folder returns nothing.
Or, it might be possible to do away with the widget if you have a limited set of class choices. You could recreate the widget with UI elements and logic. Might be worth a try.
this is way old! nevertheless I found the answer to your filter problem. Open that mainmenue in guts UI -> expand to: Character Create -> LeftSide -> LeftPlateCharacter -> LeftBackground -> ActualCharacters
Inside this there are 2 ListWindows: CharacterListFemale and -Male under Properties you can find something called Filters -> allowed Unittypes
doubleclick it and you can set all Unittypes you wat to show up (at least in theory, I havn't tested it for example to show weapons or some)
Now give your Characters Unittypes the prefered Team as a sub Inheritance and it should sort them by team. clone the female genderbutton for your 3rd team and link it in the Gendertoggling logic