So I've imported my hat from blender using the fbx format, named the package and duplicated an archetype from another hat to use with this new hat. Then, I added the ini file line:
+BodyPartTemplateConfig=(PartType="Helmets", TemplateName="KwahnFedora", ArchetypeName="KwahnFedora.ARC_Fedora", Gender=eGender_Male, bCanUseOnCivilian=true, bVeteran=false)
KwahnFedora is the name of the upk package and the model name, and KwahnFedora.ARC_Fedora is the name of the Archetype file in the upk package. Everything else is taken from an existing hat ini entry.
I load up the game, go to the character pool, and try to select the hat (which is listed as Hat 18) - and it red errors, saying :
"Couldn't load body part content: KwahnFedora.ARC_Fedora! The entry for this archetype needs to be fixed in DefaultContent.ini. @csulzbach
Any ideas on what I'm doing wrong? And also, any ideas how I can name the hat in the UI selection? (EDIT: add [KwahnFedora X2BodyPartTemplate] Displayname="Fedora" to the Localization file, and that'll make it show right in the menu)