Creature model info SF

From Project Skyfire
Jump to: navigation, search

Back to world database list of tables.


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 mediumint(8) unsigned PRI NO 0
bounding_radius float signed NO 0
combat_reach float signed NO 0
gender tinyint(3) unsigned NO 2
modelid_other_gender mediumint(8) unsigned NO 0

Description of the fields

modelid

Display ID from CreatureDisplayInfo.dbc

bounding_radius

This is the distance the creature stands from the player to attack him while in melee.

combat_reach

This is the maximum distance the creature can reach the player in ranged attack.

gender

Gender of the creature

  • 0: Male
  • 1: Female
  • 2: None

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 display id of the other gender.