Munsie Posted June 16, 2021 Share Posted June 16, 2021 Howdy,I've been trying to figure out if there's a way to add new player faces without replacing any of the existing ones. This is proving to be more difficult than I would have guessed. If it matters, this is on a 5187 client.Here's what I know so far:All the images are stored in \data\PlayerFaceThe images are connected to a face ID via \ani\PlayerFace.aniClicking on the Beautician in-game doesn't actually send anything to the server, it's all handled client-side until you click the "Change" buttonAs a quick test I duplicated the male face 107 and renamed it to 108, and verified there was an entry for [Face108] in the ani file that points to 108.dds.I duplicated and renamed 107 in the \JPG\64 and \JPG\16 folder as well, just in case the Beautician looked at those.Alas, the Beautician doesn't show the newly added face 108 at the end of the list. However if a character in the DB is manually edited to have face 108, then it displays fine in-game when you mouse over them.I've done some pretty heavy searching for "face", "avatar", "look", "beautician", etc in the client's files to try to uncover any other files that pertain to the Beautician's UI, but haven't found anything of note. I'm beginning to fear there's some hard-coded number somewhere (possibly in the client's binary) that dictates the total/max number of faces to display, something that TQ would have manually increased from 102 to 107 when they added the ninja avatars, for example.As a worst case scenario/work around, I could create a new (normal text-based) NPC named Beautician2, stick them beside the original NPC, and use the regular dialogue interface to list out a bunch of options that players could choose "Face108", "Face109", etc, sorta like the hairstyle NPCs, and let the player mouse over their character to see each of the new ones. I'd like to avoid that if possible though.Does anybody happen to know the secrets to wrestling the Beautician into submission? Quote Link to comment Share on other sites More sharing options...
Spirited Posted June 17, 2021 Share Posted June 17, 2021 Did you change the PlayerFace category in common.ini? [Playerface] MaleFaceAmount=101 FemaleFaceAmount=89 Quote Link to comment Share on other sites More sharing options...
Munsie Posted June 17, 2021 Author Share Posted June 17, 2021 Today I learned that Windows' indexed search doesn't look for matches in the middle of words.Bumping MaleFaceAmount from 107 to 108 did exactly what I was hoping it would. Thanks Spirited. Quote Link to comment Share on other sites More sharing options...
Spirited Posted June 17, 2021 Share Posted June 17, 2021 Yep, you're very welcome. Thanks for being so detailed with your question. Quote Link to comment Share on other sites More sharing options...
Darach Posted June 20, 2021 Share Posted June 20, 2021 I see new people playing around with client side , it's a good thing to do something new .Keep it up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.