This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Add to new races.  (Read 1789 times)

shade007

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 13
    • View Profile
[QUESTION] Add to new races.
« 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:

That's what I get:
It is on the menu:

It in the game:

Sorry for my bad English.
Please help me =)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Add to new races.
« Reply #1 on: January 15, 2012, 11:33:47 pm »
Use wow dev wiki :)

http://www.wowdev.wiki/index.php ... rRaces.dbc

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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Add to new races.
« Reply #2 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Add to new races.
« Reply #3 on: January 16, 2012, 08:55:11 am »
You are right. Trinity just read it form the DBC in Player::create().
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

shade007

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 13
    • View Profile
Re: [QUESTION] Add to new races.
« Reply #4 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Add to new races.
« Reply #5 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »