(I've been making a lot of posts recently, sorry about that) I just finished creating the first set of custom hairstyles for my mod, and I'm pretty sure I named both the .png files and the code in the .species file correctly, but whenever I start the game, it just shows the default bald head sprite and I cannot change it. I'd like to release the first build of the mod once I've gotten the character creation done, so this is halting production a lot.
You would need to post the mod in zip file, no real way to tell without looking at your files. Or post your species file, and a screenshot of your hair folder maybe
This all the code related to hair in the .species file besides the actual colors. Code: "altOptionAsUndyColor" : true, "headOptionAsHairColor" : true, "genders" : [ { "name" : "male", "image" : "/interface/title/valskarmaleico.png", "characterImage" : "/interface/title/valskarmale.png", "hair" : [ "0", "1", "2", "3", "4", "5", "6", "7" ], "shirt" : [ "valskaroutfit1chest", "valskaroutfit2chest", "valskaroutfit3chest", "valskaroutfit4chest", "protectorateshirtchest", "protectoratevestchest" ], "pants" : [ "valskaroutfit1legs", "valskaroutfit2legs", "valskaroutfit3legs", "valskaroutfit4legs" ], "facialHairGroup" : "", "facialHair" : [ ], "facialMaskGroup" : "", "facialMask" : [ ] }, { "name" : "female", "image" : "/interface/title/valskarfemico.png", "characterImage" : "/interface/title/valskarfemale.png", "hair" : [ "1", "2", "3", "4", "5", "7", "8", "9" ], "shirt" : [ "valskaroutfit1chest", "valskaroutfit2chest", "valskaroutfit3chest", "valskaroutfit4chest", "protectorateshirtchest", "protectoratevestchest" ], "pants" : [ "valskaroutfit1legs", "valskaroutfit2legs", "valskaroutfit3legs", "valskaroutfit4legs" ], "facialHairGroup" : "", "facialHair" : [ ], "facialMaskGroup" : "", "facialMask" : [ ] } ], and hair folder screenshot
I think you need a default.frames file in your hair folder to get the hair to show up. The code you need for it is simple since I think it sorts the bounding box for the hair design. This is the code to determine the hair bounds from a race I'm working on that should sort your hair. I think you can safely cut out the climb section if you want to save a line of text since climb frames aren't used.
Inside your gender tags you need to let it know where the hair is. "hairGroup" : "hairmale", "hairGroup" : "hairfemale", I think the only time you do not need those tags, is if you use one folder called "hair". But if you separate your hairs into different folders, you will need that tag to define which folder has your hair. Since you have the same names for your hair png's, I'm assuming male and female are separated into different folders. The Apex species file has a good example of this, since the hair is split into two different folders. Code: "genders" : [ { "name" : "male", "image" : "/interface/title/male.png", "characterImage" : "/interface/title/sapemale.png", "hairGroup" : "hairmale", "hair" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], "shirt" : [ "apexcommanderjacket", "apexnavyjacket", "apexofficerjacket", "apexspecialistjacket", "protectorateshirtchest", "protectoratevestchest" ], "pants" : [ "apexcommanderpants", "apexnavypants", "apexofficerpants", "apexspecialistpants" ], "facialHairGroup" : "beardmale", "facialHair" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], "facialMaskGroup" : "", "facialMask" : [ ] }, { "name" : "female", "image" : "/interface/title/female.png", "characterImage" : "/interface/title/sapefemale.png", "hairGroup" : "hairfemale", "hair" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ], "shirt" : [ "apexcommanderjacket", "apexnavyjacket", "apexofficerjacket", "apexspecialistjacket", "protectorateshirtchest", "protectoratevestchest" ], "pants" : [ "apexcommanderpants", "apexnavypants", "apexofficerpants", "apexspecialistpants" ], "facialHairGroup" : "beardfemale", "facialHair" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "facialMaskGroup" : "", "facialMask" : [ ] } ],