SetTracerTemplate Property

Usage:
   ObjectTemplate.SetTracerTemplate string CRD

Argument values:

argument 1:    Tracer_Projectile; most commonly Tracer_Projectile
argument 2:    CRD, always CRD_UNIFORM/0/0/0

Description: This property specifies how often a tracer bullet (shown by a bright line) is fired. For example, "CRD_NONE/3/0/0" means every third bullet is a tracer.

Related properties: AiTemplate, MagSize, NumOfMag, ProjectilePosition, ProjectileTemplate

Used in object types (and how often in each type): FireArms (33%), HandFireArms (2%)

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

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

Example: (from objects/Vehicles/Air/Mustang/Weapons.con)
   rem *** MustangGunBarrel ***
   ObjectTemplate.Create FireArms MustangGuns
   ObjectTemplate.SetNetworkableInfo PlaneFireArmInfo
   ObjectTemplate.LoadSoundScript Sounds/Mustangfire.ssc
   ObjectTemplate.AiTemplate MustangMachineGun
   rem -------------------------------------
   ObjectTemplate.VisibleBarrelTemplate e_MuzzHeavy
   rem -------------------------------------
   ObjectTemplate.ProjectileTemplate MustangProjectile
   ObjectTemplate.ProjectilePosition 0/0/2
   ObjectTemplate.SetTracerTemplate Tracer_Projectile CRD_NONE/3/0/0
   ObjectTemplate.MagSize 900
   ObjectTemplate.NumOfMag 1
   ObjectTemplate.Velocity 400
   ObjectTemplate.RoundOfFire 12
   ObjectTemplate.AddFireArmsPosition 2.2/-0.01/1.8 -1.3/0/0
   ObjectTemplate.AddFireArmsPosition -2.2/-0.01/1.8 1.3/0/0
   ObjectTemplate.AmmoType 10


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.