Projectile2Template Property

Usage:
   ObjectTemplate.Projectile2Template name

Argument values:

argument 1:    BinocularsProjectile2, NVABinocularsProjectile2; most commonly BinocularsProjectile2

Description: In BF this is used only in the binoculars' Objects.con file:

  ObjectTemplate.ProjectileTemplate BinocularsProjectile
  ObjectTemplate.Projectile2Template BinocularsProjectile2

This template makes the "scouting for artillery" object come into being for 120 seconds, i.e.

  ObjectTemplate.Create Projectile BinocularsProjectile2
  rem ObjectTemplate.NetworkableInfo SpyProjectileInfo
  ObjectTemplate.TimeToLive CRD_NONE/120/0/0
  ObjectTemplate.HasCollisionPhysics 0
  ObjectTemplate.GravityModifier 0.0
  ObjectTemplate.HasCollisionEffect 0

That said, this is almost exactly the same object as is created by ProjectileTemplate, which makes a BinocularsProjectile. The only difference in the .con file is that this BinocularsProjectile object also has this defined:

  ObjectTemplate.DamageType 3

A DamageType of 3 defines the "projectile" as a binoculars sighting.

Related properties: ProjectileTemplate

Used in object types (and how often in each type): HandFireArms (3%)

Used in a total of 3 .con files: Objects.con

Parent directory of these .con files: objects/HandWeapons

Example: (from objects/HandWeapons/Binoculars/Objects.con)
   ObjectTemplate.Create HandFireArms Binoculars
   ObjectTemplate.ItemIndex 5
   ObjectTemplate.MagType 2
   ObjectTemplate.NumOfMag 1
   ObjectTemplate.MagSize -1
   ObjectTemplate.FireOnce 1
   ObjectTemplate.AltFireOnce 1
   ObjectTemplate.SoldierCameraPosition 0/-0.03/0.2
   ObjectTemplate.ProjectileTemplate BinocularsProjectile
   ObjectTemplate.Projectile2Template BinocularsProjectile2
   ObjectTemplate.CreateSkeleton animations/Binoculars.ske
   ObjectTemplate.UseSkeletonPartAsMain base
   ObjectTemplate.ZoomFov 0.2
   ObjectTemplate.UseScope 1
   ObjectTemplate.FireInCameraDof 1
   ObjectTemplate.ProjectilePosition 0/0/2
   ObjectTemplate.GUIIndex 84
   ObjectTemplate.SetScopeIcon "binocular.tga"
   ObjectTemplate.SetSightIcon "scout_ring_128x128.tga"
   ObjectTemplate.SetSniperSight 0
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.CreateSkeleton animations/Binoculars.ske
   ObjectTemplate.UseSkeletonPartAsMain Binoculars
   ObjectTemplate.AddTemplate BinocularsLod


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