[DiscordArchive] I've created some custom creatures and whenever they are targeted, the UI disappears and the screen
[DiscordArchive] I've created some custom creatures and whenever they are targeted, the UI disappears and the screen
Archived author: Xahnder • Posted: 2024-11-13T23:41:09.650000+00:00
Original source
I've created some custom creatures and whenever they are targeted, the UI disappears and the screen goes 'slightly darker'. Any ideas on what might be causing that? I assume a value/table isn't populated somewhere.
2024-11-13_17-39-36.mp4
Archived author: Xahnder • Posted: 2024-11-13T23:42:58.334000+00:00
Original source
For DBC files, I've updated CreatureDisplayInfo.dbc and CreatureModelData.dbc. For SQL, I've updated Creature_Model_Info, Creature_Template_Model, and Creature_Template.
The model doesn't have a camera yet so I set CreatureDisplayInfo.PortraitTextureName but that didn't get it either.
Archived author: Xahnder • Posted: 2024-11-13T23:47:53.271000+00:00
Original source
I don't have the PlayerName attachment yet, but I read that isn't actually required. Going to work on that though w/o any other leads.
Archived author: Titi • Posted: 2024-11-13T23:47:55.449000+00:00
Original source
no camera on the model might be crashing the UI
Archived author: Xahnder • Posted: 2024-11-13T23:48:19.181000+00:00
Original source
I was hoping that wasn't it. I did set CreatureDisplayInfo.PortraitTextureName hoping it would work around that. I'll add a random camera to see what happens.
Archived author: Xahnder • Posted: 2024-11-14T00:47:54.574000+00:00
Original source
Adding a portrait camera (+ lookup) didn't fix it. I'll try the playername attachment next, though that shouldn't crash the UI.
Archived author: Xahnder • Posted: 2024-11-14T13:57:52.272000+00:00
Original source
Added a PlayerName attachment as well as populated CreatureSoundData.dbc. Still having the same issue.
Anyone have any ideas?
Archived author: Xahnder • Posted: 2024-11-14T14:17:39.027000+00:00
Original source
I can confirm it doesn't have anything to do with the M2, as the issue persists if I use an existing model (vid related).
It's probably a missing creature record or artifact. Here are the ones I populated, **are there any missing**?
- CreatureDisplayInfo.dbc
- CreatureModelData.dbc
- CreatureSoundData.dbc
- SQL Table Creature_Model_Info
- SQL Table Creature_Template_Model
- SQL Table Creature_Template
Then I spawn the object with *.npc add*. AzerothCore server.
2024-11-14_08-15-27.mp4
Archived author: Xahnder • Posted: 2024-11-14T14:27:21.483000+00:00
Original source
Fixed the issue. Had to delete and recreate the NPC after making one of the changes noted in this thread.