Jump to content
Sign in to follow this  
AveryTheKitty

How does one create new classes for genericNames?

Recommended Posts

Example: genericNames = "NATOMen";

How would one create the class for genericNames, ex. "RussianMen" or "BritishMen"? And how would one set up the actual names for the specified classes?

Thanks.

Share this post


Link to post
Share on other sites

Like this:

class CfgWorlds
{
class GenericNames
{
	class MyTag_WelshNames
	{
		class FirstNames
		{
			Aeron = "Aeron";
			Aled = "Aled";
			Afon = "Afon";
			Alun = "Alun";
			Bevan = "Bevan";
			Bleddyn = "Bleddyn";
			Bryn = "Bryn";
			Cadoc = "Cadoc";
			Cadwgan = "Cadwgan";
		};
		class LastNames
		{
			Alban = "Alban";
			Awbrey = "Awbrey";
			Anwyl = "Anwyl";
			Bach = "Bach";
			Barry = "Barry";
			Baugh = "Baugh";
			Cadwalader = "Cadwalader";
			Carew = "Carew";
			Conway = "Conway";
			Dafydd = "Dafydd";
		};
	};
	class MyTag_GermanNames
	{
		class FirstNames
		{
			Alexander = "Alexander";
			Andreas = "Andreas";
			Benjamin  = "Benjamin";
			Bernd = "Bernd";
			Christian = "Christian";
			Daniel = "Daniel";
			David = "David";
			Dennis = "Dennis";
		};
		class LastNames
		{
			Muller = "Muller";
			Schmidt = "Schmidt";
			Schneider = "Schneider";
			Fischer = "Fischer";
			Weber = "Weber";
			Schafer = "Schafer";
			Meyer = "Meyer";
			Wagner = "Wagner";
			Becker = "Becker";
			Bauer = "Bauer";
			Hoffmann = "Hoffmann";
		};
	};
};
};

You can have as many entries as you want in first names and last names, and use strings, if you're not a terrible coder like me. (Generally around 30 to 50 first and last names are enough to make sure you don't have a full squad of Aaron A. Aaronsons :p )

Share this post


Link to post
Share on other sites
Like this:

class CfgWorlds
{
class GenericNames
{
	class MyTag_WelshNames
	{
		class FirstNames
		{
			Aeron = "Aeron";
			Aled = "Aled";
			Afon = "Afon";
			Alun = "Alun";
			Bevan = "Bevan";
			Bleddyn = "Bleddyn";
			Bryn = "Bryn";
			Cadoc = "Cadoc";
			Cadwgan = "Cadwgan";
		};
		class LastNames
		{
			Alban = "Alban";
			Awbrey = "Awbrey";
			Anwyl = "Anwyl";
			Bach = "Bach";
			Barry = "Barry";
			Baugh = "Baugh";
			Cadwalader = "Cadwalader";
			Carew = "Carew";
			Conway = "Conway";
			Dafydd = "Dafydd";
		};
	};
	class MyTag_GermanNames
	{
		class FirstNames
		{
			Alexander = "Alexander";
			Andreas = "Andreas";
			Benjamin  = "Benjamin";
			Bernd = "Bernd";
			Christian = "Christian";
			Daniel = "Daniel";
			David = "David";
			Dennis = "Dennis";
		};
		class LastNames
		{
			Muller = "Muller";
			Schmidt = "Schmidt";
			Schneider = "Schneider";
			Fischer = "Fischer";
			Weber = "Weber";
			Schafer = "Schafer";
			Meyer = "Meyer";
			Wagner = "Wagner";
			Becker = "Becker";
			Bauer = "Bauer";
			Hoffmann = "Hoffmann";
		};
	};
};
};

You can have as many entries as you want in first names and last names, and use strings, if you're not a terrible coder like me. (Generally around 30 to 50 first and last names are enough to make sure you don't have a full squad of Aaron A. Aaronsons :p )

Thanks a ton!

Share this post


Link to post
Share on other sites

Awesome, was looking for this some time ago!

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  

×