Projectile Type

The Projectile object type is created by ObjectTemplate.Create.

A projectile is an object that will do damage and/or splash damage when it collides/explodes. Projectiles are fired from HandFireArms and FireArms.

Used in a total of 109 .con files: Objects.con, Projectile.con, Weapons.con

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

Example: (from Bf1942/Levels/Liberation_of_Caen/Objects/Pak40/Weapons.con)
   rem *** Pak40_Projectile ***
   ObjectTemplate.Create Projectile Pak40Projectile
   ObjectTemplate.CreateNotInGrid 1
   ObjectTemplate.LoadSoundScript ../../Common/Sounds/Projectile.ssc
   ObjectTemplate.Geometry projectile_m1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.TimeToLive CRD_NONE/10/0/0
   ObjectTemplate.DamageType 1
   ObjectTemplate.Material 129
   ObjectTemplate.Material2 134
   ObjectTemplate.HasCollisionEffect 1
   ObjectTemplate.AddTemplate e_PanzShootTrail

Properties used with this type of object:
   ObjectTemplate.AddTemplate
   ObjectTemplate.AddToProjectileList
   ObjectTemplate.AmmoType
   ObjectTemplate.Create
   ObjectTemplate.CreateNotInGrid
   ObjectTemplate.DamageType
   ObjectTemplate.DetonateOnWaterCollision
   ObjectTemplate.DieAfterColl
   ObjectTemplate.DistToMinDamage
   ObjectTemplate.DistToStartLoseDamage
   ObjectTemplate.Drag
   ObjectTemplate.EndEffectTemplate
   ObjectTemplate.ExplodeNearEnemyDistance
   ObjectTemplate.ExplosionDamage
   ObjectTemplate.ExplosionForceMod
   ObjectTemplate.ExplosionRadius
   ObjectTemplate.ForceOnExplosion
   ObjectTemplate.Geometry
   ObjectTemplate.GravityModifier
   ObjectTemplate.HasArmor
   ObjectTemplate.HasCollisionEffect
   ObjectTemplate.HasCollisionPhysics
   ObjectTemplate.HasDynamicShadow
   ObjectTemplate.HasMobilePhysics
   ObjectTemplate.HasOnTimeEffect
   ObjectTemplate.Haspointphysics
   ObjectTemplate.HasResponsePhysics
   ObjectTemplate.HasStartEffect
   ObjectTemplate.HeatMaxTurnForce
   ObjectTemplate.HeatMaxTurnForceVsAir
   ObjectTemplate.Hitpoints
   ObjectTemplate.Invisible
   ObjectTemplate.InvisibleAtEndEffect
   ObjectTemplate.IsHeatSeeking
   ObjectTemplate.IsSticky
   ObjectTemplate.IsVehicleTrap
   ObjectTemplate.LoadSoundScript
   ObjectTemplate.Mass
   ObjectTemplate.Material
   ObjectTemplate.Material2
   ObjectTemplate.Maxhitpoints
   ObjectTemplate.MinDamage
   ObjectTemplate.NetworkableInfo
   ObjectTemplate.NoFFSound
   ObjectTemplate.ProjectileType
   ObjectTemplate.ProximityFusePrimer
   ObjectTemplate.Radius
   ObjectTemplate.SaveInSeparateFile
   ObjectTemplate.SetHasCollisionPhysics
   ObjectTemplate.SetHasMobilePhysics
   ObjectTemplate.SetHasPointPhysics
   ObjectTemplate.SetHasResponsePhysics
   ObjectTemplate.SetPosition
   ObjectTemplate.SetRotation
   ObjectTemplate.StartEffectTemplate
   ObjectTemplate.StopAtEndEffect
   ObjectTemplate.TimeOnEndEffect
   ObjectTemplate.TimeToLive
   ObjectTemplate.TracerScaler
   ObjectTemplate.UseMMOnEndEffect
   ObjectTemplate.YModOnExplosion


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