DB/Weather: Difference between revisions

From wowdev
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 11: Line 11:
|1  || ID  || Integer  ||  
|1  || ID  || Integer  ||  
|- style="background:#F0F8FF;"
|- style="background:#F0F8FF;"
|2  || [[SoundEntries.dbc|Sound]]  || iRefID  || The sound played when the weather is taking place.
|2  || [[SoundEntries.dbc|ambienceID]]  || iRefID  || The sound played when the weather is taking place.
|-  
|-  
|3  || Type ||  Integer || 1 = Rain, 2 = Snow, 3 = Sandstorm
|3  || effectType ||  Integer || 1 = Rain, 2 = Snow, 3 = Sandstorm
|-
|cata || transitionSkyBox || Integer ||
|-  
|-  
|4  || Magenta/Red || Float  || '''*'''
|4  || effectColor || Float[3] ||  
|-  
|-  
|5  || Cyan/Blue  || Float  || '''*'''
|7  || effectTexture || String  || Holds a texture for some effects.
|-
|6  || Yellow  || Float  || '''*'''
|-
|7  || Texture || String  || Holds a texture for some effects.
|}
|}



Revision as of 20:24, 16 April 2011

This defines weather effect such as rain, snow and sandstorms.

Structure

Column Field Type Notes
1 ID Integer
2 ambienceID iRefID The sound played when the weather is taking place.
3 effectType Integer 1 = Rain, 2 = Snow, 3 = Sandstorm
cata transitionSkyBox Integer
4 effectColor Float[3]
7 effectTexture String Holds a texture for some effects.

* whenever i changed this field it actually faded whatever color i had to white..setting the value of this to 100 and the other two to 1.0 gave me very transclucent pale blue rain...i tried it several times, same each time...maybe i did it