Usage:
ObjectTemplate.InitAnimationFrame
CRD
Argument values:
argument 1: | CRD, e.g. CRD_NONE/0/0/0, CRD_NONE/1/0/0, CRD_NONE/2/0/0, CRD_NONE/8/0/0, CRD_NORMAL/1/8/0; most commonly CRD_NONE/1/0/0 |
Description: Argument 1 is a CRD type.
Related properties: AnimationSpeed, ColorRGBAOverTime, DestBlendMode, InitRotation, NumAnimationFrames, RotationSpeed
Used in object types (and how often in each type): SpriteParticle (11%)
Used in a total of 64 .con files: Effects.con
Parent directory of these .con files: objects/Effects
Example: (from objects/Effects/e_stukaFire/Effects.con)
rem *** Fx_StukaFire ***
ObjectTemplate.Create SpriteParticle Fx_StukaFire
ObjectTemplate.TimeToLive CRD_UNIFORM/0.8/0.8/0
ObjectTemplate.Size CRD_UNIFORM/0.4/0.5/0
ObjectTemplate.GravityModifier CRD_UNIFORM/-0.2/0/0
ObjectTemplate.SizeOverTime 0/1|100/1.79995
ObjectTemplate.Texture e_FireEngine256
ObjectTemplate.InitRotation CRD_NONE/0/180/0
rem ObjectTemplate.srcBlendMode BMOne
ObjectTemplate.DestBlendMode BMOne
ObjectTemplate.RotationSpeed CRD_UNIFORM/10/0/0
ObjectTemplate.XYSizeRatioOverTime 0/1|100/1
ObjectTemplate.ColorRGBAOverTime 0/0/0/0/0|3/255/255/255/255|85/255/255/255/191|100/255/255/255/0
ObjectTemplate.NumAnimationFrames 16
ObjectTemplate.InitAnimationFrame CRD_NONE/1/0/0
ObjectTemplate.AnimationSpeed CRD_NONE/95/100/0
ObjectTemplate.AnimationSpeedOverTime 0/1|100/0.200049
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.