Welcome to 4th Tutorial how to edit dbc.
This time we will learn how to make wmo objects spawnable.
Have you ever wondered can silvermoon city be spawned or Icecrown citadel.
Well with this guide you will learn how to do that.
Tools needed for this operation are:
Mywarcraftstudio
Model viewer
Dbc editor
dbcutil
7DBC
Like in other guides we will start by opening GameObjectDisplayInfo converted in csv...
Now to define fields...
Code:
Field1 - id (displayid for object)
Field2 - path (where is located model for that object)
Field3 Stand, SoundEntries
Field4 Open, SoundEntries
Field5 Loop, SoundEntries
Field6 Close, SoundEntries
Field7 Destroy, SoundEntries
Field8 Opened, SoundEntries
Field9 Custom0, SoundEntries
Field10 Custom1, SoundEntries
Field11 Custom2, SoundEntries
Field12 Custom3, SoundEntries
Field13-18 - locations you can put there 0 or copy like rest gameobjects have..
Field19 - ObjectEffectPackage only on those flying ships in Icecrown.
Now since you know what each field represent lets start editing.Shall we?
Start model viewer and go to World category/selection
For mine example i will try to make one object spawnable and that is db_red_dragon_shrine_leafs.m2
Very nice for some trees
First what i will do is open GameobjectDisplayInfo.csv and go to the end.
Then i will add in filed one one custom id(displayid)
100062 then in field 2 location to it
World/Expansion02/doodads/dragonblight/db_red_dragon_shrine_leafs.mdx
not m2 put there mdx
Lets see what we have
Now save it.. Convert it back with dbcutil program to dbc and add it to patch.
First make new folder call it
DBFilesClient
in that folder add new GameobjectDisplayInfo.dbc
add that folder to patch
Save it.Add to your data folder or enGB/US/Ru make sql for that object.Reload table and Enjoy