Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: shade007 on January 15, 2012, 10:34:17 pm

Title: [QUESTION] Add to new races.
Post by: shade007 on January 15, 2012, 10:34:17 pm
What files should I change to get a new race, not only in menu but in the game. For example, I want to replace by Dwarf to the Vrykul and I'm correct file ChrRaces.dbc:
(http://imagr.eu/up/4f134612f25725_lol3.png)
That's what I get:
It is on the menu:
(http://imagr.eu/up/4f1345daf0c447_lol1.png)
It in the game:
(http://imagr.eu/up/4f1345fe2e1d04_lol2.png)
Sorry for my bad English.
Please help me =)
Title: Re: [QUESTION] Add to new races.
Post by: Steff on January 15, 2012, 11:33:47 pm
Use wow dev wiki :)

http://www.pxr.dk/wowdev/wiki/index.php ... rRaces.dbc (http://www.pxr.dk/wowdev/wiki/index.php?title=ChrRaces.dbc" onclick="window.open(this.href);return false;)

5    MaleModel    iRefID    only used for the char creation/selection screen. Ingame the server sets the model.
6    FemaleModel    iRefID    only used for the char creation/selection screen. Ingame the server sets the model.

Have you copied the DBC to the Server DBC folder? The server get the DisplayId form the dbc and set it during char creation.
Title: Re: [QUESTION] Add to new races.
Post by: schlumpf on January 16, 2012, 07:47:30 am
During selection, the local DBC is read. In game, the server sends it. It depends on your server, if the model is read from the DBC or is hardcoded elsewhere.
Title: Re: [QUESTION] Add to new races.
Post by: Steff on January 16, 2012, 08:55:11 am
You are right. Trinity just read it form the DBC in Player::create().
Title: Re: [QUESTION] Add to new races.
Post by: shade007 on January 17, 2012, 07:22:18 pm
I have one more question. In what file are skins mobs, or is it too on the server?
(http://imagr.eu/up/4f15bc38859f99_WoWScrnShot_011712_222005.jpg)
Title: Re: [QUESTION] Add to new races.
Post by: schlumpf on January 17, 2012, 07:37:23 pm
Server sends display id, client looks up in CreatureDisplayInfo.dbc, uses CreatureDisplayInfoExtra.dbc for finding items to show.