Creature ai texts

Материал из YTDB DataBase

(Различия между версиями)
Перейти к: навигация, поиск
Строка 7: Строка 7:
===Event AI Tables===
===Event AI Tables===
-
[[Event_AI|event_scripts]]
+
[[creature_ai_scripts|creature_ai_scripts]]
-
[[eventai_summons|eventai_summons]]
+
[[creature_ai_summons|creature_ai_summons]]
-
[[eventai_texts|eventai_texts]]
+
[[creature_ai_texts|creature_ai_texts]]

Версия 16:33, 5 сентября 2010

Содержание

К описанию таблиц базы данных mangos.


Event AI Tables

creature_ai_scripts

creature_ai_summons

creature_ai_texts


Таблица `eventai_texts`

This table holds all the texts used within the eventai (ACID) scripts. This table handles the actual text, display type (say/yell/emote) and corresponding sounds or emote (if any).


Структура

Field Type Attributes Null Default Comments
entry mediumint(8) NO
content_default text NO
content_loc1 text
content_loc2 text
content_loc3 text
content_loc4 text
content_loc5 text
content_loc6 text
content_loc7 text
content_loc8 text
sound mediumint(8) unsigned NO 0
type tinyint(3) unsigned NO 0
language tinyint(3) unsigned NO 0
emote smallint(5) unsigned NO 0
comment text


Описание полей

entry

This is the entry of the text. It corresponds to a script using Action 1 (ACTION_T_SAY) in the eventai_scripts table. This number is always negative.

content_default

This is the actual text presented in the default language (English).

content_loc

Перевод текста под локализацию X. См. localization languages.

sound

This is the sound Id that will play with along with the corresponding text. All sounds are from sounds.dbc.

type

This is the method the text is displayed.

Value Type
0 Say
1 Yell
2 Text Emote
3 Boss Emote
4 Whisper
5 Boss Whisper

language

This is the in-game language of the text. Languages are from Languages.dbc.

emote

This is the emote that the creature performs along with the corresponding text.

comment

This field allows you to label a text entry.

Личные инструменты