DB/ScreenEffect: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (Added Category WotLK)
No edit summary
Line 4: Line 4:
  2 Name str
  2 Name str
  3 Type int
  3 Type int
   0: EffectGlow, -Fog
   0: ffxEffectGlow
   1: FFXEffects, -Fog
   1: ffxEffectDeath
   2: ffxNetherWorld
   2: ffxEffectNetherWorld
   3: ffxSpecial / EffectGlow, -Fog, +color
   3: ffxEffectSwirlingFog
  4 Col color, see in hex. rrggbbxx
  4 Col color, see in hex. rrggbbxx
  5 edge int Screen Edge Size
  5 edge int Screen Edge Size
Line 15: Line 15:
  9 SoundAmbience iRefId
  9 SoundAmbience iRefId
  10 ZoneMusic iRefId
  10 ZoneMusic iRefId
==16464==
struct ScreenEffectRec --[[User:Schlumpf|Schlumpf]] 23:31, 24 December 2012 (UTC)
{
  enum ScreenEffectType : unsigned int
  {
    ffxEffectGlow = 0,
    ffxEffectDeath = 1,
    ffxEffectNetherWorld = 2,
    ffxEffectSwirlingFog = 3,
    ffxEffectUnconscious = 4, // new in MoP or Cataclysm?
  };
  int id;
  const char* name;
  ScreenEffectType type;
  union
  {
    int data[4];
    struct
    {
      int unused[3];
      int flags; // &2: use skybox from lightParams
    } glow;
    struct
    {
      int _1; // parameter for PassFogSeed. tint color?
      int _2; // parameter for PassPropagateFog: _2 / 255.0 * 0.9
      int _3; // parameter for PassFogCombine: _3 / 100.0
    } swirlingFog;
    struct
    {
      int _[3]; // parameters for PassGlowFade
      int flags; // &1: ?, &2: use skybox from lightParams
    } unconscious;
  } params;
  int lightParamsId; // ignored unless params.*.flags & 2. Only uses skybox.
  int soundAmbienceId;
  int zoneMusicId;
  int todOverride; // new with MoP or Cataclysm? -1 for none, [0, 1440]
};


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

Revision as of 01:31, 25 December 2012

This one is used for on-screen-effects that modify colors. They can be seen in several questlines such as those in Ebon Hold. The file got added in Wrath of the Lich King. Its called from several spells like BOTM - Jungle Brew - Jungle Madness Vision Effect (Apply Aura: #260 (61 ["BOTM - Jungle Madness"]).

1 ID int
2 Name str
3 Type int
  0: ffxEffectGlow
  1: ffxEffectDeath
  2: ffxEffectNetherWorld
  3: ffxEffectSwirlingFog
4 Col color, see in hex. rrggbbxx
5 edge int Screen Edge Size
6 bw int (the higher this is.. the more Black and White the screen will go)
7 unk null
8 LightParams iRefId
9 SoundAmbience iRefId
10 ZoneMusic iRefId

16464

struct ScreenEffectRec --Schlumpf 23:31, 24 December 2012 (UTC)
{
  enum ScreenEffectType : unsigned int
  {
    ffxEffectGlow = 0,
    ffxEffectDeath = 1,
    ffxEffectNetherWorld = 2,
    ffxEffectSwirlingFog = 3,
    ffxEffectUnconscious = 4, // new in MoP or Cataclysm?
  };
  int id;
  const char* name;
  ScreenEffectType type; 
  union
  {
    int data[4];
    struct
    {
      int unused[3];
      int flags; // &2: use skybox from lightParams
    } glow;
    struct
    {
      int _1; // parameter for PassFogSeed. tint color?
      int _2; // parameter for PassPropagateFog: _2 / 255.0 * 0.9
      int _3; // parameter for PassFogCombine: _3 / 100.0
    } swirlingFog;
    struct
    {
      int _[3]; // parameters for PassGlowFade
      int flags; // &1: ?, &2: use skybox from lightParams
    } unconscious;
  } params;
  int lightParamsId; // ignored unless params.*.flags & 2. Only uses skybox.
  int soundAmbienceId;
  int zoneMusicId;
  int todOverride; // new with MoP or Cataclysm? -1 for none, [0, 1440]
};