Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Failing to add a new hairstyle to the game. Wil...

[DiscordArchive] Failing to add a new hairstyle to the game. Wil...

[DiscordArchive] Failing to add a new hairstyle to the game. Wil...

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
07-06-2025, 06:39 AM
#11
Archived author: Aristotel • Posted: 2025-07-06T06:39:26.415000+00:00
Original source

Managed to finally do it! Turns out I was mistakenly adding my new hairstyle to the CharFacialHairstyles.dbc, linking the hairstyle geoset id there.

What I learned:
1. Create a mesh for your hairstyle >rig to your armature > assign the same material as existing hairstyles > Weight Paint it to the correct bone (usually head) > Delete extra bones from vertex groups > in Object Properties assign a unique Geoset ID (unique to other existing hairstyles).
2. Modify CharHairGeosets.dbc: check which VariationIndex the race/sex you want to add the hair to has already and create a new one. In the GeosetID column choose the GeosetID from Object Properties of your .m2 model.
3.Modify CharSections.dbc: you will need to add multiple new lines here, each for every existing hair color of your character. The textures you use here can be the same as existing ones, so just copy them from relevant existing lines. Assign proper VariationIndex (from CharHairGeosets.dbc). As for flags, I used 17 and 5, the same as existing hairstyles.
3.You can also modify the BarberShopStyle.dbc for the hairstyle to appear there, but I don't think it's mandatory for the hairstyle to appear in the character creation screen
rektbyfaith
07-06-2025, 06:39 AM #11

Archived author: Aristotel • Posted: 2025-07-06T06:39:26.415000+00:00
Original source

Managed to finally do it! Turns out I was mistakenly adding my new hairstyle to the CharFacialHairstyles.dbc, linking the hairstyle geoset id there.

What I learned:
1. Create a mesh for your hairstyle >rig to your armature > assign the same material as existing hairstyles > Weight Paint it to the correct bone (usually head) > Delete extra bones from vertex groups > in Object Properties assign a unique Geoset ID (unique to other existing hairstyles).
2. Modify CharHairGeosets.dbc: check which VariationIndex the race/sex you want to add the hair to has already and create a new one. In the GeosetID column choose the GeosetID from Object Properties of your .m2 model.
3.Modify CharSections.dbc: you will need to add multiple new lines here, each for every existing hair color of your character. The textures you use here can be the same as existing ones, so just copy them from relevant existing lines. Assign proper VariationIndex (from CharHairGeosets.dbc). As for flags, I used 17 and 5, the same as existing hairstyles.
3.You can also modify the BarberShopStyle.dbc for the hairstyle to appear there, but I don't think it's mandatory for the hairstyle to appear in the character creation screen

rektbyfaith
Administrator
0
07-06-2025, 07:46 AM
#12
Archived author: Kaev • Posted: 2025-07-06T07:46:06.007000+00:00
Original source

Thanks for sharing the solution
rektbyfaith
07-06-2025, 07:46 AM #12

Archived author: Kaev • Posted: 2025-07-06T07:46:06.007000+00:00
Original source

Thanks for sharing the solution

rektbyfaith
Administrator
0
07-06-2025, 04:15 PM
#13
Archived author: Aristotel • Posted: 2025-07-06T16:15:35.232000+00:00
Original source

Aaaand I came across another problem. The hairstyle is there, it's all good.

But when trying to create a character, it says: Error creating a character.

According to AI, it's because my client has the new hairstyle in .dbcs, but the server doesn't.

Is that correct? If yes, can someone plz guide me towards adding it to the server?
rektbyfaith
07-06-2025, 04:15 PM #13

Archived author: Aristotel • Posted: 2025-07-06T16:15:35.232000+00:00
Original source

Aaaand I came across another problem. The hairstyle is there, it's all good.

But when trying to create a character, it says: Error creating a character.

According to AI, it's because my client has the new hairstyle in .dbcs, but the server doesn't.

Is that correct? If yes, can someone plz guide me towards adding it to the server?

rektbyfaith
Administrator
0
07-06-2025, 04:16 PM
#14
Archived author: Kaev • Posted: 2025-07-06T16:16:50.200000+00:00
Original source

You need to replace the DBC file in your server files DBC folder. There's probably a dbc folder in your server directory
rektbyfaith
07-06-2025, 04:16 PM #14

Archived author: Kaev • Posted: 2025-07-06T16:16:50.200000+00:00
Original source

You need to replace the DBC file in your server files DBC folder. There's probably a dbc folder in your server directory

rektbyfaith
Administrator
0
07-06-2025, 04:19 PM
#15
Archived author: Aristotel • Posted: 2025-07-06T16:19:31.923000+00:00
Original source

I am using TsWoW, any idea where it can be?
rektbyfaith
07-06-2025, 04:19 PM #15

Archived author: Aristotel • Posted: 2025-07-06T16:19:31.923000+00:00
Original source

I am using TsWoW, any idea where it can be?

rektbyfaith
Administrator
0
07-06-2025, 04:21 PM
#16
Archived author: Kaev • Posted: 2025-07-06T16:21:37.872000+00:00
Original source

With TSWoW you usually don't modify DBCs directly. You write datascripts that will generate the needed DBC stuff for the client and server for you. Maybe the documentation is already what you need: https://tswow.github.io/tswow-wiki/docum...ripts.html
rektbyfaith
07-06-2025, 04:21 PM #16

Archived author: Kaev • Posted: 2025-07-06T16:21:37.872000+00:00
Original source

With TSWoW you usually don't modify DBCs directly. You write datascripts that will generate the needed DBC stuff for the client and server for you. Maybe the documentation is already what you need: https://tswow.github.io/tswow-wiki/docum...ripts.html

rektbyfaith
Administrator
0
07-06-2025, 04:25 PM
#17
Archived author: Kaev • Posted: 2025-07-06T16:25:13.804000+00:00
Original source

If you don't wanna write a datascript (e.g. if you're an artist and you don't really care about the technical side and/or "proper" TSWoW way), you can take a look at the migration guide and check out the DBC part: https://tswow.github.io/tswow-wiki/migrating/

This way you can continue with doing it the current way you're doing (the non-TSWoW way of modding)
rektbyfaith
07-06-2025, 04:25 PM #17

Archived author: Kaev • Posted: 2025-07-06T16:25:13.804000+00:00
Original source

If you don't wanna write a datascript (e.g. if you're an artist and you don't really care about the technical side and/or "proper" TSWoW way), you can take a look at the migration guide and check out the DBC part: https://tswow.github.io/tswow-wiki/migrating/

This way you can continue with doing it the current way you're doing (the non-TSWoW way of modding)

rektbyfaith
Administrator
0
07-06-2025, 04:29 PM
#18
Archived author: Aristotel • Posted: 2025-07-06T16:29:15.150000+00:00
Original source

Thank you, will try doing it that way
rektbyfaith
07-06-2025, 04:29 PM #18

Archived author: Aristotel • Posted: 2025-07-06T16:29:15.150000+00:00
Original source

Thank you, will try doing it that way

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)