EffectBundle Type

The EffectBundle object type is created by ObjectTemplate.Create.

An EffectBundle allow you to create a new Effect in Battlefield 1942. Usually these effects are particle effects such as smoke, explosions, etc. To create a new effect, you create an EffectBundle and have at least one particle Emitter attached to it.

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

Parent directories of these .con files: objects/Vehicles, objects/Effects, Bf1942/Levels

Example: (from objects/Effects/e_ScrapMetal_Ilyushin/Effects.con)
   rem *** e_ScrapMetal_Ilyushin ***
   ObjectTemplate.Create EffectBundle e_ScrapMetal_Ilyushin
   ObjectTemplate.SaveInSeparateFile 1
   rem -------------------------------------
   ObjectTemplate.AddTemplate Em_ScrapMetal_Plane_1
   ObjectTemplate.AddTemplate Em_ScrapMetal_Plane_2
   ObjectTemplate.AddTemplate Em_ScrapMetal_Plane_3
   ObjectTemplate.AddTemplate Em_ScrapMetal_Wing_Ilyushin
   ObjectTemplate.SetPosition -4/0/0
   ObjectTemplate.TimeToLive CRD_NONE/1.8/0/0

Properties used with this type of object:
   ObjectTemplate.AddTemplate
   ObjectTemplate.AddWorkOnMaterial
   ObjectTemplate.Create
   ObjectTemplate.InertiaModifier
   ObjectTemplate.LoadSoundScript
   ObjectTemplate.LodDistance
   ObjectTemplate.Material
   ObjectTemplate.MaxDistanceUnderwaterSurface
   ObjectTemplate.MinDistanceUnderwaterSurface
   ObjectTemplate.SaveInSeparateFile
   ObjectTemplate.SetPosition
   ObjectTemplate.SetRotation
   ObjectTemplate.SetStartOnEffects
   ObjectTemplate.TimeToLive


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