Bundle Type

The Bundle object type is created by ObjectTemplate.Create.

The Bundle Property is used to create a complex bundle of objects. It allows you to add templates together to form entire vehicles structure. A common use of a Bundle is to create the hull and add all the parts of the tank.

Used in a total of 290 .con files: Allies_eastairfield_spawn.con, Allies_factory_spawn.con, Allies_westairfield_spawn.con, Effects.con, Objects.con

Parent directories of these .con files: objects/Vehicles, objects/Vegetation, objects/Objectives, objects/MOVE_FILES, objects/Effects, objects/Buildings, Bf1942/Levels

Example: (from objects/Buildings/Common/EagleNest_Tunnel_M1/Objects.con)
   ObjectTemplate.Create Bundle EagleNest_Tunnel_M1
   ObjectTemplate.Geometry EagleNest_Tunnel_M1
   ObjectTemplate.SetHasCollisionPhysics 1
   ObjectTemplate.AiTemplate tunnel_lrg_AI
   ObjectTemplate.AddTemplate EagleNest_Tunnel_death_m1

Properties used with this type of object:
   ObjectTemplate.AddArmorEffect
   ObjectTemplate.AddTemplate
   ObjectTemplate.AiTemplate
   ObjectTemplate.AttachToListener
   ObjectTemplate.Create
   ObjectTemplate.CullRadiusScale
   ObjectTemplate.DamageFromWater
   ObjectTemplate.Destroyed
   ObjectTemplate.ExplosionDamage
   ObjectTemplate.FadeAtTimeToLiveAfterDeath
   ObjectTemplate.Geometry
   ObjectTemplate.HasArmor
   ObjectTemplate.HasCollisionPhysics
   ObjectTemplate.HasDynamicShadow
   ObjectTemplate.HasMobilePhysics
   ObjectTemplate.HasResponsePhysics
   ObjectTemplate.Hitpoints
   ObjectTemplate.HpLostWhileUpSideDown
   ObjectTemplate.LoadSoundScript
   ObjectTemplate.Mass
   ObjectTemplate.Material
   ObjectTemplate.Maxhitpoints
   ObjectTemplate.NetworkableInfo
   ObjectTemplate.NoCollisionsAsDestroyed
   ObjectTemplate.ResetWhenRemoved
   ObjectTemplate.SaveInSeparateFile
   ObjectTemplate.SetHasCollisionPhysics
   ObjectTemplate.SetHasResponsePhysics
   ObjectTemplate.SetInputId
   ObjectTemplate.SetNetworkableInfo
   ObjectTemplate.SetPosition
   ObjectTemplate.SetRotation
   ObjectTemplate.SinkInToLandAfterDeathSpeed
   ObjectTemplate.Startoneffects
   ObjectTemplate.StayAsDestroyed
   ObjectTemplate.TimeToLiveAfterDeath
   ObjectTemplate.TimeToStartFadeAfterDeath


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