lordfrith 401 Posted February 6, 2019 class B_Soldier_base_F: SoldierWB { author="$STR_A3_Bohemia_Interactive"; _generalMacro="B_Soldier_base_F"; expansion=1; identityTypes[]= { "LanguageENG_F", "Head_NATO", "G_NATO_default" }; faceType="Man_A3"; side=1; faction="BLU_F"; genericNames="NATOMen"; I want to create a group of custom faces and identities that a custom faction can select from. in the snippet above for the nato soldier base class the identity type is listed as "Head_NATO" but i can't find such an entry in "cfgidentities ". I assume this refers to all the identities that Nato uses but i can't find where this is defined, either in the config viewer or in the dePBO'd .cpp files. while i'm at it i'm not sure how things like "faceType" and "genericNames" are defined either... any thoughts? Share this post Link to post Share on other sites
opusfmspol 282 Posted March 13, 2019 Don't know about "faceType" or "genericNames", but my understanding of "identityTypes" is that it holds tags used in randomization, so when units are placed they get random faces, glasses and voices, but within the confines of their given tags. cfgFaces has various faces tagged with identityTypes "Head_NATO"; cfgGlasses has various glasses tagged with identityTypes "G_NATO_default"; and cfgVoice has voices tagged with "LanguageENG_F". So if a placed unit inherits from B_Soldier_base_F and has no identityTypes array defined, it uses those inherited tags to randomly choose face, glasses and voice. When there are multiple tags of a kind, it broadens the randomization range. If a unit class has "identityTypes[]={};" it gets no randomization, it uses defined identity. That's my understanding. If I'm wrong, somebody please correct. 1 Share this post Link to post Share on other sites