summaryrefslogtreecommitdiff
path: root/docs/creature_model_info.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/creature_model_info.md')
-rw-r--r--docs/creature_model_info.md136
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.