Forum > Miscellaneous

[QUESTION] Error when adding custom race

<< < (4/6) > >>

Moridhin:
Ok i found RACE_ICON_TCOORDS in this file and it loos like this:

--- Code: ---RACE_ICON_TCOORDS = {
["HUMAN_MALE"] = {0, 0.125, 0, 0.25},
["DWARF_MALE"] = {0.125, 0.25, 0, 0.25},
["GNOME_MALE"] = {0.25, 0.375, 0, 0.25},
["NIGHTELF_MALE"] = {0.375, 0.5, 0, 0.25},

["TAUREN_MALE"] = {0, 0.125, 0.25, 0.5},
["SCOURGE_MALE"] = {0.125, 0.25, 0.25, 0.5},
["TROLL_MALE"] = {0.25, 0.375, 0.25, 0.5},
["ORC_MALE"] = {0.375, 0.5, 0.25, 0.5},

["HUMAN_FEMALE"] = {0, 0.125, 0.5, 0.75},  
["DWARF_FEMALE"] = {0.125, 0.25, 0.5, 0.75},
["GNOME_FEMALE"] = {0.25, 0.375, 0.5, 0.75},
["NIGHTELF_FEMALE"] = {0.375, 0.5, 0.5, 0.75},

["TAUREN_FEMALE"] = {0, 0.125, 0.75, 1.0},  
["SCOURGE_FEMALE"] = {0.125, 0.25, 0.75, 1.0},
["TROLL_FEMALE"] = {0.25, 0.375, 0.75, 1.0},
["ORC_FEMALE"] = {0.375, 0.5, 0.75, 1.0},

["BLOODELF_MALE"] = {0.5, 0.625, 0.25, 0.5},
["BLOODELF_FEMALE"] = {0.5, 0.625, 0.75, 1.0},

["DRAENEI_MALE"] = {0.5, 0.625, 0, 0.25},
["DRAENEI_FEMALE"] = {0.5, 0.625, 0.5, 0.75},

    ["GOBLIN_MALE"]     = {0.5, 0.625, 0, 0.25},
    ["GOBLIN_FEMALE"]   = {0.5, 0.625, 0, 0.25},

    ["FELORC_MALE"]     = {0.5, 0.625, 0, 0.25},
    ["FELORC_FEMALE"]   = {0.5, 0.625, 0, 0.25},  
};
--- End code ---

schlumpf:
So is there an entry for both genders of your race?

Moridhin:
Sorry but i don't get what you mean by that,like raceID...?

schlumpf:
In ChrRaces.dbc, you specify an internal identifier of your race, like HUMAN or NIGHTELF.
The table you have there has to have two entries: YOURRACE_MALE and YOURRACE_FEMALE.
If they are not included, the client won't find them when trying to display race selection icons.

Moridhin:

--- Quote from: "schlumpf" ---In ChrRaces.dbc, you specify an internal identifier of your race, like HUMAN or NIGHTELF.
The table you have there has to have two entries: YOURRACE_MALE and YOURRACE_FEMALE.
If they are not included, the client won't find them when trying to display race selection icons.
--- End quote ---
Sorry but that doesn't make any sense to me,there are no YOURRACE_MALE and YOURRACE_FEMALE entries in ChrRaces.dbc
I just made 2 races playable in this .dbc and add faction,also BaseLanguage and thats it.
Male and female model entries are left by default.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version