Idea Motion Group
လူၾကီးမင္းတြင္ Idea Motion Group မွမွတ္ပံုတင္ျပီးေသာ Member Account ရွိပါက Log In မွ တဆင့္ဝင္ေရာက္ပါ။
New Guest ျဖစ္ပါက Register ျပဳလုပ္၍ဝင္ေရာက္ေပးပို႔ႏိုင္ပါသည္။။
*********Idea Motion Group*********
Log in

I forgot my password

Latest topics
Country Codes

Timer

Total
  • >

/>

Test

[DBC]How to create custom gameobject

View previous topic View next topic Go down

default [DBC]How to create custom gameobject

Post   on Fri Jul 06, 2012 7:48 am

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? [Only admins are allowed to see this image]

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 [Only admins are allowed to see this image]

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
[Only admins are allowed to see this image]


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


Join date : 1970-01-01

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum