Jump to content

How to add clothing to NPC?

By asdfpie
in Serverside

Recommended Posts

I'm really surprised no one asked this yet.. I've been trying to find this for a while now, but I've taken matters into my own hands..

I've been trying to find the DBC for changing NPC clothing.. I thought it might have been "CreatureDisplayInfoExtra", I tried to fetch the itemID's in the "m_NPCItemDisplay" columns... and it didn't seem to match the NPC's that I've chosen. If anyone could lead me in the right direction.. that would be great!  Thanks.

EDIT: Using Orc Model, Creature

Link to comment
Share on other sites

Humanoid NPCs are using CreatureDisplaInfoExtra.dbc, but that is there only to equip cloak, head and shoulder items and apply correct hair and other extra geosets. The rest of item displayIDs there are actually just for selecting correct geoset (for arms, legs and so on) based in ItemDisplayInfo.dbc.

Actual texture items need to be "equipped" on NPC's texture. The last field in CreatureDisplayInfoExtra.dbc is for storing refference to creature's baked texture (located in Textures/BakedNPCTextures/). Those textures are used. Yes, that means that creatures don't have texture items actually equiped on them, they have only geosets set up and the rest is just a texture.

For creating baked texture with skin and items on it you need to "create" NPC in WMV and export its texture. I've done a tool for creating custom humanoid NPCs btw.:

 

English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

I am now completely retired from modding. I am still reading PMs and reacting to them, however, I am not keeping up to date with what is going on in the community and my ability to help you is becoming very limited - I no longer remember some things, I don't have tools installed anymore, and I don't know what is up to date nowadays.

Link to comment
Share on other sites

I describe that in that tool's description. Those are just saves of characters made in WMV. Its not WoW file. You can save character by pressing F7 in WMV - that save is .chr file. And that is input for my tool.

English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

I am now completely retired from modding. I am still reading PMs and reacting to them, however, I am not keeping up to date with what is going on in the community and my ability to help you is becoming very limited - I no longer remember some things, I don't have tools installed anymore, and I don't know what is up to date nowadays.

Link to comment
Share on other sites

×
×
  • Create New...