DB/Weather: Difference between revisions

From wowdev
Jump to navigation Jump to search
(New page: ==Structure== '''Column Field Type Notes''' 1 ID Integer may be also linked to the area, but i cant find a resemblence 2 Unknown Integer 3 Unknown Integer most lik...)
 
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This defines weather effect such as rain, snow and sandstorms.
{{Template:Sandbox/VersionRange|min_expansionlevel=2}}
==Structure==
==Structure==
{| style="background:#FCFCFC; color:black"
|-
! width="80" | Column
! width="180 " | Field
! width="80" | Type
! width="600" | Notes
|-
|1  || ID  || Integer  ||
|- style="background:#F0F8FF;"
|2  || [[SoundEntries.dbc|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
*--watcher, 00:08, 13 August 2007


  '''Column Field Type Notes'''
==6.0.1.18179==
  1 ID Integer may be also linked to the area, but i cant find a resemblence
  struct WeatherRec {
2 Unknown Integer
  uint32_t m_ID;
3 Unknown Integer most likely the type of weather (0->3)
  uint32_t m_ambienceID;
  4 Unknown Float always 1.0
  uint32_t m_type;
4 Unknown Float always 1.0 (as of 2.1.3)
  uint32_t m_effectType; // 0 : None, 1: Rain, 2: Snow, 3: Sand
4 Unknown Float  always 1.0
  float m_intensity[2];
''5 Unknown None''
  float m_transitionSkyBox;
  float m_effectColor[3];
  {{Template:Type|stringref}} m_effectTexture;
  uint32_t m_soundAmbienceID;
  uint32_t m_windSettingsID;
  };
[[Category:DBC]][[Category:3.0.2.8905]]
[[Category:DBC_WotLK]]
[[Category:DBC_WoD]]
[[Category:6.0.1.18179]]

Latest revision as of 12:54, 26 March 2018

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

≥ BC

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

  • --watcher, 00:08, 13 August 2007

6.0.1.18179

struct WeatherRec {
  uint32_t m_ID;
  uint32_t m_ambienceID;
  uint32_t m_type;
  uint32_t m_effectType;  // 0 : None, 1: Rain, 2: Snow, 3: Sand
  float m_intensity[2];
  float m_transitionSkyBox;
  float m_effectColor[3];
  stringref m_effectTexture;
  uint32_t m_soundAmbienceID;
  uint32_t m_windSettingsID;
};