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.
This commit is contained in:
Kelsi 2026-05-06 01:41:53 -07:00
parent 4fd285b5c4
commit 552e0d22e2

View file

@ -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;