Gameobject template
Материал из YTDB DataBase
NeatElves (Обсуждение | вклад) (→name) |
NeatElves (Обсуждение | вклад) |
||
(12 промежуточных версий не показаны.) | |||
Строка 86: | Строка 86: | ||
|- | |- | ||
|[[#flags|flags]] | |[[#flags|flags]] | ||
+ | |int(10) | ||
+ | |unsigned | ||
+ | |NO | ||
+ | | | ||
+ | |0 | ||
+ | | | ||
+ | |- | ||
+ | |[[#ExtraFlags|ExtraFlags]] | ||
|int(10) | |int(10) | ||
|unsigned | |unsigned | ||
Строка 334: | Строка 342: | ||
|- | |- | ||
|[[#data0-23|data23]] | |[[#data0-23|data23]] | ||
+ | |int(10) | ||
+ | |unsigned | ||
+ | |NO | ||
+ | | | ||
+ | |0 | ||
+ | | | ||
+ | |- | ||
+ | |[[#CustomData1|CustomData1]] | ||
|int(10) | |int(10) | ||
|unsigned | |unsigned | ||
Строка 426: | Строка 442: | ||
====faction==== | ====faction==== | ||
- | Номер фракции, в которой состоит | + | Номер фракции, в которой состоит объект. Смотри [[FactionTemplate.dbc]] |
====flags==== | ====flags==== | ||
Строка 433: | Строка 449: | ||
* 4 = Невозможно выделить | * 4 = Невозможно выделить | ||
* 8 = Транспорт (Объект который передвигается (лифт, лодка, дерижабль) | * 8 = Транспорт (Объект который передвигается (лифт, лодка, дерижабль) | ||
+ | * 16 = Игрок не может взаимодействовать с объектом.. | ||
* 32 = Не деспавнятся (Некогда не деспавнятся, в основном для дверей) | * 32 = Не деспавнятся (Некогда не деспавнятся, в основном для дверей) | ||
* 64 = Тригер (typically, summoned objects. Triggered by spell or other events) | * 64 = Тригер (typically, summoned objects. Triggered by spell or other events) | ||
NOTE: All chests that contain only quest loots need to have flag 4 set as the core will only allow players who have the quest in their questlog to loot them. | NOTE: All chests that contain only quest loots need to have flag 4 set as the core will only allow players who have the quest in their questlog to loot them. | ||
+ | |||
+ | ====ExtraFlags==== | ||
====size==== | ====size==== | ||
- | Размер | + | Размер объекта. |
====questItem1-6==== | ====questItem1-6==== | ||
- | + | Номер предмета. Смотри [[item_template#entry|entry]]. | |
- | + | ||
====data0-23==== | ====data0-23==== | ||
Строка 450: | Строка 468: | ||
* '''GAMEOBJECT_TYPE_DOOR = 0''' | * '''GAMEOBJECT_TYPE_DOOR = 0''' | ||
**data0: startOpen (Boolean flag) | **data0: startOpen (Boolean flag) | ||
- | **data1: | + | **data1: lockId ([[Lock.dbc]]) |
- | **data2: | + | **data2: autoCloseTime |
**data3: noDamageImmune (Boolean flag) | **data3: noDamageImmune (Boolean flag) | ||
- | **data4: openTextID | + | **data4: openTextID |
- | **data5: closeTextID | + | **data5: closeTextID |
+ | **data6: ignoredByPathing | ||
* '''GAMEOBJECT_TYPE_BUTTON = 1''' | * '''GAMEOBJECT_TYPE_BUTTON = 1''' | ||
**data0: startOpen (State) | **data0: startOpen (State) | ||
- | **data1: | + | **data1: lockId ([[Lock.dbc]]) |
- | **data2: | + | **data2: autoCloseTime |
**data3: linkedTrap ([[gameobject_template#entry|gameobject_template.entry]] (Spawned GO type 6)) | **data3: linkedTrap ([[gameobject_template#entry|gameobject_template.entry]] (Spawned GO type 6)) | ||
**data4: noDamageImmune (Boolean flag) | **data4: noDamageImmune (Boolean flag) | ||
- | **data5: large | + | **data5: large (Boolean flag) |
**data6: openTextID (Unknown Text ID) | **data6: openTextID (Unknown Text ID) | ||
**data7: closeTextID (Unknown Text ID) | **data7: closeTextID (Unknown Text ID) | ||
Строка 470: | Строка 489: | ||
* '''GAMEOBJECT_TYPE_QUESTGIVER = 2''' | * '''GAMEOBJECT_TYPE_QUESTGIVER = 2''' | ||
- | **data0: | + | **data0: lockId ([[Lock.dbc]]) |
**data1: questList (unknown ID) | **data1: questList (unknown ID) | ||
**data2: pageMaterial ([[PageTextMaterial.dbc]]) | **data2: pageMaterial ([[PageTextMaterial.dbc]]) | ||
- | **data3: gossipID ( | + | **data3: gossipID ([[gossip_menu#entry|gossip_menu.entry]]) |
**data4: customAnim (unknown value from 1 to 4) | **data4: customAnim (unknown value from 1 to 4) | ||
**data5: noDamageImmune (Boolean flag) | **data5: noDamageImmune (Boolean flag) | ||
Строка 479: | Строка 498: | ||
**data7: losOK (Boolean flag) | **data7: losOK (Boolean flag) | ||
**data8: allowMounted (Boolean flag) | **data8: allowMounted (Boolean flag) | ||
- | **data9: large | + | **data9: large (Boolean flag) |
* '''GAMEOBJECT_TYPE_CHEST = 3''' | * '''GAMEOBJECT_TYPE_CHEST = 3''' | ||
- | **data0: | + | **data0: lockId ([[Lock.dbc]]) |
- | **data1: | + | **data1: lootId ([[Gameobject_loot_template#entry|gameobject_loot_template.entry]]) *This field is obtained from WDB data and is not to be changed* |
**data2: chestRestockTime (time in seconds) | **data2: chestRestockTime (time in seconds) | ||
**data3: consumable (State: Boolean flag) | **data3: consumable (State: Boolean flag) | ||
- | **data4: | + | **data4: minSuccessOpens (Min successful loot attempts for Mining, Herbalism etc) |
- | **data5: | + | **data5: maxSuccessOpens (Max successful loot attempts for Mining, Herbalism etc) |
- | **data6: | + | **data6: eventId (unknown ID) |
- | **data7: | + | **data7: linkedTrapId ([[gameobject_template#entry|gameobject_template.entry]] (Spawned GO type 6)) |
**data8: questID ([[quest_template#entry|quest_template.entry]] of completed quest) | **data8: questID ([[quest_template#entry|quest_template.entry]] of completed quest) | ||
**data9: level (minimal level required to open this gameobject) | **data9: level (minimal level required to open this gameobject) | ||
Строка 496: | Строка 515: | ||
**data11: leaveLoot (Boolean flag) | **data11: leaveLoot (Boolean flag) | ||
**data12: notInCombat (Boolean flag) | **data12: notInCombat (Boolean flag) | ||
- | **data13: | + | **data13: logLoot (Boolean flag) |
**data14: openTextID (Unknown ID) | **data14: openTextID (Unknown ID) | ||
- | **data15: | + | **data15: groupLootRules (Boolean flag) |
+ | **data16: floatingTooltip | ||
Строка 508: | Строка 528: | ||
**data0: floatingTooltip (Boolean flag) | **data0: floatingTooltip (Boolean flag) | ||
**data1: highlight (Boolean flag) | **data1: highlight (Boolean flag) | ||
- | **data2: serverOnly | + | **data2: serverOnly (Always 0) |
- | **data3: large | + | **data3: large (Boolean flag) |
**data4: floatOnWater (Boolean flag) | **data4: floatOnWater (Boolean flag) | ||
**data5: questID (Required active [[quest_template#entry|quest_template.entry]] to work) | **data5: questID (Required active [[quest_template#entry|quest_template.entry]] to work) | ||
Строка 515: | Строка 535: | ||
* '''GAMEOBJECT_TYPE_TRAP = 6''' | * '''GAMEOBJECT_TYPE_TRAP = 6''' | ||
- | **data0: | + | **data0: lockId ([[Lock.dbc]]) |
**data1: level (npc equivalent level for casted spell) | **data1: level (npc equivalent level for casted spell) | ||
- | **data2: | + | **data2: radius |
- | **data3: | + | **data3: spellId ([[Spell.dbc]]) |
**data4: charges (0 or 1) | **data4: charges (0 or 1) | ||
**data5: cooldown (time in seconds) | **data5: cooldown (time in seconds) | ||
- | **data6: | + | **data6: autoCloseTime |
- | **data7: startDelay | + | **data7: startDelay (time in seconds) |
- | **data8: serverOnly | + | **data8: serverOnly (always 0) |
**data9: stealthed (Boolean flag) | **data9: stealthed (Boolean flag) | ||
- | **data10: large | + | **data10: large (Boolean flag) |
**data11: stealthAffected (Boolean flag) | **data11: stealthAffected (Boolean flag) | ||
**data12: openTextID (Unknown ID) | **data12: openTextID (Unknown ID) | ||
+ | **data13: closeTextID | ||
+ | **data14: ignoreTotems | ||
* '''GAMEOBJECT_TYPE_CHAIR = 7''' | * '''GAMEOBJECT_TYPE_CHAIR = 7''' | ||
- | **data0: | + | **data0: slots (number of players that can sit down on it) |
- | **data1: | + | **data1: height |
+ | **data2: onlyCreatorUse | ||
+ | **data3: triggeredEvent | ||
* '''GAMEOBJECT_TYPE_SPELLFOCUS = 8''' | * '''GAMEOBJECT_TYPE_SPELLFOCUS = 8''' | ||
- | **data0: | + | **data0: focusID ([[SpellFocusObject.dbc]]) |
- | **data1: | + | **data1: dist |
- | **data2: | + | **data2: linkedTrapId ([[gameobject_template#entry|gameobject_template.entry]] (Spawned GO type 6)) |
+ | **data3: serverOnly | ||
+ | **data4: questID | ||
+ | **data5: large | ||
+ | **data6: floatingTooltip | ||
* '''GAMEOBJECT_TYPE_TEXT = 9''' | * '''GAMEOBJECT_TYPE_TEXT = 9''' | ||
**data0: pageID ([[page_text#entry|page_text.entry]]) | **data0: pageID ([[page_text#entry|page_text.entry]]) | ||
- | **data1: language ( | + | **data1: language ([[Languages.dbc]]) |
**data2: pageMaterial ([[PageTextMaterial.dbc]]) | **data2: pageMaterial ([[PageTextMaterial.dbc]]) | ||
+ | **data3: allowMounted | ||
* '''GAMEOBJECT_TYPE_GOOBER = 10''' | * '''GAMEOBJECT_TYPE_GOOBER = 10''' | ||
- | **data0: | + | **data0: lockId ([[Lock.dbc]]) |
**data1: questID (Required active [[quest_template#entry|quest_template.entry]] to work) | **data1: questID (Required active [[quest_template#entry|quest_template.entry]] to work) | ||
- | **data2: eventID (The id of the [[ | + | **data2: eventID (The id of the [[dbscripts_on_event#id|dbscripts_on_event.id]] that the gameobject will activate) |
- | **data3: | + | **data3: autoCloseTime |
**data4: customAnim (unknown) | **data4: customAnim (unknown) | ||
**data5: consumable (Boolean flag controling if gameobject will despawn or not) | **data5: consumable (Boolean flag controling if gameobject will despawn or not) | ||
**data6: cooldown (time in seconds) | **data6: cooldown (time in seconds) | ||
**data7: pageID ([[page_text#entry|page_text.entry]]) | **data7: pageID ([[page_text#entry|page_text.entry]]) | ||
- | **data8: language ( | + | **data8: language ([[Languages.dbc]]) |
**data9: pageMaterial ([[PageTextMaterial.dbc]]) | **data9: pageMaterial ([[PageTextMaterial.dbc]]) | ||
- | **data10: | + | **data10: spellId ([[Spell.dbc]]) |
**data11: noDamageImmune (Boolean flag) | **data11: noDamageImmune (Boolean flag) | ||
- | **data12: | + | **data12: linkedTrapId ([[gameobject_template#entry|gameobject_template.entry]] (Spawned GO type 6)) |
- | **data13: large | + | **data13: large (Boolean flag) |
**data14: openTextID (Unknown ID) | **data14: openTextID (Unknown ID) | ||
**data15: closeTextID (Unknown ID) | **data15: closeTextID (Unknown ID) | ||
**data16: losOK (Boolean flag) | **data16: losOK (Boolean flag) | ||
+ | **data17: allowMounted | ||
+ | **data18: floatingTooltip | ||
+ | **data19: gossipID ([[gossip_menu#entry|gossip_menu.entry]]) | ||
+ | **data20: WorldStateSetsState | ||
* '''GAMEOBJECT_TYPE_TRANSPORT = 11''' | * '''GAMEOBJECT_TYPE_TRANSPORT = 11''' | ||
- | + | **data0: pause | |
+ | **data1: startOpen | ||
+ | **data2: autoCloseTime | ||
+ | **data3: pause1EventID | ||
+ | **data4: pause2EventID | ||
* '''GAMEOBJECT_TYPE_AREADAMAGE = 12''' | * '''GAMEOBJECT_TYPE_AREADAMAGE = 12''' | ||
- | + | **data0: lockId | |
+ | **data1: radius | ||
+ | **data2: damageMin | ||
+ | **data3: damageMax | ||
+ | **data4: damageSchool | ||
+ | **data5: autoCloseTime | ||
+ | **data6: openTextID | ||
+ | **data7: closeTextID | ||
* '''GAMEOBJECT_TYPE_CAMERA = 13''' | * '''GAMEOBJECT_TYPE_CAMERA = 13''' | ||
- | **data0: | + | **data0: lockId ([[Lock.dbc]]) |
- | **data1: camera ( | + | **data1: camera ([[CinematicCamera.dbc]]) |
+ | **data2: eventId | ||
+ | **data3: openTextID | ||
Строка 585: | Строка 631: | ||
* '''GAMEOBJECT_TYPE_MO_TRANSPORT = 15''' | * '''GAMEOBJECT_TYPE_MO_TRANSPORT = 15''' | ||
- | **data0: taxiPathID ( | + | **data0: taxiPathID ([[TaxiPath.dbc]]) |
**data1: moveSpeed | **data1: moveSpeed | ||
**data2: accelRate | **data2: accelRate | ||
+ | **data3: startEventID | ||
+ | **data4: stopEventID | ||
+ | **data5: transportPhysics | ||
+ | **data6: mapID | ||
+ | **data7: worldState1 | ||
Строка 599: | Строка 650: | ||
* '''GAMEOBJECT_TYPE_RITUAL = 18''' | * '''GAMEOBJECT_TYPE_RITUAL = 18''' | ||
- | **data0: | + | **data0: reqParticipants |
- | **data1: | + | **data1: spellId ([[Spell.dbc]]) |
- | **data2: animSpell (Spell | + | **data2: animSpell ([[Spell.dbc]]) |
**data3: ritualPersistent (Boolean flag) | **data3: ritualPersistent (Boolean flag) | ||
- | **data4: casterTargetSpell (Spell | + | **data4: casterTargetSpell ([[Spell.dbc]]) |
**data5: casterTargetSpellTargets (Boolean flag) | **data5: casterTargetSpellTargets (Boolean flag) | ||
**data6: castersGrouped (Boolean flag) | **data6: castersGrouped (Boolean flag) | ||
+ | **data7: ritualNoTargetCheck | ||
Строка 617: | Строка 669: | ||
* '''GAMEOBJECT_TYPE_GUARDPOST = 21''' | * '''GAMEOBJECT_TYPE_GUARDPOST = 21''' | ||
- | + | **data0: creatureID | |
+ | **data1: charges | ||
* '''GAMEOBJECT_TYPE_SPELLCASTER = 22''' | * '''GAMEOBJECT_TYPE_SPELLCASTER = 22''' | ||
- | **data0: | + | **data0: spellId ([[Spell.dbc]]) |
**data1: charges | **data1: charges | ||
**data2: partyOnly (Boolean flag, need to be in group to use it) | **data2: partyOnly (Boolean flag, need to be in group to use it) | ||
+ | **data3: allowMounted | ||
+ | **data4: large | ||
Строка 629: | Строка 684: | ||
**data0: minLevel | **data0: minLevel | ||
**data1: maxLevel | **data1: maxLevel | ||
- | **data2: areaID ( | + | **data2: areaID ([[AreaTable.dbc]]) |
* '''GAMEOBJECT_TYPE_FLAGSTAND = 24''' | * '''GAMEOBJECT_TYPE_FLAGSTAND = 24''' | ||
- | **data0: | + | **data0: lockId ([[Lock.dbc]]) |
- | **data1: pickupSpell (Spell | + | **data1: pickupSpell ([[Spell.dbc]]) |
**data2: radius (distance) | **data2: radius (distance) | ||
- | **data3: returnAura (Spell | + | **data3: returnAura ([[Spell.dbc]]) |
- | **data4: returnSpell (Spell | + | **data4: returnSpell ([[Spell.dbc]]) |
**data5: noDamageImmune (Boolean flag) | **data5: noDamageImmune (Boolean flag) | ||
**data6: openTextID | **data6: openTextID | ||
Строка 645: | Строка 700: | ||
* '''GAMEOBJECT_TYPE_FISHINGHOLE = 25''' | * '''GAMEOBJECT_TYPE_FISHINGHOLE = 25''' | ||
**data0: radius (distance) | **data0: radius (distance) | ||
- | **data1: | + | **data1: lootId ([[Gameobject_loot_template#entry|gameobject_loot_template.entry]]) |
- | **data2: | + | **data2: minSuccessOpens |
- | **data3: | + | **data3: maxSuccessOpens |
+ | **data4: lockId ([[Lock.dbc]]) | ||
* '''GAMEOBJECT_TYPE_FLAGDROP = 26''' | * '''GAMEOBJECT_TYPE_FLAGDROP = 26''' | ||
- | **data0: | + | **data0: lockId ([[Lock.dbc]]) |
**data1: eventID (Unknown Event ID) | **data1: eventID (Unknown Event ID) | ||
**data2: pickupSpell (Spell Id from spell.dbc) | **data2: pickupSpell (Spell Id from spell.dbc) | ||
**data3: noDamageImmune (Boolean flag) | **data3: noDamageImmune (Boolean flag) | ||
+ | **data4: openTextID | ||
* '''GAMEOBJECT_TYPE_MINIGAME = 27''' | * '''GAMEOBJECT_TYPE_MINIGAME = 27''' | ||
- | + | **data0: gameType | |
- | + | ||
- | + | ||
- | **data0: | + | |
Строка 687: | Строка 741: | ||
**data16: minTime (in seconds) | **data16: minTime (in seconds) | ||
**data17: maxTime (in seconds) | **data17: maxTime (in seconds) | ||
- | **data18: large | + | **data18: large (Boolean flag) |
+ | **data19: highlight | ||
+ | **data20: startingValue | ||
+ | **data21: unidirectional | ||
Строка 693: | Строка 750: | ||
**data0: startOpen (Boolean flag) | **data0: startOpen (Boolean flag) | ||
**data1: radius (Distance) | **data1: radius (Distance) | ||
- | **data2: auraID1 (Spell | + | **data2: auraID1 ([[Spell.dbc]]) |
**data3: conditionID1 (Unknown ID) | **data3: conditionID1 (Unknown ID) | ||
+ | **data4: auraID2 ([[Spell.dbc]]) | ||
+ | **data5: conditionID2 (Unknown ID) | ||
+ | **data6: serverOnly | ||
* '''GAMEOBJECT_TYPE_DUNGEONDIFFICULTY = 31''' | * '''GAMEOBJECT_TYPE_DUNGEONDIFFICULTY = 31''' | ||
- | **data0: mapID ( | + | **data0: mapID ([[Map.dbc]]) |
**data1: difficulty (0, 1, 2 or 3) | **data1: difficulty (0, 1, 2 or 3) | ||
* '''GAMEOBJECT_TYPE_BARBER_CHAIR = 32''' | * '''GAMEOBJECT_TYPE_BARBER_CHAIR = 32''' | ||
- | + | **data0: chairheight | |
+ | **data1: heightOffset | ||
* '''GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING = 33''' | * '''GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING = 33''' | ||
- | + | **data0: intactNumHits | |
+ | **data1: creditProxyCreature | ||
+ | **data2: empty1 | ||
+ | **data3: intactEvent | ||
+ | **data4: empty2 | ||
+ | **data5: damagedNumHits | ||
+ | **data6: empty3 | ||
+ | **data7: empty4 | ||
+ | **data8: empty5 | ||
+ | **data9: damagedEvent | ||
+ | **data10: empty6 | ||
+ | **data11: empty7 | ||
+ | **data12: empty8 | ||
+ | **data13: empty9 | ||
+ | **data14: destroyedEvent | ||
+ | **data15: empty10 | ||
+ | **data16: debuildingTimeSecs | ||
+ | **data17: empty11 | ||
+ | **data18: destructibleData | ||
+ | **data19: rebuildingEvent | ||
+ | **data20: empty12 | ||
+ | **data21: empty13 | ||
+ | **data22: damageEvent | ||
+ | **data23: empty14 | ||
- | * ''' | + | * '''GAMEOBJECT_TYPE_GUILDBANK = 34''' |
No data data used, all are always 0 | No data data used, all are always 0 | ||
+ | |||
+ | |||
+ | * '''GAMEOBJECT_TYPE_TRAPDOOR = 35''' | ||
+ | **data0: whenToPause | ||
+ | **data1: startOpen | ||
+ | **data2: autoClose | ||
+ | |||
+ | ====CustomData1==== | ||
====mingold==== | ====mingold==== |
Текущая версия на 17:53, 10 января 2017
|
К описанию таблиц базы данных mangos.
Таблица `gameobject_template`
Cодержит шаблоны игровых объектов.
Структура
Field | Type | Attributes | Null | Key | Default | Comments |
entry | mediumint(8) | unsigned | NO | PRI | 0 | |
type | tinyint(3) | unsigned | NO | 0 | ||
displayId | mediumint(8) | unsigned | NO | 0 | ||
name | varchar(100) | NO | ||||
IconName | varchar(100) | NO | ||||
castBarCaption | varchar(100) | NO | ||||
unk1 | varchar(100) | NO | ||||
faction | smallint(5) | unsigned | NO | 0 | ||
flags | int(10) | unsigned | NO | 0 | ||
ExtraFlags | int(10) | unsigned | NO | 0 | ||
size | float | NO | 1 | |||
questItem1 | int(11) | unsigned | NO | 0 | ||
questItem2 | int(11) | unsigned | NO | 0 | ||
questItem3 | int(11) | unsigned | NO | 0 | ||
questItem4 | int(11) | unsigned | NO | 0 | ||
questItem5 | int(11) | unsigned | NO | 0 | ||
questItem6 | int(11) | unsigned | NO | 0 | ||
data0 | int(10) | unsigned | NO | 0 | ||
data1 | int(10) | unsigned | NO | 0 | ||
data2 | int(10) | unsigned | NO | 0 | ||
data3 | int(10) | unsigned | NO | 0 | ||
data4 | int(10) | unsigned | NO | 0 | ||
data5 | int(10) | unsigned | NO | 0 | ||
data6 | int(10) | unsigned | NO | 0 | ||
data7 | int(10) | unsigned | NO | 0 | ||
data8 | int(10) | unsigned | NO | 0 | ||
data9 | int(10) | unsigned | NO | 0 | ||
data10 | int(10) | unsigned | NO | 0 | ||
data11 | int(10) | unsigned | NO | 0 | ||
data12 | int(10) | unsigned | NO | 0 | ||
data13 | int(10) | unsigned | NO | 0 | ||
data14 | int(10) | unsigned | NO | 0 | ||
data15 | int(10) | unsigned | NO | 0 | ||
data16 | int(10) | unsigned | NO | 0 | ||
data17 | int(10) | unsigned | NO | 0 | ||
data18 | int(10) | unsigned | NO | 0 | ||
data19 | int(10) | unsigned | NO | 0 | ||
data20 | int(10) | unsigned | NO | 0 | ||
data21 | int(10) | unsigned | NO | 0 | ||
data22 | int(10) | unsigned | NO | 0 | ||
data23 | int(10) | unsigned | NO | 0 | ||
CustomData1 | int(10) | unsigned | NO | 0 | ||
mingold | mediumint(8) | unsigned | NO | 0 | ||
maxgold | mediumint(8) | unsigned | NO | 0 | ||
ScriptName | varchar(64) | NO |
Описание полей
entry
Уникальный номер.
type
GAMEOBJECT_TYPE_DOOR = 0 GAMEOBJECT_TYPE_BUTTON = 1 GAMEOBJECT_TYPE_QUESTGIVER = 2 GAMEOBJECT_TYPE_CHEST = 3 GAMEOBJECT_TYPE_BINDER = 4 GAMEOBJECT_TYPE_GENERIC = 5 GAMEOBJECT_TYPE_TRAP = 6 GAMEOBJECT_TYPE_CHAIR = 7 GAMEOBJECT_TYPE_SPELL_FOCUS = 8 GAMEOBJECT_TYPE_TEXT = 9 GAMEOBJECT_TYPE_GOOBER = 10 GAMEOBJECT_TYPE_TRANSPORT = 11 GAMEOBJECT_TYPE_AREADAMAGE = 12 GAMEOBJECT_TYPE_CAMERA = 13 GAMEOBJECT_TYPE_MAP_OBJECT = 14 GAMEOBJECT_TYPE_MO_TRANSPORT = 15 GAMEOBJECT_TYPE_DUEL_ARBITER = 16 GAMEOBJECT_TYPE_FISHINGNODE = 17 GAMEOBJECT_TYPE_RITUAL = 18 GAMEOBJECT_TYPE_MAILBOX = 19 GAMEOBJECT_TYPE_DONOTUSE = 20 GAMEOBJECT_TYPE_GUARDPOST = 21 GAMEOBJECT_TYPE_SPELLCASTER = 22 GAMEOBJECT_TYPE_MEETINGSTONE = 23 GAMEOBJECT_TYPE_FLAGSTAND = 24 GAMEOBJECT_TYPE_FISHINGHOLE = 25 GAMEOBJECT_TYPE_FLAGDROP = 26 GAMEOBJECT_TYPE_MINI_GAME = 27 GAMEOBJECT_TYPE_LOTTERY_KIOSK = 28 GAMEOBJECT_TYPE_CAPTURE_POINT = 29 GAMEOBJECT_TYPE_AURA_GENERATOR = 30 GAMEOBJECT_TYPE_DUNGEON_DIFFICULTY = 31 GAMEOBJECT_TYPE_BARBER_CHAIR = 32 GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING = 33 GAMEOBJECT_TYPE_GUILDBANK = 34 GAMEOBJECT_TYPE_TRAPDOOR = 35
displayId
Номер модели. Смотри GameObjectDisplayInfo.dbc.
name
Название объекта.
IconName
Вид курсора, при наведении на объект.
castBarCaption
Надпись на полоске состояния при использовании объекта.
unk1
faction
Номер фракции, в которой состоит объект. Смотри FactionTemplate.dbc
flags
- 1 = in use (can't interact with the object)
- 2 = Делает сундуки/двери заблокироваными (требует ключ, чтобы открыть)
- 4 = Невозможно выделить
- 8 = Транспорт (Объект который передвигается (лифт, лодка, дерижабль)
- 16 = Игрок не может взаимодействовать с объектом..
- 32 = Не деспавнятся (Некогда не деспавнятся, в основном для дверей)
- 64 = Тригер (typically, summoned objects. Triggered by spell or other events)
NOTE: All chests that contain only quest loots need to have flag 4 set as the core will only allow players who have the quest in their questlog to loot them.
ExtraFlags
size
Размер объекта.
questItem1-6
Номер предмета. Смотри entry.
data0-23
Поля определяются в зависимости от типа объекта
- GAMEOBJECT_TYPE_DOOR = 0
- data0: startOpen (Boolean flag)
- data1: lockId (Lock.dbc)
- data2: autoCloseTime
- data3: noDamageImmune (Boolean flag)
- data4: openTextID
- data5: closeTextID
- data6: ignoredByPathing
- GAMEOBJECT_TYPE_BUTTON = 1
- data0: startOpen (State)
- data1: lockId (Lock.dbc)
- data2: autoCloseTime
- data3: linkedTrap (gameobject_template.entry (Spawned GO type 6))
- data4: noDamageImmune (Boolean flag)
- data5: large (Boolean flag)
- data6: openTextID (Unknown Text ID)
- data7: closeTextID (Unknown Text ID)
- data8: losOK (Boolean flag)
- GAMEOBJECT_TYPE_QUESTGIVER = 2
- data0: lockId (Lock.dbc)
- data1: questList (unknown ID)
- data2: pageMaterial (PageTextMaterial.dbc)
- data3: gossipID (gossip_menu.entry)
- data4: customAnim (unknown value from 1 to 4)
- data5: noDamageImmune (Boolean flag)
- data6: openTextID (Unknown Text ID)
- data7: losOK (Boolean flag)
- data8: allowMounted (Boolean flag)
- data9: large (Boolean flag)
- GAMEOBJECT_TYPE_CHEST = 3
- data0: lockId (Lock.dbc)
- data1: lootId (gameobject_loot_template.entry) *This field is obtained from WDB data and is not to be changed*
- data2: chestRestockTime (time in seconds)
- data3: consumable (State: Boolean flag)
- data4: minSuccessOpens (Min successful loot attempts for Mining, Herbalism etc)
- data5: maxSuccessOpens (Max successful loot attempts for Mining, Herbalism etc)
- data6: eventId (unknown ID)
- data7: linkedTrapId (gameobject_template.entry (Spawned GO type 6))
- data8: questID (quest_template.entry of completed quest)
- data9: level (minimal level required to open this gameobject)
- data10: losOK (Boolean flag)
- data11: leaveLoot (Boolean flag)
- data12: notInCombat (Boolean flag)
- data13: logLoot (Boolean flag)
- data14: openTextID (Unknown ID)
- data15: groupLootRules (Boolean flag)
- data16: floatingTooltip
- GAMEOBJECT_TYPE_BINDER = 4
Object type not used
- GAMEOBJECT_TYPE_GENERIC = 5
- data0: floatingTooltip (Boolean flag)
- data1: highlight (Boolean flag)
- data2: serverOnly (Always 0)
- data3: large (Boolean flag)
- data4: floatOnWater (Boolean flag)
- data5: questID (Required active quest_template.entry to work)
- GAMEOBJECT_TYPE_TRAP = 6
- data0: lockId (Lock.dbc)
- data1: level (npc equivalent level for casted spell)
- data2: radius
- data3: spellId (Spell.dbc)
- data4: charges (0 or 1)
- data5: cooldown (time in seconds)
- data6: autoCloseTime
- data7: startDelay (time in seconds)
- data8: serverOnly (always 0)
- data9: stealthed (Boolean flag)
- data10: large (Boolean flag)
- data11: stealthAffected (Boolean flag)
- data12: openTextID (Unknown ID)
- data13: closeTextID
- data14: ignoreTotems
- GAMEOBJECT_TYPE_CHAIR = 7
- data0: slots (number of players that can sit down on it)
- data1: height
- data2: onlyCreatorUse
- data3: triggeredEvent
- GAMEOBJECT_TYPE_SPELLFOCUS = 8
- data0: focusID (SpellFocusObject.dbc)
- data1: dist
- data2: linkedTrapId (gameobject_template.entry (Spawned GO type 6))
- data3: serverOnly
- data4: questID
- data5: large
- data6: floatingTooltip
- GAMEOBJECT_TYPE_TEXT = 9
- data0: pageID (page_text.entry)
- data1: language (Languages.dbc)
- data2: pageMaterial (PageTextMaterial.dbc)
- data3: allowMounted
- GAMEOBJECT_TYPE_GOOBER = 10
- data0: lockId (Lock.dbc)
- data1: questID (Required active quest_template.entry to work)
- data2: eventID (The id of the dbscripts_on_event.id that the gameobject will activate)
- data3: autoCloseTime
- data4: customAnim (unknown)
- data5: consumable (Boolean flag controling if gameobject will despawn or not)
- data6: cooldown (time in seconds)
- data7: pageID (page_text.entry)
- data8: language (Languages.dbc)
- data9: pageMaterial (PageTextMaterial.dbc)
- data10: spellId (Spell.dbc)
- data11: noDamageImmune (Boolean flag)
- data12: linkedTrapId (gameobject_template.entry (Spawned GO type 6))
- data13: large (Boolean flag)
- data14: openTextID (Unknown ID)
- data15: closeTextID (Unknown ID)
- data16: losOK (Boolean flag)
- data17: allowMounted
- data18: floatingTooltip
- data19: gossipID (gossip_menu.entry)
- data20: WorldStateSetsState
- GAMEOBJECT_TYPE_TRANSPORT = 11
- data0: pause
- data1: startOpen
- data2: autoCloseTime
- data3: pause1EventID
- data4: pause2EventID
- GAMEOBJECT_TYPE_AREADAMAGE = 12
- data0: lockId
- data1: radius
- data2: damageMin
- data3: damageMax
- data4: damageSchool
- data5: autoCloseTime
- data6: openTextID
- data7: closeTextID
- GAMEOBJECT_TYPE_CAMERA = 13
- data0: lockId (Lock.dbc)
- data1: camera (CinematicCamera.dbc)
- data2: eventId
- data3: openTextID
- GAMEOBJECT_TYPE_MAPOBJECT = 14
No data data used, all are always 0
- GAMEOBJECT_TYPE_MO_TRANSPORT = 15
- data0: taxiPathID (TaxiPath.dbc)
- data1: moveSpeed
- data2: accelRate
- data3: startEventID
- data4: stopEventID
- data5: transportPhysics
- data6: mapID
- data7: worldState1
- GAMEOBJECT_TYPE_DUELFLAG = 16
Only one Gameobject with this type (21680) and no data data
- GAMEOBJECT_TYPE_FISHINGNODE = 17
Only one Gameobject with this type (35591) and no data data
- GAMEOBJECT_TYPE_RITUAL = 18
- GAMEOBJECT_TYPE_MAILBOX = 19
No data data used, all are always 0
- GAMEOBJECT_TYPE_DONOTUSE = 20
No data data used, all are always 0
- GAMEOBJECT_TYPE_GUARDPOST = 21
- data0: creatureID
- data1: charges
- GAMEOBJECT_TYPE_SPELLCASTER = 22
- data0: spellId (Spell.dbc)
- data1: charges
- data2: partyOnly (Boolean flag, need to be in group to use it)
- data3: allowMounted
- data4: large
- GAMEOBJECT_TYPE_MEETINGSTONE = 23
- data0: minLevel
- data1: maxLevel
- data2: areaID (AreaTable.dbc)
- GAMEOBJECT_TYPE_FLAGSTAND = 24
- GAMEOBJECT_TYPE_FISHINGHOLE = 25
- data0: radius (distance)
- data1: lootId (gameobject_loot_template.entry)
- data2: minSuccessOpens
- data3: maxSuccessOpens
- data4: lockId (Lock.dbc)
- GAMEOBJECT_TYPE_FLAGDROP = 26
- data0: lockId (Lock.dbc)
- data1: eventID (Unknown Event ID)
- data2: pickupSpell (Spell Id from spell.dbc)
- data3: noDamageImmune (Boolean flag)
- data4: openTextID
- GAMEOBJECT_TYPE_MINIGAME = 27
- data0: gameType
- GAMEOBJECT_TYPE_LOTTERYKIOSK = 28
Object type not used
- GAMEOBJECT_TYPE_CAPTUREPOINT = 29
- data0: radius (Distance)
- data1: spell (Unknown ID, not a spell id in dbc file, maybe server only side spell)
- data2: worldState1
- data3: worldstate2
- data4: winEventID1 (Unknown Event ID)
- data5: winEventID2 (Unknown Event ID)
- data6: contestedEventID1 (Unknown Event ID)
- data7: contestedEventID2 (Unknown Event ID)
- data8: progressEventID1 (Unknown Event ID)
- data9: progressEventID2 (Unknown Event ID)
- data10: neutralEventID1 (Unknown Event ID)
- data11: neutralEventID2 (Unknown Event ID)
- data12: neutralPercent
- data13: worldstate3
- data14: minSuperiority
- data15: maxSuperiority
- data16: minTime (in seconds)
- data17: maxTime (in seconds)
- data18: large (Boolean flag)
- data19: highlight
- data20: startingValue
- data21: unidirectional
- GAMEOBJECT_TYPE_AURAGENERATOR = 30
- GAMEOBJECT_TYPE_DUNGEONDIFFICULTY = 31
- data0: mapID (Map.dbc)
- data1: difficulty (0, 1, 2 or 3)
- GAMEOBJECT_TYPE_BARBER_CHAIR = 32
- data0: chairheight
- data1: heightOffset
- GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING = 33
- data0: intactNumHits
- data1: creditProxyCreature
- data2: empty1
- data3: intactEvent
- data4: empty2
- data5: damagedNumHits
- data6: empty3
- data7: empty4
- data8: empty5
- data9: damagedEvent
- data10: empty6
- data11: empty7
- data12: empty8
- data13: empty9
- data14: destroyedEvent
- data15: empty10
- data16: debuildingTimeSecs
- data17: empty11
- data18: destructibleData
- data19: rebuildingEvent
- data20: empty12
- data21: empty13
- data22: damageEvent
- data23: empty14
- GAMEOBJECT_TYPE_GUILDBANK = 34
No data data used, all are always 0
- GAMEOBJECT_TYPE_TRAPDOOR = 35
- data0: whenToPause
- data1: startOpen
- data2: autoClose
CustomData1
mingold
Минимальное количество денег которое можно слутать с данного обьекта, в меди.
mingold
Максимальное количество денег которое можно слутать с данного обьекта, в меди.
ScriptName
Имя скрипта, если обьект заскриптован.