-
Notifications
You must be signed in to change notification settings - Fork 48
creature_template_addon
Back to world database list of tables.
define different things that are applied on creatures when they are
loaded, either by
`creature`.`guid`
or
`creature_template`.`entry`.
So two creatures using the same creature_template_addon can look
different, if one is additionally defined in creature_addon.
Through the use of the fields in this table, many things can be changed about the outward visual appearance of the creature. Potential usage examples are: to have the creature be mounted, to have it emote something, to have it display an aura effect, etc.
NOTE:
- A creature_addon record will override a creature_template_addon record should they overlap on the same creature.
- The data for this table is largely incomplete and is mostly just a regurgitation of what the client receives from the server. This article is a WIP as to what all the possible values are.
Field | Type | Null | Key | Default | Extra |
---|---|---|---|---|---|
entry/guid | mediumint(8) unsigned | NO | PRI | 0 | |
mount | mediumint(8) unsigned | NO | 0 | ||
bytes1 | int(10) unsigned | NO | 0 | ||
b2_0_sheath | tinyint(3) unsigned | NO | 0 | ||
b2_1_flags | tinyint(3) unsigned | NO | 0 | ||
emote | mediumint(8) unsigned | NO | 0 | ||
moveflags | int(10) unsigned | NO | 0 | ||
auras | text | YES |
For creature_template_addon, this field signifies the creature template ID. It will affect all spawned creatures using that template ID. For creature_addon, this field signifies a unique creature guid. It will affect just that creature whose GUID matches the one specified here.
The model ID of the mount to be used to make the creature appear mounted. The value here overrides the value for the creature’s unit field UNIT_FIELD_MOUNTDISPLAYID. List of known values and what their visual effects on the creature
(UNIT_FIELD_BYTES_1,0) - StandState
Bit | Name | Comment |
---|---|---|
0 | UNIT_STAND_STATE_STAND | normal behavior |
1 | UNIT_STAND_STATE_SIT | sitting on ground |
2 | UNIT_STAND_STATE_SIT_CHAIR | sitting on normal chair |
3 | UNIT_STAND_STATE_SLEEP | sleeping |
4 | UNIT_STAND_STATE_SIT_LOW_CHAIR | sitting on low chair |
5 | UNIT_STAND_STATE_SIT_MEDIUM_CHAIR | sitting on medium chair |
6 | UNIT_STAND_STATE_SIT_HIGH_CHAIR | sitting on high chair |
7 | UNIT_STAND_STATE_DEAD | play dead |
8 | UNIT_STAND_STATE_KNEEL | kneel |
9 | UNIT_STAND_STATE_CUSTOM | Depends on model animation. Submerge, freeze, hide, hibernate, rest |
(UNIT_FIELD_BYTES_1,3) used instead of bytes1 in some cases.
Bitmask / Value | Name | Comment |
---|---|---|
0x01 | UNIT_BYTE1_FLAG_ALWAYS_STAND | always stand state |
0x02 | UNIT_BYTE1_FLAG_FLY_ANIM | Creature that can fly and are not on the ground appear to have this flag. If they are on the ground, flag is not present. |
0x04 | UNIT_BYTE1_FLAG_UNTRACKABLE | untrackable |
0x200 | ? | related to player controlled pet LoyaltyLevel? |
0x400 | ? | related to player controlled pet LoyaltyLevel? |
1536 | ? | related to player controlled pet LoyaltyLevel? |
65536 | ? | Linked to Defensive Stance? (not actively added flag?) StandFlags |
131072 | ? | no name & health bar visible with plate mode on (name only when targeted) Linked to Stealth? Linked to DeathState? (not actively added flag?) StandFlags |
1048576 | ? | Linked to Defensive Stance? (not actively added flag?) StandMiscFlags |
1114112 | ? | Linked to Battle Stance (not actively added flag?) StandMiscFlags |
33554432 | ? | Linked to Stealth? (not actively added flag?) StandMiscFlags |
0xFF | UNIT_BYTE1_FLAG_ALL | all |
(UNIT_FIELD_BYTES_2,0)
Bit | Name | Comment |
---|---|---|
0 | SHEATH_STATE_UNARMED | all weapons sheathed |
1 | SHEATH_STATE_MELEE | melee weapon(s) unsheathed |
2 | SHEATH_STATE_RANGED | ranged weapon(s) unsheathed |
(UNIT_FIELD_BYTES_2,1)
Bit | Name | Comment |
---|---|---|
16 | UNIT_BYTE2_CREATURE_DEBUFF_LIMIT | ? |
40 | UNIT_BYTE2_PLAYER_CONTROLLED_DEBUFF_LIMIT | Player Pet, Player controlled, no default spawn |
Emote ID that the creature should continually perform.
COMPLETE LIST OF EMOTES CAN BE FOUND IN: Emotes.dbc
(They Are Different Between Client Versions
classic,
tbc,
wotlk
Bit | Name | Bit | Name |
---|---|---|---|
0 | EMOTE_ONESHOT_NONE | 400 | EMOTE_STATE_DANCESPECIAL |
1 | EMOTE_ONESHOT_TALK | 401 | EMOTE_ONESHOT_DANCESPECIAL |
2 | EMOTE_ONESHOT_BOW | 402 | EMOTE_ONESHOT_CUSTOMSPELL01 |
3 | EMOTE_ONESHOT_WAVE | 403 | EMOTE_ONESHOT_CUSTOMSPELL02 |
4 | EMOTE_ONESHOT_CHEER | 404 | EMOTE_ONESHOT_CUSTOMSPELL03 |
5 | EMOTE_ONESHOT_EXCLAMATION | 405 | EMOTE_ONESHOT_CUSTOMSPELL04 |
6 | EMOTE_ONESHOT_QUESTION | 406 | EMOTE_ONESHOT_CUSTOMSPELL05 |
7 | EMOTE_ONESHOT_EAT | 407 | EMOTE_ONESHOT_CUSTOMSPELL06 |
10 | EMOTE_STATE_DANCE | 408 | EMOTE_ONESHOT_CUSTOMSPELL07 |
11 | EMOTE_ONESHOT_LAUGH | 409 | EMOTE_ONESHOT_CUSTOMSPELL08 |
12 | EMOTE_STATE_SLEEP | 410 | EMOTE_ONESHOT_CUSTOMSPELL09 |
13 | EMOTE_STATE_SIT | 411 | EMOTE_ONESHOT_CUSTOMSPELL10 |
14 | EMOTE_ONESHOT_RUDE | 412 | EMOTE_STATE_EXCLAIM |
15 | EMOTE_ONESHOT_ROAR | 415 | EMOTE_STATE_SIT_CHAIR_MED |
16 | EMOTE_ONESHOT_KNEEL | 422 | EMOTE_STATE_SPELLEFFECT_HOLD |
17 | EMOTE_ONESHOT_KISS | 423 | EMOTE_STATE_EAT_NO_SHEATHE |
18 | EMOTE_ONESHOT_CRY | 424 | EMOTE_STATE_MOUNT |
19 | EMOTE_ONESHOT_CHICKEN | 425 | EMOTE_STATE_READY2HL |
20 | EMOTE_ONESHOT_BEG | 426 | EMOTE_STATE_SIT_CHAIR_HIGH |
21 | EMOTE_ONESHOT_APPLAUD | 427 | EMOTE_STATE_FALL |
22 | EMOTE_ONESHOT_SHOUT | 428 | EMOTE_STATE_LOOT |
23 | EMOTE_ONESHOT_FLEX | 429 | EMOTE_STATE_SUBMERGED_NEW |
24 | EMOTE_ONESHOT_SHY | 430 | EMOTE_ONESHOT_COWER |
25 | EMOTE_ONESHOT_POINT | 431 | EMOTE_STATE_COWER |
26 | EMOTE_STATE_STAND | 432 | EMOTE_ONESHOT_USESTANDING |
27 | EMOTE_STATE_READYUNARMED | 433 | EMOTE_STATE_STEALTH_STAND |
28 | EMOTE_STATE_WORK | 434 | EMOTE_ONESHOT_OMNICAST_GHOUL |
29 | EMOTE_STATE_POINT | 435 | EMOTE_ONESHOT_ATTACKBOW |
30 | EMOTE_STATE_NONE | 436 | EMOTE_ONESHOT_ATTACKRIFLE |
33 | EMOTE_ONESHOT_WOUND | 437 | EMOTE_STATE_SWIM_IDLE |
34 | EMOTE_ONESHOT_WOUNDCRITICAL | 438 | EMOTE_STATE_ATTACK_UNARMED |
35 | EMOTE_ONESHOT_ATTACKUNARMED | 439 | EMOTE_ONESHOT_SPELLCAST_W_SOUND |
36 | EMOTE_ONESHOT_ATTACK1H | 440 | EMOTE_ONESHOT_DODGE |
37 | EMOTE_ONESHOT_ATTACK2HTIGHT | 441 | EMOTE_ONESHOT_PARRY1H |
38 | EMOTE_ONESHOT_ATTACK2HLOOSE | 442 | EMOTE_ONESHOT_PARRY2H |
39 | EMOTE_ONESHOT_PARRYUNARMED | 443 | EMOTE_ONESHOT_PARRY2HL |
43 | EMOTE_ONESHOT_PARRYSHIELD | 444 | EMOTE_STATE_FLYFALL |
44 | EMOTE_ONESHOT_READYUNARMED | 445 | EMOTE_ONESHOT_FLYDEATH |
45 | EMOTE_ONESHOT_READY1H | 446 | EMOTE_STATE_FLY_FALL |
48 | EMOTE_ONESHOT_READYBOW | 447 | EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN |
50 | EMOTE_ONESHOT_SPELLPRECAST | 448 | EMOTE_ONESHOT_FLY_SIT_GROUND_UP |
51 | EMOTE_ONESHOT_SPELLCAST | 449 | EMOTE_ONESHOT_EMERGE |
53 | EMOTE_ONESHOT_BATTLEROAR | 450 | EMOTE_ONESHOT_DRAGONSPIT |
54 | EMOTE_ONESHOT_SPECIALATTACK1H | 451 | EMOTE_STATE_SPECIALUNARMED |
60 | EMOTE_ONESHOT_KICK | 452 | EMOTE_ONESHOT_FLYGRAB |
61 | EMOTE_ONESHOT_ATTACKTHROWN | 453 | EMOTE_STATE_FLYGRABCLOSED |
64 | EMOTE_STATE_STUN | 454 | EMOTE_ONESHOT_FLYGRABTHROWN |
65 | EMOTE_STATE_DEAD | 455 | EMOTE_STATE_FLY_SIT_GROUND |
66 | EMOTE_ONESHOT_SALUTE | 456 | EMOTE_STATE_WALKBACKWARDS |
68 | EMOTE_STATE_KNEEL | 457 | EMOTE_ONESHOT_FLYTALK |
69 | EMOTE_STATE_USESTANDING | 458 | EMOTE_ONESHOT_FLYATTACK1H |
70 | EMOTE_ONESHOT_WAVE_NOSHEATHE | 459 | EMOTE_STATE_CUSTOMSPELL08 |
71 | EMOTE_ONESHOT_CHEER_NOSHEATHE | 460 | EMOTE_ONESHOT_FLY_DRAGONSPIT |
92 | EMOTE_ONESHOT_EAT_NOSHEATHE | 461 | EMOTE_STATE_SIT_CHAIR_LOW |
93 | EMOTE_STATE_STUN_NOSHEATHE | 462 | EMOTE_ONE_SHOT_STUN |
94 | EMOTE_ONESHOT_DANCE | 463 | EMOTE_ONESHOT_SPELLCAST_OMNI |
113 | EMOTE_ONESHOT_SALUTE_NOSHEATH | 465 | EMOTE_STATE_READYTHROWN |
133 | EMOTE_STATE_USESTANDING_NOSHEATHE | 466 | EMOTE_ONESHOT_WORK_CHOPWOOD |
153 | EMOTE_ONESHOT_LAUGH_NOSHEATHE | 467 | EMOTE_ONESHOT_WORK_MINING |
173 | EMOTE_STATE_WORK_NOSHEATHE | 468 | EMOTE_STATE_SPELL_CHANNEL_OMNI |
193 | EMOTE_STATE_SPELLPRECAST | 469 | EMOTE_STATE_SPELL_CHANNEL_DIRECTED |
213 | EMOTE_ONESHOT_READYRIFLE | 470 | EMOTE_STAND_STATE_NONE |
214 | EMOTE_STATE_READYRIFLE | 471 | EMOTE_STATE_READYJOUST |
233 | EMOTE_STATE_WORK_NOSHEATHE_MINING | 473 | EMOTE_STATE_STRANGULATE |
234 | EMOTE_STATE_WORK_NOSHEATHE_CHOPWOOD | 474 | EMOTE_STATE_READYSPELLOMNI |
253 | EMOTE_zzOLDONESHOT_LIFTOFF | 475 | EMOTE_STATE_HOLD_JOUST |
254 | EMOTE_ONESHOT_LIFTOFF | 476 | EMOTE_ONESHOT_CRY_JAINA |
273 | EMOTE_ONESHOT_YES | ||
274 | EMOTE_ONESHOT_NO | ||
275 | EMOTE_ONESHOT_TRAIN | ||
293 | EMOTE_ONESHOT_LAND | ||
313 | EMOTE_STATE_AT_EASE | ||
333 | EMOTE_STATE_READY1H | ||
353 | EMOTE_STATE_SPELLKNEELSTART | ||
373 | EMOTE_STATE_SUBMERGED | ||
374 | EMOTE_ONESHOT_SUBMERGE | ||
375 | EMOTE_STATE_READY2H | ||
376 | EMOTE_STATE_READYBOW | ||
377 | EMOTE_ONESHOT_MOUNTSPECIAL | ||
378 | EMOTE_STATE_TALK | ||
379 | EMOTE_STATE_FISHING | ||
380 | EMOTE_ONESHOT_FISHING | ||
381 | EMOTE_ONESHOT_LOOT | ||
382 | EMOTE_STATE_WHIRLWIND | ||
383 | EMOTE_STATE_DROWNED | ||
384 | EMOTE_STATE_HOLD_BOW | ||
385 | EMOTE_STATE_HOLD_RIFLE | ||
386 | EMOTE_STATE_HOLD_THROWN | ||
387 | EMOTE_ONESHOT_DROWN | ||
388 | EMOTE_ONESHOT_STOMP | ||
389 | EMOTE_ONESHOT_ATTACKOFF | ||
390 | EMOTE_ONESHOT_ATTACKOFFPIERCE | ||
391 | EMOTE_STATE_ROAR | ||
392 | EMOTE_STATE_LAUGH | ||
393 | EMOTE_ONESHOT_CREATURE_SPECIAL | ||
394 | EMOTE_ONESHOT_JUMPLANDRUN | ||
395 | EMOTE_ONESHOT_JUMPEND | ||
396 | EMOTE_ONESHOT_TALK_NOSHEATHE | ||
397 | EMOTE_ONESHOT_POINT_NOSHEATHE | ||
398 | EMOTE_STATE_CANNIBALIZE | ||
399 | EMOTE_ONESHOT_JUMPSTART |
Flags controlling how the creature will behave animation-wise while moving. This table is 100% wrong as of 3.1. It is still here for a period of time for reference and to convert values in DB.
See the proper table under this one
Bit | Name | Comment |
---|---|---|
0 | MOVEMENTFLAG_NONE | |
1 | MOVEMENTFLAG_FORWARD | instantly teleport creature, then creature move forward animation but no real movement |
2 | MOVEMENTFLAG_BACKWARD | instantly teleport creature, then creature move back animation but no real movement |
4 | MOVEMENTFLAG_STRAFE_LEFT | instantly teleport creature, then creature move left animation but no real movement |
8 | MOVEMENTFLAG_STRAFE_RIGHT | instantly teleport creature, then creature move right animation but no real movement |
16 | MOVEMENTFLAG_LEFT | creature spin left animation |
32 | MOVEMENTFLAG_RIGHT | then creature spin right animation |
64 | MOVEMENTFLAG_PITCH_UP | no effect on creature |
128 | MOVEMENTFLAG_PITCH_DOWN | no effect on creature |
256 | MOVEMENTFLAG_RUN_MODE | If flag set then player runs |
512 | MOVEMENTFLAG_ONTRANSPORT | causes creatures to fly while moving (not include standing) |
1024 | MOVEMENTFLAG_HOVERING | hovering animation at stand (not include moving) |
2048 | MOVEMENTFLAG_FLY_UNK1 | |
4096 | MOVEMENTFLAG_JUMPING | Jump animation |
8192 | MOVEMENTFLAG_UNK1 | |
16384 | MOVEMENTFLAG_FALLING | Falling |
32768 | MOVEMENTFLAG_UNK2 | |
65536 | MOVEMENTFLAG_UNK3 | |
131072 | MOVEMENTFLAG_UNK4 | |
262144 | MOVEMENTFLAG_UNK5 | |
524288 | MOVEMENTFLAG_UNK6 | |
1048576 | MOVEMENTFLAG_UNK7 | Causes creature to instantly appear at new position |
2097152 | MOVEMENTFLAG_SWIMMING | appears with fly flag also (causes creatures to fall to ground at stand state) |
4194304 | MOVEMENTFLAG_FLY_UP | no effect on creature |
8388608 | MOVEMENTFLAG_CAN_FLY | no effect on creature |
16777216 | MOVEMENTFLAG_FLYING | no effect on creature |
33554432 | MOVEMENTFLAG_UNK8 | Creature flying (not hover at stop moving) |
67108864 | MOVEMENTFLAG_SPLINE | probably wrong name (no effect on creature) |
134217728 | MOVEMENTFLAG_SPLINE2 | no effect on creature |
268435456 | MOVEMENTFLAG_WATERWALKING | also prevent creature from falling under water |
536870912 | MOVEMENTFLAG_SAFE_FALL | active rogue safe fall spell (passive) (no effect on creature) |
1073741824 | MOVEMENTFLAG_UNK9 | Causes creature to hover at stand state (not include moving) |
2147483648 | MOVEMENTFLAG_UNK10 | Causes creature to roll to strange angle |
Proper table as of 3.1
Bit | Name | Comment |
---|---|---|
0 | MONSTER_MOVE_NONE | InhabitType and MovementType |
1 | MONSTER_MOVE_FORWARD | Instantly teleport creature, then creature move forward animation but no real movement |
2 | MONSTER_MOVE_BACKWARD | Instantly teleport creature, then creature move back animation but no real movement |
4 | MONSTER_MOVE_STRAFE_LEFT | Instantly teleport creature, then creature move left animation but no real movement |
8 | MONSTER_MOVE_STRAFE_RIGHT | Instantly teleport creature, then creature move right animation but no real movement |
16 | MONSTER_MOVE_LEFT | Creature spin left animation |
32 | MONSTER_MOVE_RIGHT | Then creature spin right animation |
64 | MONSTER_MOVE_PITCH_UP | Seams to have no effect |
128 | MONSTER_MOVE_PITCH_DOWN | Seams to have no effect |
256 | MONSTER_MOVE_TELEPORT | Makes creature teleport instead of walking |
512 | MONSTER_MOVE_TELEPORT2 | Makes creature a better Fly Animation (2.4.3) |
1024 | MONSTER_MOVE_LEVITATING | |
2048 | MONSTER_MOVE_UNK1 | |
4096 | MONSTER_MOVE_WALK | Makes creature walk |
8192 | MONSTER_MOVE_SPLINE | |
16384 | No name in core | Makes creature run |
32768 | No name in core | Makes creature run |
65536 | No name in core | Makes creature run |
131072 | No name in core | Makes creature run |
262144 | MONSTER_MOVE_SPLINE2 | |
524288 | MONSTER_MOVE_UNK2 | Used for flying mobs |
1048576 | MONSTER_MOVE_UNK3 | Used for flying mobs |
2097152 | MONSTER_MOVE_UNK4 | |
4194304 | MONSTER_MOVE_UNK5 | Run in place, then teleport to final point |
8388608 | MONSTER_MOVE_UNK6 | Teleport |
16777216 | MONSTER_MOVE_UNK7 | Run |
33554432 | MONSTER_MOVE_FLY | Swimming / Flying |
67108864 | MONSTER_MOVE_UNK9 | Run |
134217728 | MONSTER_MOVE_UNK10 | Run |
268435456 | MONSTER_MOVE_UNK11 | Run |
536870912 | MONSTER_MOVE_UNK12 | Run |
1073741824 | MONSTER_MOVE_UNK13 | Levitating |
Note: MONSTER_MOVE_SPLINE_FLY = MONSTER_MOVE_WALK + MONSTER_MOVE_SPLINE and makes creature fly by points. Note2: Copy from Mangos
This field controls any auras to be applied on the creature (both in effect and visually). To apply multiple auras, you can add more aura entries, separating each entry by a space.
List of useful aura entries:
- ‘16380’ - Makes the creature invisible.
- ‘18950’ - Makes the creature detect other invisible units (players or creatures).
- ‘37613’ - Casting teleport forever.