Page 1 of 1

different faction selection besides scroll menu possible?

Posted: Thu Dec 13, 2018 8:30 pm
by Zeruel87
Greetings,

i wonder if it is possible to change the faction selection from 1 drop down menu with a scrollbar to for example a dropdownmenu with 2 rows and/or without a scrollbar.
iam a modmaker and my mod features so many factions that the scrollbar is getting very long.

i think i found regarding settings in the "lobby-players.yaml" but i have no clue in what language or so these settings are written or if it is possible to archieve what i imagine. :?

Re: different faction selection besides scroll menu possible?

Posted: Fri Dec 14, 2018 11:26 am
by Sleipnir
Yes, but you will need to include custom C# code as part of your mod.

Re: different faction selection besides scroll menu possible?

Posted: Sat Feb 09, 2019 9:30 am
by Zeruel87
oh okay, i have no idea how to do that or where to even start looking how to do that. (besides to look how C# works and how it is written)

Is it also only possible with a custom C# code to make the dropdown Menu for the faction choosing bigger?

Re: different faction selection besides scroll menu possible?

Posted: Mon Aug 12, 2019 1:35 pm
by Zeruel87
i dont know if this is a stupid question or not.
my understanding of C# is limited to say the least, is it possible to change at least the size of the dropdown menus anywhere like in .cs files?
i'am just experimenting with .cs files for another reason regarding the loading screen that is hardcoded in the CncLoadScreen.cs and wondered if the dropdown menug sizes could at least be changed in a similar way.

Re: different faction selection besides scroll menu possible?

Posted: Wed Aug 14, 2019 7:15 pm
by Zeruel87
FOUND IT :)

in the "LobbyUtils.cs" in the Line 197: dropdown.ShowDropDown("FACTION_DROPDOWN_TEMPLATE", 154, options, setupItem);

Re: different faction selection besides scroll menu possible?

Posted: Tue Sep 03, 2019 7:57 am
by Remuneration
i think You may use conditon or upgrade traits to make drone to transform into buildings, to make SC races more like original buildstyle