summaryrefslogtreecommitdiff
path: root/docs/creature_model_info.md
blob: 056327103d3c50777936282bfe509eaf70ea4b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# creature\_model\_info

[<-Back-to:World](database-world.md)

**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**

| Field                     | Type         | Attributes | Key | Null | Default | Extra | Comment |
|---------------------------|--------------|------------|-----|------|---------|-------|---------|
| [modelid][1]              | MEDIUMINT | UNSIGNED   | PRI | NO   | 0       |       |         |
| [bounding_radius][2]      | FLOAT        | SIGNED     |     | NO   | 0       |       |         |
| [combat_reach][3]         | FLOAT        | SIGNED     |     | NO   | 0       |       |         |
| [gender][4]               | TINYINT   | UNSIGNED   |     | NO   | 2       |       |         |
| [modelid_other_gender][5] | MEDIUMINT | UNSIGNED   |     | NO   | 0       |       |         |

[1]: #modelid
[2]: #bounding_radius
[3]: #combat_reach
[4]: #gender
[5]: #modelid_other_gender

**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

| Value | Description |
|-------|-------------|
| 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.