BSPSysSimpleColorModifier

From GECK
Jump to: navigation, search

BSPSysSimpleColorModifier is a modifier for particle systems that changes the color of particles by defining ranges of three colors that fade into each other sequentially over the particle's lifespan.

An example of a BSPSysSimpleColorModifier.

Its fields are:

  • Name: The name of the modifier.
  • Order: 3000 is the only one used, it's a "general modifier" flag.
  • Target: The particle system you wish to affect.
  • Active: If the modifier is enabled. You can animate this value by specifying the name of the modifier as the Controller ID in a NiControllerSequence and using a NiPSysModifierActiveCtlr as a controller with a NiBoolTimelineInterpolator as the interpolator.
  • Fade In Percent: The lifetime percentage of when color 1 alpha stops fading into color 2 alpha.
  • Fade out Percent: The lifetime percentage of when color 2 alpha starts fading into color 3 alpha.
  • Color 1 End Percent: The lifespan percentage where color 1 starts fading into color 2.
  • Color 1 Start Percent: The lifespan percentage where color 2 reaches its full value.
  • Color 2 End Percent: The lifespan percentage where color 2 starts fading into color 3.
  • Color 2 Start Percent: The lifespan percentage where color 3 reaches its full value.
  • Colors: RGBA values for color 1, color 2, and color 3.

Notes

  • NifSkope is slightly off with its nomenclature, Color 2 Start Percent should actually be Color 3 Start Percent.
  • The fade values are best thought of as range overrides specifically for alpha.