[DiscordArchive] I am trying to add a custom NPC to the game (3.3.5 client), but the custom model is ~~not showing~~
[DiscordArchive] I am trying to add a custom NPC to the game (3.3.5 client), but the custom model is ~~not showing~~
Archived author: beardedoref • Posted: 2025-06-24T21:35:42.521000+00:00
Original source
I am trying to add a custom NPC to the game (3.3.5 client), but the custom model is ~~not showing~~ deformed (edit). I believe that I have done everything correctly.
(edit) ~~This is the error: “Creature (Entry: 150000) has no model 32756 defined in table `creature_template_model`, can't load.”~~
Also, I have destroyed the face of all orcs in the game with my patch. (see image)
These are the steps that I took:
- In the SQL creature_template database, I created a new character ID using the values from an existing NPC in game.
- (edit) In the SQL creature_template_model database, I created a entry using the CreatureID from the ID used in the creature_template. (This new Character spawns as intended if I use CreatureDisplayID already in game)
. In the creature_equip_template I created an entry for a held weapon.
- I then created a new entry in CreatureDisplayInfo.dbc and CreatureDisplayInfoExtra.dbc dbc files.
- I created a character in WVMc and exported the model as an fbx.
- I opened the model in blender, downloaded the texture file and converted it to a blp file using BLPConverter.
- I created an MLQ patch with the CreatureDisplayInfo.dbc and CreatureDisplayInfoExtra.dbc dbc files (DBFilesClient folder) and the blp file (Textures\BakedNPCTextures).
- (edit) I then updated the CreatureDisplayID in the SQL creature_template_model database to the ID in the CreatureDisplayInfo dbc file.
- (edit) I added an entry in the SQL database file creature_model_info using the CreatureDisplayInfo DBC ID.
In game, the new NPC is ~~invisible~~ deformed (edit) and all orcs have a deformed face.
Any help would be greatly appreciated.
![[Image: orc.png?ex=690c6bfb&is=690b1a7b&hm=a7f5f...2c71c4d20&]](https://cdn.discordapp.com/attachments/1387184435035766855/1387184493726662666/orc.png?ex=690c6bfb&is=690b1a7b&hm=a7f5f957c1880268ad101173513642f0c312f74b81926a0ac3f08162c71c4d20&)
Archived author: beardedoref • Posted: 2025-06-24T21:35:55.995000+00:00
Original source
![[Image: orc.png?ex=690c6bfb&is=690b1a7b&hm=a7f5f...2c71c4d20&]](https://cdn.discordapp.com/attachments/1387184435035766855/1387184493726662666/orc.png?ex=690c6bfb&is=690b1a7b&hm=a7f5f957c1880268ad101173513642f0c312f74b81926a0ac3f08162c71c4d20&)
Archived author: beardedoref • Posted: 2025-06-24T21:39:04.217000+00:00
Original source
<@1342173675532718164> I am not sure if you are able to help with this, but I would appreciate any insight you might have.
Archived author: Rev • Posted: 2025-06-24T21:41:37.609000+00:00
Original source
when adding custom displayids, you must populate the creature_model_info table
Archived author: Rev • Posted: 2025-06-24T21:41:54.866000+00:00
Original source
otherwise the npc will either be invisible or not spawn at all
Archived author: beardedoref • Posted: 2025-06-24T21:57:28.939000+00:00
Original source
I forgot to list that step above. I added an edit: In the SQL creature_template_model database, I created a entry using the CreatureID from the ID used in the creature_template. (This new Character spawns as intended if I use CreatureDisplayID already in game)
Archived author: beardedoref • Posted: 2025-06-24T21:58:19.642000+00:00
Original source
I also corrected this step above: (edit) I then updated the CreatureDisplayID in the SQL creature_template_model database to the ID in the CreatureDisplayInfo dbc file.
Archived author: Mithria • Posted: 2025-06-24T23:05:06.766000+00:00
Original source
As Rev said, add a row to creature_model_info. You only did creature_template_model it seems.
![[Image: orc2.png?ex=690c85f8&is=690b3478&hm=a45c...dda50c5ae&]](https://cdn.discordapp.com/attachments/1387184435035766855/1387212397223215114/orc2.png?ex=690c85f8&is=690b3478&hm=a45c824b846b9eec78b1a9fca6766286ec4b0080fcdb791f8bd134ddda50c5ae&)
Archived author: beardedoref • Posted: 2025-06-24T23:26:48.711000+00:00
Original source
Thank you! He is now in game, but he doesn't look great. lol Any idea what would cause this? All of the other orcs are still deformed as well.
![[Image: orc2.png?ex=690c85f8&is=690b3478&hm=a45c...dda50c5ae&]](https://cdn.discordapp.com/attachments/1387184435035766855/1387212397223215114/orc2.png?ex=690c85f8&is=690b3478&hm=a45c824b846b9eec78b1a9fca6766286ec4b0080fcdb791f8bd134ddda50c5ae&)
Archived author: beardedoref • Posted: 2025-06-24T23:59:35.555000+00:00
Original source
I am wondering if it there is an issue with my texture file but I don't understand why it would be effecting all orc NPCs.