Usage:
ObjectTemplate.SoldierCameraPosition
x/y/z
Argument values:
argument 1: | -0.01/-0.0275/0.1, -0.01/-0.04/0.09, -0.01/-0.06/0.0, -0.02/-0.03/0.01, -0.02/-0.035/0.02, -0.02/-0.04/0.03, -0.02/-0.04/0.1, -0.03/-0.02/-0.07, -0.03/-0.04/0.0, -0.03/-0.04/0.1, -0.05/-0.05/0.0, .01/-.06/0.2, ... |
Description: This property is set for HandFireArms objects. It sets the default position of the camera when using this weapon, setting it for the soldier's view of his world relative to the default camera position.
Related properties: SetPoseCameraPos, SoldierZoomFov, SoldierZoomPosition, ZoomFov
Used in object types (and how often in each type): FireArms (1%), HandFireArms (96%)
Used in a total of 89 .con files: Objects.con
Parent directory of these .con files: objects/HandWeapons
Example: (from objects/HandWeapons/KnifeAllies/Objects.con)
ObjectTemplate.Create HandFireArms KnifeAllies
ObjectTemplate.ItemIndex 1
ObjectTemplate.ProjectileTemplate KnifeProjectile
ObjectTemplate.ProjectilePosition 0/0/0
ObjectTemplate.MagSize -1
ObjectTemplate.NumOfMag 4
ObjectTemplate.MagType 0
ObjectTemplate.Reloadtime 1
ObjectTemplate.FireOnce c_True
ObjectTemplate.RoundOfFire 2
ObjectTemplate.GUIIndex 82
ObjectTemplate.SetHudAmmoType ATNone
ObjectTemplate.SetCrossHairType CHTIcon
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.LoadSoundScript Sounds/knife.ssc
ObjectTemplate.SoldierCameraPosition 0/-0.03/0.1
ObjectTemplate.AiTemplate KnifeAllies
ObjectTemplate.Velocity 50
ObjectTemplate.CreateSkeleton animations/KnifeAllies.ske
ObjectTemplate.UseSkeletonPartAsMain Base
ObjectTemplate.AddTemplate KnifeAlliesLod
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.