News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 229
Total: 229

Author Topic: Player select menu  (Read 4371 times)

0 Members and 64 Guests are viewing this topic.

Player select menu
« on: »
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.

Share on Bluesky Share on Facebook


Re: Player select menu
« Reply #1 on: »
Looked through every single UI folder, twice with no luck and looked in other folders thinking it might be misplaced.  I am thinking it's hardcoded.

Re: Player select menu
« Reply #2 on: »
OK, that's a bummer.  >:(

Re: Player select menu
« Reply #3 on: »
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 think you need this file: MAINMENUMOD.LAYOUT.

Spoiler (hover to show)

UPD: But I'm not sure whether it is possible to implement what you need. I think you can try.  :)
« Last Edit: September 28, 2014, 11:56:31 pm by Kva3imoda »

Re: Player select menu
« Reply #4 on: »
Thank you Kva.  :) I'll give it a try.  ;)

Re: Player select menu
« Reply #5 on: »
Good to know, looks like that's it!

Re: Player select menu
« Reply #6 on: »
I was looking at this the other night.

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.
« Last Edit: September 29, 2014, 10:17:56 am by gytfunke »

Re: Player select menu
« Reply #7 on: »
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
some projects in progress

Re: Player select menu
« Reply #8 on: »
This is god info lolesch! thanks mucho! (crosses his fingers hoping this will bring @Wolven  back to modding :D )


 

Recent Topics+-