ZoomFov Property

Usage:
   ObjectTemplate.ZoomFov number

Argument values:

argument 1:    range is 0.1 to 0.7; most commonly 0.6, 0.7

Description: A value saying how much a hand weapon zooms in when the right mouse button is clicked. For the sniper rifle this is 0.1 (10x zoom), assault guns this is 0.5 (2x zoom), and values range upwards to 0.7 (for the Colt and WalterP38). Binoculars have a value of 0.2. The lower the value, the more the field of view zooms in.

Related properties: SetPoseCameraPos, SoldierCameraPosition, SoldierZoomFov, SoldierZoomPosition

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

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

Parent directory of these .con files: objects/HandWeapons

Example: (from objects/HandWeapons/K98RifleGrenade/Objects.con)
   rem ----------------------------------------------------------
   rem Firearm: K98RifleGrenade
   rem ----------------------------------------------------------
   ObjectTemplate.Create HandFireArms K98RifleGrenade
   ObjectTemplate.NetworkableInfo HandFireArmsInfo
   ObjectTemplate.ItemIndex 4
   ObjectTemplate.ProjectileTemplate K98RifleGrenadeProjectile
   ObjectTemplate.ProjectilePosition 0/0/0
   rem ObjectTemplate.visibleDummyProjectileTemplate K98RifleGrenadeAmmoDummy
   rem ObjectTemplate.addFirearmsPosition 0/0/1.5 0/0/0
   ObjectTemplate.MagSize 1
   ObjectTemplate.NumOfMag 6
   ObjectTemplate.MagType 0
   ObjectTemplate.Reloadtime 2.75
   ObjectTemplate.RoundOfFire 1
   ObjectTemplate.FireOnce 1
   ObjectTemplate.AltFireOnce 1
   ObjectTemplate.AiTemplate K98RifleGrenadeAI
   ObjectTemplate.ZoomFov 0.4
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.SoldierZoomFov 0.6
   ObjectTemplate.SoldierZoomPosition -0.07/0/0
   ObjectTemplate.SoldierCameraPosition 0.03/0.01/-0.02
   ObjectTemplate.AddRootSpeed 0
   ObjectTemplate.AmmoType 2
   ObjectTemplate.AutoReload 1
   ObjectTemplate.GUIIndex 11
   ObjectTemplate.SetHudAmmoType ATIcon
   ObjectTemplate.SetAmmoIcon "Ammo/Ammobar_icon_RifleGranade_64x32.tga"
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetHasMag 1
   Rem *** Deviation Begin *****
   ObjectTemplate.Velocity 32
   ObjectTemplate.SetRecoilForceUp CRD_UNIFORM/1.2/1.2/0
   ObjectTemplate.SetRecoilForceLeftRight CRD_UNIFORM/-0.1/-0.3/0
   ObjectTemplate.SetHasRecoilForce 1
   ObjectTemplate.SetGoBackOnRecoil 1
   ObjectTemplate.CantSelectWhenNoAmmo 1
   ObjectTemplate.ChangeWeaponWhenNoAmmo 1
   ObjectTemplate.SetFireDev 0 0 0
   ObjectTemplate.SetDevMod 1 0.7 0.5
   ObjectTemplate.SetMinDev 0.25
   ObjectTemplate.SetTurnDev 0 0 0 0
   ObjectTemplate.SetSpeedDev 1.5 0.4 0.4 0.1
   ObjectTemplate.SetMiscDev 2.5 2.5 0.1
   Rem *** Deviation End *****
   ObjectTemplate.FireInCameraDof 1
   ObjectTemplate.LoadSoundScript Sounds/GrenadeAllies.ssc
   rem ObjectTemplate.loadSoundScript Sounds/k98.ssc
   ObjectTemplate.CreateSkeleton animations/K98RifleGrenade.ske
   ObjectTemplate.UseSkeletonPartAsMain BaseK98
   ObjectTemplate.AddTemplate K98RifleGrenadeLod
   ObjectTemplate.AddTemplate e_MuzzGun
   ObjectTemplate.SetPosition 0/0.05/0.84
   ObjectTemplate.SetRotation 0/0/0


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