AveryTheKitty 2626 Posted April 18, 2015 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
biggerdave 56 Posted April 18, 2015 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
AveryTheKitty 2626 Posted April 18, 2015 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
IndeedPete 1038 Posted April 18, 2015 Awesome, was looking for this some time ago! Share this post Link to post Share on other sites
Karolus 5 Posted April 25, 2016 Thank you, this helped a lot! Share this post Link to post Share on other sites