DB/LiquidType: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
|-
|-
| 0 || Id || int ||
| 0 || Id || int ||
|-
| cata || minDetail || int ||
|-
| cata || loDetailID || int ||
|-
| cata || hiDetailID || int ||
|-
|-
| 1 || Name || string
| 1 || Name || string
|-
| cata || flags || int ||
|-
| cata || soundBank || int ||
|-
|-
| 2 || flags || int || Water: 1, 2, 4, 8; Magma: 8, 16, 32, 64; Slime: 2, 64, 256; WMO Ocean: 1, 2, 4, 8, 512
| 2 || flags || int || Water: 1, 2, 4, 8; Magma: 8, 16, 32, 64; Slime: 2, 64, 256; WMO Ocean: 1, 2, 4, 8, 512
Line 19: Line 29:
| 5 || SpellID || int || Spell.dbc irefID
| 5 || SpellID || int || Spell.dbc irefID
|-
|-
| 6 || Unknown || int || only for slime and magma; removed in 3.1. Unknown float[4],  
| 6 || maxDarkenDepth || float || only for slime and magma
|-
| 7 || fogDarkenIntensity || float || 7,8,9: Only oceans got values here!
|-
|-
| 7 || Unknown || float || 7,8,9: Only oceans got values here!
| 8 || ambDarkenIntensity || float ||  
|-
|-
| 8 || Unknown || float ||  
| 9 || dirDarkenIntensity || float ||  
|-
|-
| 9 || Unknown || float ||  
| 10 || lightID || int || Only Slime (6) and Magma (7)
|-
|-
| 10 || Unknown || int || Only Slime (6) and Magma (7)
| 11 || particleScale || float || 0: Slime, 1: Water / Ocean, 4: Magma
|-
|-
| 11 || Unknown || float || 0: Slime, 1: Water / Ocean, 4: Magma
| 12 || particleMovement || int ||
|-
|-
| 12-13 || Unknown || bool || bool[2], 1: Magma, 0: other
| 13 || particleTexSlots || int ||  
|-
|-
| 14 || LiquidMaterialID || int || (LiquidMaterial.dbc irefid?) this defines the shaders used. (1: "*sLiquidWater", 2: "*sLiquidMagma", 3: "*sLiquidProcWater%s" where %s is an appendix that is currently always "")
| 14 || LiquidMaterialID || int || (LiquidMaterial.dbc irefid?) this defines the shaders used. (1: "*sLiquidWater", 2: "*sLiquidMagma", 3: "*sLiquidProcWater%s" where %s is an appendix that is currently always "")
|-
|-
| 15-22 || TextureID || string || Textures string[8]; these are passed into the texture[] of the shaders.
| 15-19 || texture || string[6] || these are passed into the texture[] of the shaders.
|-
|-
| 23-40 || Unknown || float || unknown float[18]; most likely these are attributes for the shaders. Water: (23, TextureTilesPerBlock),(24, Rotation) Magma: (23, AnimationX),(24, AnimationY)
| 20-22 || color || int[2] ||  
|-
|-
| 41 || unknown || bool || 1 for oceans
| 23-40 || floats || float[18] || most likely these are attributes for the shaders. Water: (23, TextureTilesPerBlock),(24, Rotation) Magma: (23, AnimationX),(24, AnimationY)
|-
|-
| 42-44 || unknown || int || int[3] 0 or 1250. only set for water / ocean and only for the procedual in all 3 fields. else only the first.
| 41-44 || ints || int[4] || 1 for oceans,  0 or 1250. only set for water / ocean and only for the procedual in all 3 fields. else only the first.
|-
|-
|}
|}
===cataclysm===
struct LiquidTypeEntry // sizeof(0xC0)
{
    m_ID; // +0x0, size 0x4, type 0
    m_minDetail; // +0x4, size 0x4, type 0
    m_loDetail_ID; // +0x8, size 0x4, type 0
    m_hiDetail_ID; // +0xC, size 0x4, type 0
    m_name; // +0x10, size 0x4, type 2
    m_flags; // +0x14, size 0x4, type 0
    m_soundBank; // +0x18, size 0x4, type 0
    m_soundID; // +0x1C, size 0x4, type 0
    m_spellID; // +0x20, size 0x4, type 0
    m_maxDarkenDepth; // +0x24, size 0x4, type 3
    m_fogDarkenIntensity; // +0x28, size 0x4, type 3
    m_ambDarkenIntensity; // +0x2C, size 0x4, type 3
    m_dirDarkenIntensity; // +0x30, size 0x4, type 3
    m_lightID; // +0x34, size 0x4, type 0
    m_particleScale; // +0x38, size 0x4, type 3
    m_particleMovement; // +0x3C, size 0x4, type 0
    m_particleTexSlots; // +0x40, size 0x4, type 0
    m_materialID; // +0x44, size 0x4, type 0
    m_texture; // +0x48, size 0x18, type 2
    m_color; // +0x60, size 0x8, type 0
    m_float; // +0x68, size 0x48, type 3
    m_int; // +0xB0, size 0x10, type 0
};


[[Category:DBC]]
[[Category:DBC]]

Revision as of 19:35, 16 April 2011

Properties of water. Added (build: 5428) to account for the damage caused by the Slime in Naxxramas.

Offset Name Type Comment
0 Id int
cata minDetail int
cata loDetailID int
cata hiDetailID int
1 Name string
cata flags int
cata soundBank int
2 flags int Water: 1, 2, 4, 8; Magma: 8, 16, 32, 64; Slime: 2, 64, 256; WMO Ocean: 1, 2, 4, 8, 512
3 Type int 0: Water, 1: Ocean, 2: Magma, 3: Slime
4 SoundEntriesID int SoundEntries.dbc irefid
5 SpellID int Spell.dbc irefID
6 maxDarkenDepth float only for slime and magma
7 fogDarkenIntensity float 7,8,9: Only oceans got values here!
8 ambDarkenIntensity float
9 dirDarkenIntensity float
10 lightID int Only Slime (6) and Magma (7)
11 particleScale float 0: Slime, 1: Water / Ocean, 4: Magma
12 particleMovement int
13 particleTexSlots int
14 LiquidMaterialID int (LiquidMaterial.dbc irefid?) this defines the shaders used. (1: "*sLiquidWater", 2: "*sLiquidMagma", 3: "*sLiquidProcWater%s" where %s is an appendix that is currently always "")
15-19 texture string[6] these are passed into the texture[] of the shaders.
20-22 color int[2]
23-40 floats float[18] most likely these are attributes for the shaders. Water: (23, TextureTilesPerBlock),(24, Rotation) Magma: (23, AnimationX),(24, AnimationY)
41-44 ints int[4] 1 for oceans, 0 or 1250. only set for water / ocean and only for the procedual in all 3 fields. else only the first.