From 552e0d22e2e7737deae5a3ebc17994c7ef2f6a0e Mon Sep 17 00:00:00 2001 From: Kelsi Date: Wed, 6 May 2026 01:41:53 -0700 Subject: [PATCH] feat(editor): export creature/faction/item DBCs alongside zone DBCs Spawned NPCs reference CreatureDisplayInfo, CreatureModelData, faction templates, etc. Without exporting these the JSON DBC pack only covered terrain data and exported zones couldn't resolve creature display IDs on a clean install. Added: CreatureDisplayInfo, CreatureModelData, CreatureType, CreatureFamily, FactionTemplate, Faction, ItemDisplayInfo. --- tools/editor/dbc_exporter.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tools/editor/dbc_exporter.cpp b/tools/editor/dbc_exporter.cpp index feae64db..ea4ec2d4 100644 --- a/tools/editor/dbc_exporter.cpp +++ b/tools/editor/dbc_exporter.cpp @@ -65,7 +65,17 @@ int DBCExporter::exportZoneDBCs(pipeline::AssetManager* am, "SoundAmbience.dbc", "GroundEffectTexture.dbc", "GroundEffectDoodad.dbc", - "LiquidType.dbc" + "LiquidType.dbc", + // Creature/NPC display data so spawned creatures can be looked up + // without the original game DBCs. + "CreatureDisplayInfo.dbc", + "CreatureModelData.dbc", + "CreatureType.dbc", + "CreatureFamily.dbc", + "FactionTemplate.dbc", + "Faction.dbc", + // Item display data — buildings/decorations may reference these + "ItemDisplayInfo.dbc" }; int exported = 0;