Jump to content
Sign in to follow this  
eggbeast

cfgvehicleclass menu ordering

Recommended Posts

hi can anyonesuggest whether it is possible to create some form of order in the cfgvehicleclass list in the editor?

menu_zps8e7fc958.jpg

I would like to have all our unsung mod elements listed at the top, in alphabetical order.

I tried using priority in case that works but it seems to do nothing

class CfgVehicleClasses
{
class uns_cbuildings
{
	displayName = "Buildings (Unsung Civilian)";
	priority = -1;
};
class uns_ebuildings
{
	displayName = "Buildings (Unsung East)";
	priority = -1;
};
class uns_wbuildings
{
	displayName = "Buildings (Unsung West)";
	priority = -1;
};
etc
};

anyone ever do this?

Share this post


Link to post
Share on other sites

solved it

it is in fact alphabetised on the classnames

so make them like this

class CfgVehicleClasses
{
class uns_buildings_civ
{
	displayName = "Buildings (Unsung Civilian)";
	priority = -1;
};
class uns_buildings_east
{
	displayName = "Buildings (Unsung East)";
	priority = -1;
};
class uns_buildings_west
{
	displayName = "Buildings (Unsung West)";
	priority = -1;
};
etc
};

and all your uns mod stuff will be together under U and within that your buildings will be under uns_bu etc

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×