DB/ChrRaces: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
__TOC__
Information about character creation and selection screens.  
Information about character creation and selection screens.  


==0.5.3.3368==
==Classic==
===0.5.3.3368===
====Struct====
  struct ChrRacesRec {
  struct ChrRacesRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 21: Line 24:
   {{Template:Type|langstringref}} m_name_lang;
   {{Template:Type|langstringref}} m_name_lang;
  };
  };
==Structure==
 
==Wrath==
==3.0.5.9294==
====Table====
{| style="background:#FCFCFC; color:black"
{| style="background:#FCFCFC; color:black"
|-  
|-  
Line 72: Line 78:
|-
|-
| 69 || required_expansion || Integer || 0 for classic and non-playables, 1 for Burning Crusade
| 69 || required_expansion || Integer || 0 for classic and non-playables, 1 for Burning Crusade
|}
==3.3.5.12340==
====Table====
{| style="background:#FCFCFC; color:black"
|-
! width="80" | Column
! width="180 " | Field
! width="80" | Type
! width="500" | Notes
|-
| 1  || ID || Integer ||
|-  
|-  
| cata  || unalteredVisualRaceID || Integer ||
| 2  || Flags || Integer || See Below
|- style="background:#F0F8FF;"
| 3  || [[FactionTemplate.dbc|FactionID]] || iRefID || facton template id. The order in the creation screen depends on this.
|- style="background:#F0F8FF;"
| 4  || [[SoundEntries.dbc|Exploration]] || iRefID || Played on exploring zones with SMSG_EXPLORATION_EXPERIENCE.
|- style="background:#F0F8FF;"
| 5 || [[CreatureDisplayInfo.dbc|MaleModel]] || iRefID || only used for the char creation/selection screen. Ingame the server sets the model.
|- style="background:#F0F8FF;"
| 6 || [[CreatureDisplayInfo.dbc|FemaleModel]] || iRefID || only used for the char creation/selection screen. Ingame the server sets the model. 
|-
| 7 || ClientPrefix || String || A short form of the name. Used for helmet models.
|-
| 8  || Unknown || Float || This is 1.0 for the most. Maybe some sort of size or speed. -- removed in cata?
|-
| 9  || BaseLanguage || Integer || 1 = Horde, 7 = Alliance & not playable
|- style="background:#F0F8FF;"
| 10  || [[CreatureType.dbc|creatureType]] || iRefID || Always 7 (humanoid).
|-
| 11  || ResSicknessSpellID || Integer || Always 15007.
|-
| 12 || SplashSoundID || Integer || 1090 for dwarfs, 1096 for the others. Getting stored in CGUnit at CGUnit::PostInit.
|-
| 13  || clientFileString || String || Same as the one used in model-filepathes.
|- style="background:#F0F8FF;"
| 14  || [[CinematicSequences.dbc|cinematicSequenceID]] || iRefID || Used for the opening cinematic.
|-
| cata  || alliance || Integer ||
|-
| 15-31  || RaceNameNeutral || [[Loc]] || A name to display.
|-
| 32-48  || RaceNameFemale || [[Loc]] || always is NULL for zhCN.
|-
| 49-65  || RaceNameMale || [[Loc]] || always is NULL for zhCN.
|-
| 66  || facialHairCustomization || String || Internal names for the facial features.
|-
| 67  || facialHairCustomization || String || The localized ones are in luas.
|-
| 68  || hairCustomization || String ||
|-
| 69 || required_expansion || Integer || 0 for classic and non-playables, 1 for Burning Crusade
|}
|}
==6.0.1.18179==
 
==Warlords==
===6.0.1.18179===
====Struct====
  struct ChrRacesRec {
  struct ChrRacesRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 113: Line 174:
  };
  };


==6.0.3.19243==
===6.0.3.19243===
====Struct====
  struct ChrRacesRec {
  struct ChrRacesRec {
   uint32_t m_ID;
   uint32_t m_ID;
Line 171: Line 233:




[[Category:DBC]][[Category:3.0.5.9294]][[Category:DBC_WotLK]]
[[Category:DBC]]
[[Category:DBC_WotLK]][[Category:3.0.5.9294]][[Category:3.3.5.12340]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]][[Category:6.0.3.19243]]
[[Category:DBC_WoD]][[Category:6.0.1.18179]][[Category:6.0.3.19243]]

Revision as of 01:48, 14 July 2016

Information about character creation and selection screens.

Classic

0.5.3.3368

Struct

struct ChrRacesRec {
  uint32_t m_ID;
  uint32_t m_flags;
  uint32_t m_factionID;
  uint32_t m_MaleDisplayId;
  uint32_t m_FemaleDisplayId;
  stringref m_ClientPrefix;
  float m_MountScale;
  uint32_t m_BaseLanguage;
  uint32_t m_creatureType;
  uint32_t m_LoginEffectSpellID;
  uint32_t m_CombatStunSpellID;
  uint32_t m_ResSicknessSpellID;
  uint32_t m_SplashSoundID;
  uint32_t m_startingTaxiNodes;
  stringref m_clientFileString;
  uint32_t m_cinematicSequenceID;
  langstringref m_name_lang;
};

Wrath

3.0.5.9294

Table

Column Field Type Notes
1 ID Integer
2 Flags Integer See Below
3 FactionID iRefID facton template id. The order in the creation screen depends on this.
4 Exploration iRefID Played on exploring zones with SMSG_EXPLORATION_EXPERIENCE.
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.
7 ClientPrefix String A short form of the name. Used for helmet models.
8 Unknown Float This is 1.0 for the most. Maybe some sort of size or speed. -- removed in cata?
9 BaseLanguage Integer 1 = Horde, 7 = Alliance & not playable
10 creatureType iRefID Always 7 (humanoid).
11 ResSicknessSpellID Integer Always 15007.
12 SplashSoundID Integer 1090 for dwarfs, 1096 for the others. Getting stored in CGUnit at CGUnit::PostInit.
13 clientFileString String Same as the one used in model-filepathes.
14 cinematicSequenceID iRefID Used for the opening cinematic.
cata alliance Integer
15-31 RaceNameNeutral Loc A name to display.
32-48 RaceNameFemale Loc always is NULL for zhCN.
49-65 RaceNameMale Loc always is NULL for zhCN.
66 facialHairCustomization String Internal names for the facial features.
67 facialHairCustomization String The localized ones are in luas.
68 hairCustomization String
69 required_expansion Integer 0 for classic and non-playables, 1 for Burning Crusade

3.3.5.12340

Table

Column Field Type Notes
1 ID Integer
2 Flags Integer See Below
3 FactionID iRefID facton template id. The order in the creation screen depends on this.
4 Exploration iRefID Played on exploring zones with SMSG_EXPLORATION_EXPERIENCE.
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.
7 ClientPrefix String A short form of the name. Used for helmet models.
8 Unknown Float This is 1.0 for the most. Maybe some sort of size or speed. -- removed in cata?
9 BaseLanguage Integer 1 = Horde, 7 = Alliance & not playable
10 creatureType iRefID Always 7 (humanoid).
11 ResSicknessSpellID Integer Always 15007.
12 SplashSoundID Integer 1090 for dwarfs, 1096 for the others. Getting stored in CGUnit at CGUnit::PostInit.
13 clientFileString String Same as the one used in model-filepathes.
14 cinematicSequenceID iRefID Used for the opening cinematic.
cata alliance Integer
15-31 RaceNameNeutral Loc A name to display.
32-48 RaceNameFemale Loc always is NULL for zhCN.
49-65 RaceNameMale Loc always is NULL for zhCN.
66 facialHairCustomization String Internal names for the facial features.
67 facialHairCustomization String The localized ones are in luas.
68 hairCustomization String
69 required_expansion Integer 0 for classic and non-playables, 1 for Burning Crusade

Warlords

6.0.1.18179

Struct

struct ChrRacesRec {
  uint32_t m_ID;
  uint32_t m_flags;
  foreign_key<uint32_t, &FactionTemplateRec::m_ID> m_factionID;
  uint32_t m_ExplorationSoundID;
  uint32_t m_MaleDisplayId;
  uint32_t m_FemaleDisplayId;
  stringref m_ClientPrefix;
  uint32_t m_BaseLanguage;
  uint32_t m_creatureType;
  uint32_t m_ResSicknessSpellID;
  uint32_t m_SplashSoundID;
  stringref m_clientFileString;
  uint32_t m_cinematicSequenceID;
  uint32_t m_alliance;
  langstringref m_name_lang;
  langstringref m_name_female_lang;
  langstringref m_name_male_lang;
  stringref m_facialHairCustomization[2];
  stringref m_hairCustomization;
  uint32_t m_race_related;
  uint32_t m_unalteredVisualRaceID;
  uint32_t m_uaMaleCreatureSoundDataID;
  uint32_t m_uaFemaleCreatureSoundDataID;
  uint32_t m_charComponentTextureLayoutID;
  uint32_t m_defaultClassID;
  uint32_t m_createScreenFileDataID;
  uint32_t m_selectScreenFileDataID;
  float m_maleCustomizeOffset[3];
  float m_femaleCustomizeOffset[3];
  uint32_t m_neutralRaceID;
  uint32_t m_lowResScreenFileDataID;
  uint32_t m_HighResMaleDisplayId;
  uint32_t m_HighResFemaleDisplayId;
  uint32_t m_charComponentTexLayoutHiResID;
};

6.0.3.19243

Struct

struct ChrRacesRec {
  uint32_t m_ID;
  uint32_t m_flags;
  uint32_t m_factionID;
  uint32_t m_ExplorationSoundID;
  uint32_t m_MaleDisplayId;
  uint32_t m_FemaleDisplayId;
  string m_ClientPrefix;
  uint32_t m_BaseLanguage;
  uint32_t m_creatureType;
  uint32_t m_ResSicknessSpellID;
  uint32_t m_SplashSoundID;
  string m_clientFileString;
  uint32_t m_cinematicSequenceID;
  uint32_t m_alliance;
  langstringref m_name_lang;
  langstringref m_name_female_lang;
  langstringref m_name_male_lang;
  string m_facialHairCustomizationMale;
  string m_facialHairCustomizationFemale;
  string m_hairCustomization;
  uint32_t m_race_related;
  uint32_t m_unalteredVisualRaceID;
  uint32_t m_uaMaleCreatureSoundDataID;
  uint32_t m_uaFemaleCreatureSoundDataID;
  uint32_t m_charComponentTextureLayoutID;
  uint32_t m_defaultClassID;
  uint32_t m_createScreenFileDataID;
  uint32_t m_selectScreenFileDataID;
  float m_maleCustomizeOffset[3];
  float m_femaleCustomizeOffset[3];
  uint32_t m_neutralRaceID;
  uint32_t m_lowResScreenFileDataID;
  uint32_t m_HighResMaleDisplayId;
  uint32_t m_HighResFemaleDisplayId;
  uint32_t m_charComponentTexLayoutHiResID;
};


Flags

Flag Description
0x1 Not Playable
0x2 Bare Feet
0x4 CGUnit_C::CanCurrentFormMount ( return ( flags ^ 4 ) & 4; ), also: CMD.flags & 0x80.
0x8 Playable Races(without NightElf) and Vrykul(?)
0x80 (Legion(?)+) disallow low res model for demonhunter?