Jump to content

Recommended Posts

Hello

I'm currently working on an addon and want to have my own generic names list, not Western, Greek, Persian ones etc but some that fit to the unit addon I'm working on.

For ARMA 2 I allways used the class cfgWorlds for the config:

class CfgWorlds

{

class GenericNames

{

#include "XXXNames.hpp"

};

};

and the according XXXNames.hpp file:

class XXXMenNames

{

class FirstNames

{

firstname1 = "firstname1";

firstname2 = "firstname2";

firstname3 = "firstname3";

.....

};

class LastNames

{

lastname1 = "Lastname1";

lastname2 = "Lastname2";

lastname3 = "Lastname3";

....

};

};

Both files were in the config.pbo

Now I've tried to do the same with my current addon, but the names don't show up, generic NATO names are still being used. So I'd really appreciate if some could help my find the solution.

I suspect it has something to do with the "G_NATO_casual" in the unit lines. Where you can also change head, language etc.

Thank you for your attention ! :)

Edited by Comm_Yuri

Share this post


Link to post
Share on other sites

Did you added the next code to your soldier?

genericNames = "YOURNAMES";

Heres and example of generic names that i used for my mod.

class CfgWorlds 
{
class GenericNames 
{
	class SerbianNames 
	{
		class FirstNames 
		{
			aleksandar = "Aleksandar";
			aleksa = "Aleksa";
			aleksije = "Aleksije";
			andrija = "Andrija";
		};

		class LastNames 
		{
			aksentijevic = "Aksentijevic";
			marinkovic = "Marinkovic";
			isakovic = "Isakovic";
			gajic = "Gajic";
			};
		};
	};
};
};

  • Thanks 1

Share this post


Link to post
Share on other sites
Did you added the next code to your soldier?

genericNames = "YOURNAMES";

Heres and example of generic names that i used for my mod.

class CfgWorlds 
{
class GenericNames 
{
	class SerbianNames 
	{
		class FirstNames 
		{
			aleksandar = "Aleksandar";
			aleksa = "Aleksa";
			aleksije = "Aleksije";
			andrija = "Andrija";
		};

		class LastNames 
		{
			aksentijevic = "Aksentijevic";
			marinkovic = "Marinkovic";
			isakovic = "Isakovic";
			gajic = "Gajic";
			};
		};
	};
};
};

Excellent ! yeah, the class in soldier was missing. Thank you for this ! :)

Great addon btw, keep it up mate. :)

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

×