Usage:
ObjectTemplate.DetectionTime
number
Argument values:
argument 1: | 12.0 |
Description: This property is used exclusively in Battlefield Vietnam.
Used in object types (and how often in each type): HandFireArms (2%)
Used in a total of 2 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/HandWeapons
Example: (from vietnamObjects/HandWeapons/NVABinoculars/Objects.con)
ObjectTemplate.Create HandFireArms NVABinoculars
ObjectTemplate.MagType 2
ObjectTemplate.NumOfMag -1
ObjectTemplate.MagSize -1
ObjectTemplate.FireOnce 1
ObjectTemplate.AltFireOnce 1
ObjectTemplate.Reloadtime 1.0
ObjectTemplate.RoundOfFire 0.1
ObjectTemplate.DetectionTime 12.0
rem ObjectTemplate.setAsynchronyFire 1
ObjectTemplate.SoldierCameraPosition 0/-0.03/0.2
ObjectTemplate.ProjectileTemplate NVABinocularsProjectile
ObjectTemplate.Projectile2Template NVABinocularsProjectile2
ObjectTemplate.CreateSkeleton animations/NVABinoculars.ske
ObjectTemplate.UseSkeletonPartAsMain base
ObjectTemplate.ZoomFov 0.2
ObjectTemplate.UseScope 1
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.ProjectilePosition 0/0/2
ObjectTemplate.GUIIndex 84
ObjectTemplate.ScopeIcon "binocular.tga"
ObjectTemplate.SightIcon "scout_ring_128x128.tga"
ObjectTemplate.SniperSight 0
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.CreateSkeleton animations/NVABinoculars.ske
ObjectTemplate.UseSkeletonPartAsMain Binoculars
ObjectTemplate.AddTemplate NVaBinocularsLod
rem ObjectTemplate.setHudAmmoType ATIconAndStrengthBar
rem objectTemplate.ammoIcon "Ammo/Icon_grenadeallies_64x32.tga"
rem objectTemplate.primaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.AmmoBar "Menu/hud/guage03empty.tga"
ObjectTemplate.AmmoBarFill "Menu/hud/guage03full.tga"
ObjectTemplate.AmmoBarSize 64
ObjectTemplate.AmmoBarPosX 0
ObjectTemplate.AmmoBarPosY -14
ObjectTemplate.AmmoBarTextPosX -12
ObjectTemplate.AmmoBarTextPosY -20
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.