Usage:
ObjectTemplate.ScopeIcon
image
Argument values:
argument 1: | "binocular.tga", "sniper.tga" |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetScopeIcon.
Used in object types (and how often in each type): HandFireArms (4%)
Used in a total of 4 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/HandWeapons
Example: (from vietnamObjects/HandWeapons/M21/Objects.con)
rem ----------------------------------------------------------
rem Firearm: M21 Recon
rem ----------------------------------------------------------
ObjectTemplate.Create HandFireArms M21
ObjectTemplate.NetworkableInfo HandFireArmsInfo
ObjectTemplate.ProjectileTemplate SniperProjectile
rem ObjectTemplate.setTracerTemplate Tracer_Projectile CRD_UNIFORM/2/4/0
ObjectTemplate.ProjectilePosition 0/0/0
ObjectTemplate.MagSize 10
ObjectTemplate.NumOfMag 2
ObjectTemplate.MagType 0
ObjectTemplate.Reloadtime 3
ObjectTemplate.RoundOfFire 4
ObjectTemplate.AiTemplate sniperAI
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.ZoomFov 0.35
ObjectTemplate.FireOnce 1
ObjectTemplate.AltFireOnce 1
ObjectTemplate.SoldierZoomFov 0.6
ObjectTemplate.SoldierZoomPosition 0.1/0/0
ObjectTemplate.SoldierCameraPosition 0.05/-0.04/0.05
ObjectTemplate.AddRootSpeed 0
ObjectTemplate.AmmoType 1
ObjectTemplate.CrossHairType CHTCrossHair
ObjectTemplate.UseScope 1
ObjectTemplate.ScopeIcon "sniper.tga"
ObjectTemplate.SniperSight 1
ObjectTemplate.GUIIndex 3
ObjectTemplate.SetHudAmmoType ATAmmoBar
rem ObjectTemplate.primaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.AmmoBar "Menu/hud/Ammo_Meter_Box.tga"
ObjectTemplate.AmmoBarFill "Menu/hud/Ammo_Meter_Box_full.tga"
ObjectTemplate.AmmoBarSize 58
ObjectTemplate.AmmoBarPosX -187
ObjectTemplate.AmmoBarPosY 36
ObjectTemplate.AmmoBarTextPosX 52
ObjectTemplate.AmmoBarTextPosY -1
Rem *** Deviation Begin *****
rem ** FireDev how large a reticule/how quickly it expands/how quickly it returns
rem ** setDevMod(float devModStand, float devModCrouch, float devModLie)
rem ** Mindev sets the size of the reticule/deviation of bullets **
rem ** Turndev setTurnDev(float max, float addPitch, float addYaw, float sub)
rem ** SpeedDev setSpeedDev(float max, float addForward, float addStrafe, float sub)
rem ** MiscDev setMiscDev(float max, float addJump, float sub)
ObjectTemplate.Velocity 2500
ObjectTemplate.SetRecoilForceUp CRD_UNIFORM/1.3/2.6/0
ObjectTemplate.SetRecoilForceLeftRight CRD_UNIFORM/-0.1/-0.5/0
ObjectTemplate.SetHasRecoilForce 1
ObjectTemplate.SetGoBackOnRecoil 1
ObjectTemplate.SetFireDev 3.5 10 0.05
ObjectTemplate.SetDevMod 0.9 0.5 0.1 0
ObjectTemplate.SetMinDev 0.05
ObjectTemplate.SetTurnDev 0.85 0.2 0.2 0.175
ObjectTemplate.SetSpeedDev 2.1 1.2 1.1 0.1
ObjectTemplate.SetMiscDev 4.8 0.3 0.3
Rem *** Deviation End *****
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.LoadSoundScript Sounds/M21.ssc
ObjectTemplate.CreateSkeleton animations/M21.ske
ObjectTemplate.UseSkeletonPartAsMain Base
ObjectTemplate.AddTemplate M21SniperLod
ObjectTemplate.AddTemplate e_MuzzM21
rem ObjectTemplate.inputId -1
rem ObjectTemplate.startOnEffects 0
ObjectTemplate.SetPosition -0.05/0.07/1.1
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate e_shellAK47
rem ObjectTemplate.inputId -1
rem ObjectTemplate.startOnEffects 1
ObjectTemplate.SetPosition 0.01/0.12/0.48
ObjectTemplate.SetRotation 0/0/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.