SpriteParticle Type

The SpriteParticle object type is created by ObjectTemplate.Create.

The SpriteParticle is similar to the Particle object type. The difference is that the sprite particle is a single dot which varies in size, color, and transparency, and moves relative to the screen (i.e. in 2D), vs. a particle, which moves in 3D and has geometry and texture associated with it.

Used in a total of 336 .con files: Effects.con

Parent directory of these .con files: objects/Effects

Example: (from objects/Effects/e_rocketFume/Effects.con)
   rem *** Fx_rocketFume_Smoke ***
   ObjectTemplate.Create SpriteParticle Fx_rocketFume_Smoke
   ObjectTemplate.TimeToLive CRD_NORMAL/2.5/2.51/0
   ObjectTemplate.Size CRD_NONE/1.2/0/0
   ObjectTemplate.GravityModifier CRD_NONE/0/0/0
   ObjectTemplate.Drag CRD_NONE/20/0/0
   ObjectTemplate.SizeOverTime 0/0.400006|16/0.5|100/0.75
   ObjectTemplate.Texture e_muzs1_I
   ObjectTemplate.UseMipMaps 1
   ObjectTemplate.InitRotation CRD_UNIFORM/0/180/1
   ObjectTemplate.XYSizeRatio CRD_NONE/1/0/0
   ObjectTemplate.SrcBlendMode BMSourceAlpha
   ObjectTemplate.DestBlendMode BMInvSourceAlpha
   ObjectTemplate.RotationSpeed CRD_UNIFORM/20/50/1
   ObjectTemplate.ColorRGBAOverTime 0/212/208/200/255|7/255/255/255/217|54/255/255/255/192|62/200/200/200/165|80/200/200/200/86|100/200/200/200/0

Properties used with this type of object:
   ObjectTemplate.AlphaTestRef
   ObjectTemplate.AlphaTestRefOverTime
   ObjectTemplate.AnimationSpeed
   ObjectTemplate.AnimationSpeedOverTime
   ObjectTemplate.ColorRGBAOverTime
   ObjectTemplate.Create
   ObjectTemplate.DestBlendMode
   ObjectTemplate.Drag
   ObjectTemplate.DragOverTime
   ObjectTemplate.GravityModifier
   ObjectTemplate.GravityModifierOverTime
   ObjectTemplate.HasStaticColor
   ObjectTemplate.InitAnimationFrame
   ObjectTemplate.InitRotation
   ObjectTemplate.NumAnimationFrames
   ObjectTemplate.RotationSpeed
   ObjectTemplate.RotationSpeedOverTime
   ObjectTemplate.Size
   ObjectTemplate.SizeOverTime
   ObjectTemplate.SrcBlendMode
   ObjectTemplate.Texture
   ObjectTemplate.TimeToLive
   ObjectTemplate.TurnsInMovingDirection
   ObjectTemplate.UseMipMap
   ObjectTemplate.UseMipMaps
   ObjectTemplate.UseUVRotation
   ObjectTemplate.XYSizeRatio
   ObjectTemplate.XYSizeRatioOverTime


Go to the ObjectTemplate type list page, ObjectTemplate page, All Types list, Class list, CON file list, or Main scripting page.