diff options
| author | Francesco Borzì <borzifrancesco@gmail.com> | 2019-02-26 18:08:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-26 18:08:42 +0100 |
| commit | 07f4555b2d68397c612ec5ee6611844e4f6d9d21 (patch) | |
| tree | 4eb8139adec79c179419c12bc4da04e463f04c3a /docs/creature_model_info.md | |
| parent | 5de5a3ccf64a174adcec3070cd3bfeb6f6897254 (diff) | |
| parent | 49bdd146a2c870a4a2e5ae8fd77e90204d950fc8 (diff) | |
| download | wiki-07f4555b2d68397c612ec5ee6611844e4f6d9d21.tar.gz wiki-07f4555b2d68397c612ec5ee6611844e4f6d9d21.tar.bz2 wiki-07f4555b2d68397c612ec5ee6611844e4f6d9d21.zip | |
Merge pull request #8 from azerothcore/tc-bulk-import
Bulk import from TC 335 of DB doc
Diffstat (limited to 'docs/creature_model_info.md')
| -rw-r--r-- | docs/creature_model_info.md | 136 |
1 files changed, 127 insertions, 9 deletions
diff --git a/docs/creature_model_info.md b/docs/creature_model_info.md index eebf866..dff4218 100644 --- a/docs/creature_model_info.md +++ b/docs/creature_model_info.md @@ -1,9 +1,127 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [creature_model_info](creature_model_info) - -Column | Type | Description ---- | --- | --- -DisplayID | mediumint(8) unsigned | -BoundingRadius | float | -CombatReach | float | -Gender | tinyint(3) unsigned | -DisplayID_Other_Gender | mediumint(8) unsigned | +# creature\_model\_info + +`Back-to:World` + +**The \`creature\_model\_info\` table** + +This table contains all models of mobs, their gender and other information that are model related. This means that when a creature uses another model, this information will change as well. + +**Structure** + +<table> +<colgroup> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +<col width="12%" /> +</colgroup> +<tbody> +<tr class="odd"> +<td><p><strong>Field</strong></p></td> +<td><p><strong>Type</strong></p></td> +<td><p><strong>Attributes</strong></p></td> +<td><p><strong>Key</strong></p></td> +<td><p><strong>Null</strong></p></td> +<td><p><strong>Default</strong></p></td> +<td><p><strong>Extra</strong></p></td> +<td><p><strong>Comment</strong></p></td> +</tr> +<tr class="even"> +<td><p><a href="#creature_model_info-modelid">modelid</a></p></td> +<td><p>mediumint(8)</p></td> +<td><p>unsigned</p></td> +<td><p>PRI</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +</tr> +<tr class="odd"> +<td><p><a href="#creature_model_info-bounding_radius">bounding_radius</a></p></td> +<td><p>float</p></td> +<td><p>signed</p></td> +<td><p><br /> +</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +</tr> +<tr class="even"> +<td><p><a href="#creature_model_info-combat_reach">combat_reach</a></p></td> +<td><p>float</p></td> +<td><p>signed</p></td> +<td><p><br /> +</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +</tr> +<tr class="odd"> +<td><p><a href="#creature_model_info-gender">gender</a></p></td> +<td><p>tinyint(3)</p></td> +<td><p>unsigned</p></td> +<td><p><br /> +</p></td> +<td><p>NO</p></td> +<td><p>2</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +</tr> +<tr class="even"> +<td><p><a href="#creature_model_info-modelid_other_gender">modelid_other_gender</a></p></td> +<td><p>mediumint(8)</p></td> +<td><p>unsigned</p></td> +<td><p><br /> +</p></td> +<td><p>NO</p></td> +<td><p>0</p></td> +<td><p><br /> +</p></td> +<td><p><br /> +</p></td> +</tr> +</tbody> +</table> + +**Description of the fields** + +### modelid + +Display ID from [CreatureDisplayInfo.dbc](CreatureDisplayInfo) + +### bounding\_radius + +This field is unused. It's purpose is currently unknown. It may or may not be linked to path-finding. + +### combat\_reach + +This value is the unit's radius in term of game mechanics: The bigger this value is, the higher the unit's range is and also the further away it can get hit from. + +### gender + +Gender of the creature + +- 0: Male +- 1: Female +- 2: None + + Note: do not modify this field without sniffs or talking to Kinzcool before (ref commit: http://git.io/T7RLmA). + +### modelid\_other\_gender + +Point to Creature\_model\_info.modelid. +When the entry is gender male (0) or female (1), this value can point to the opposite gender counterpart. |
