AmmoBarPosY Property [Vietnam]

Usage:
   ObjectTemplate.AmmoBarPosY number

Argument values:

argument 1:    range is -14 to 36; most commonly 36

Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetAmmoBarPosY.

Related properties: AmmoBar, AmmoBarFill, AmmoBarPosX, AmmoBarSize, AmmoBarTextPosX, AmmoBarTextPosY, CrossHairType, GUIIndex

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

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

Parent directory of these .con files: vietnamObjects/HandWeapons

Example: (from vietnamObjects/HandWeapons/M14/Objects.con)
   rem ----------------------------------------------------------
   rem Firearm: M14
   rem ----------------------------------------------------------
   ObjectTemplate.Create HandFireArms M14
   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 singleshotAI
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.ZoomFov 0.7
   ObjectTemplate.FireOnce 1
   ObjectTemplate.AltFireOnce 1
   ObjectTemplate.SoldierZoomFov 0.5
   ObjectTemplate.SoldierZoomPosition 0.1/0/0
   ObjectTemplate.SoldierCameraPosition 0.05/-0.04/0.05
   ObjectTemplate.AddRootSpeed 0
   ObjectTemplate.AmmoType 1
   rem ObjectTemplate.useScope 1
   rem ObjectTemplate.SniperSight 1
   ObjectTemplate.GUIIndex 16
   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
   ObjectTemplate.CrossHairType CHTCrossHair
   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 5 0.25
   ObjectTemplate.SetDevMod 0.9 0.5 0.1 0
   ObjectTemplate.SetMinDev 0.3
   ObjectTemplate.SetTurnDev 0.85 0.2 0.2 0.175
   ObjectTemplate.SetSpeedDev 2.1 1.2 1.1 0.1
   ObjectTemplate.SetMiscDev 3.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 M14SniperLod
   ObjectTemplate.AddTemplate e_MuzzM14
   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.