[DiscordArchive] Failing to add a new hairstyle to the game. Wil...
[DiscordArchive] Failing to add a new hairstyle to the game. Wil...
Archived author: Needle • Posted: 2025-06-29T06:27:13.251000+00:00
Original source
Archived author: Needle • Posted: 2025-06-29T06:27:14.227000+00:00
Original source
Thread automatically created by Aristotel in <#415944535718494208>
Archived author: Aristotel • Posted: 2025-06-29T06:34:27.312000+00:00
Original source
1. Created a hairstyle mesh in Blender, rigged it to the armature, weight painted it to the bone, assigned the same material as existing hairstyles, assigned a unique hair Geoset ID (34) that is not used by existing hairstyles
2. Successfully exported the model and placed it into the game.
3. Edited CharHairGeosets.dbc: created a new line, 3 for race id (dwarf), 0 for sex id (male), 11 for variation ID (checked what variation ids other existing hairstyles use for dwarves, they are up to 10), 34 in GeosetID (same ID as i assigned to the model in blender)
4. Edited CharSections.dbc: created 13 new lines, 3 for race id, 0 for sex id, 3 for base section column (hair), used the same textures as existing hairstyles in TextureName_1 column, used 17 and 5 for flags (same as existing hairstyles), 11 for variation index (same as in CharHairGeosets.dbc) and ColorIndex from 0 to 12 for all 13 lines.
5. Edited CharacterFacialHairStyles.dbc: 3 for race, 0 for sex, 11 for VariationID (same as in CharHairGeosets.dbc), and 34 for Geoset1.
That's all I've done and the new hairstyle doesn't appear in the character creation screen and it also doesn't appear in WMV when viewing the model there. Anybody got ideas for why this can be the case?
Archived author: Kaev • Posted: 2025-06-29T07:56:23.351000+00:00
Original source
Did you put your changed DBCs in a new MPQ patch and are you sure that it is loaded by the client? In WMV you might have to add your new patch to the loaded MPQ list
Archived author: Aristotel • Posted: 2025-06-29T08:13:45.296000+00:00
Original source
The DBCs i edited are in the patch-A.mpq folder, i edited them directly there. Do I still need to add them to a custom patch? Sorry if it’s a noob question, all the dbc edits i’ve done before i did through tswow
Archived author: Aristotel • Posted: 2025-06-29T08:17:04.715000+00:00
Original source
Added them to a custom patch with MPQ editor and still no new hairstyle
Archived author: Kaev • Posted: 2025-06-29T08:35:54.702000+00:00
Original source
iirc WMV doesn't read MPQ folders so that's probably why they don't appear there.
And your TSWoW probably enables the client from reading the files from a MPQ folder so that should be fine for the client. No need for a custom patch then. Just make sure that these DBC files are in no "later" patch (e.g. patch-B) because they will overwrite your changes with that.
Just wanted to get the basics clear, never added a new hairstyle myself so i can't really help any further here, sorry
Archived author: Aristotel • Posted: 2025-06-29T08:57:17.122000+00:00
Original source
It's ok, thank you for directions. I did add the DBCs to patch-Z instead and it also didn't work. So I am either missing something crucial in the .m2 itself or the DBCs (I am leaning towards the latter)
Archived author: Vlad • Posted: 2025-06-30T02:22:15.253000+00:00
Original source
How many total hairstyles are there? I think there's a hard limit on how many customizations you can have in 335
Archived author: Aristotel • Posted: 2025-06-30T03:52:08.636000+00:00
Original source
15 originally for a dwarf, i am trying to add a 16th