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.
different faction selection besides scroll menu possible?
different faction selection besides scroll menu possible?
Check out my CnC mod at:
https://www.moddb.com/mods/cameo
https://www.moddb.com/mods/cameo
Re: different faction selection besides scroll menu possible?
Yes, but you will need to include custom C# code as part of your mod.
Re: different faction selection besides scroll menu possible?
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?
Is it also only possible with a custom C# code to make the dropdown Menu for the faction choosing bigger?
Check out my CnC mod at:
https://www.moddb.com/mods/cameo
https://www.moddb.com/mods/cameo
Re: different faction selection besides scroll menu possible?
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.
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.
Check out my CnC mod at:
https://www.moddb.com/mods/cameo
https://www.moddb.com/mods/cameo
Re: different faction selection besides scroll menu possible?
FOUND IT
in the "LobbyUtils.cs" in the Line 197: dropdown.ShowDropDown("FACTION_DROPDOWN_TEMPLATE", 154, options, setupItem);
in the "LobbyUtils.cs" in the Line 197: dropdown.ShowDropDown("FACTION_DROPDOWN_TEMPLATE", 154, options, setupItem);
Check out my CnC mod at:
https://www.moddb.com/mods/cameo
https://www.moddb.com/mods/cameo
-
- Posts: 52
- Joined: Sun Mar 09, 2014 3:49 pm
Re: different faction selection besides scroll menu possible?
i think You may use conditon or upgrade traits to make drone to transform into buildings, to make SC races more like original buildstyle