Set1pFov Property

Usage:
   ObjectTemplate.Set1pFov number

Argument values:

argument 1:    0.47

Description: This controls the field of view in which the first person gun model is shown. It does not alter the standard view of the outside world, only the apparent size of the gun model.

See the VideoDefault.con file for setting the outside world fieldOfView, using Renderer.FieldOfView.

This property is not a part of any defined type of object.

Used in a total of 2 .con files: Commonsoldierdata.inc

Parent directory of these .con files: objects/Soldiers

Example: (from objects/Soldiers/Common/CommonSoldierData.inc)
   rem **** Filename: CommonSoldierData.inc
   rem ** Make soldier be visible 3 times the normal culling distance
   ObjectTemplate.CullRadiusScale 3.0
   ObjectTemplate.HasDynamicShadow 1
   rem .setSkeletonCollisionBone
   ObjectTemplate.SetSkeletonCollisionBone Bip01_Head 0.02 2 40
   ObjectTemplate.SetSkeletonCollisionBone Bip01_Spine2 0.08 -0.45 41
   ObjectTemplate.SetSkeletonCollisionBone Bip01_L_Forearm 0.02 0.0 42
   ObjectTemplate.SetSkeletonCollisionBone Bip01_R_Forearm 0.02 0.0 42
   ObjectTemplate.SetSkeletonCollisionBone Bip01_L_Calf 0.03 0.3 42
   ObjectTemplate.SetSkeletonCollisionBone Bip01_R_Calf 0.03 0.3 42
   ObjectTemplate.SetSkeletonCollisionBone Bip01_L_Foot 0.035 0 42
   ObjectTemplate.SetSkeletonCollisionBone Bip01_R_Foot 0.035 0 42
   rem *** Different camera positions for different soldier poses.
   ObjectTemplate.Center1pHands -0.12/-1.56/0.1
   ObjectTemplate.SetPoseCameraPos c_BfSoldierStanding 0/0.65/0
   ObjectTemplate.SetPoseCameraPos c_BfSoldierCrouching 0/0.12/0
   ObjectTemplate.SetPoseCameraPos c_BfSoldierLying 0/-0.7/0
   ObjectTemplate.SetCharacterHeight -1.00
   ObjectTemplate.Geometry BodyCollision
   ObjectTemplate.SetParachuteDrag 24.00
   ObjectTemplate.SetParachuteSpeed 30.00
   ObjectTemplate.HasArmor 1
   ObjectTemplate.ExplosionForceMax 600
   ObjectTemplate.ExplosionDamage 0.0
   ObjectTemplate.Hitpoints 30
   ObjectTemplate.Maxhitpoints 30
   ObjectTemplate.TimeToLiveAfterDeath 10
   ObjectTemplate.SpeedMod 0.5
   ObjectTemplate.AngleMod 1
   ObjectTemplate.Material 40
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.Drag 1.0
   ObjectTemplate.Mass 100
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   rem ObjectTemplate.Grip 20
   ObjectTemplate.SetAnimationState 0 Lb_Stand
   ObjectTemplate.SetAnimationState 1 Ub_StandAim
   ObjectTemplate.SetTurnLeftRightAngle 20.0 14.0
   ObjectTemplate.SetPointUpDownAngle 38.0 38.0
   ObjectTemplate.SetLiePointUpDownAngle 0.0 -6.0
   ObjectTemplate.Set1pFov 0.47
   ObjectTemplate.NetworkableInfo NetSoldierInfo
   ObjectTemplate.HpLostWhileDamageFromWater 1
   ObjectTemplate.WaterDamageDelay 90
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.IsPortalPassing 1
   ObjectTemplate.PortalPassingPosition 0/0/0
   ObjectTemplate.AiTemplate Soldier
   ObjectTemplate.AddTemplate SoldierEntry
   ObjectTemplate.AddTemplate SoldierCamera
   ObjectTemplate.SetIsFirstPersonPart 2
   ObjectTemplate.AddTemplate Parachute
   ObjectTemplate.SetPosition 0/0.3/0
   ObjectTemplate.RepairDistance 2.0
   ObjectTemplate.DisarmMinesDistance 2.0
   ObjectTemplate.HealDistance 10.0
   ObjectTemplate.ExplosionForceMod 75
   rem *** Medic ***
   ObjectTemplate.HealFactor 0.25
   ObjectTemplate.SelfHealFactor 0.15
   rem *** engineer repair ***
   ObjectTemplate.RepairFactor 0.15


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