Usage:
ObjectTemplate.AmmoBarFill
image
Argument values:
argument 1: | "Menu/hud/Ammo_Meter_Box_full.tga", "Menu/hud/guage03full.tga" |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetAmmoBarFill.
Related properties: AmmoBar, AmmoBarPosX, AmmoBarPosY, AmmoBarSize, AmmoBarTextPosX, AmmoBarTextPosY, GUIIndex
Used in object types (and how often in each type): HandFireArms (37%)
Used in a total of 34 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/HandWeapons
Example: (from vietnamObjects/HandWeapons/Rpg7v/Objects.con)
ObjectTemplate.Create HandFireArms Rpg7v
ObjectTemplate.NetworkableInfo HandFireArmsInfo
ObjectTemplate.AiTemplate RocketAI
ObjectTemplate.ProjectileTemplate RpgProjectile
ObjectTemplate.ProjectilePosition 0/0/0
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.MagSize 1
ObjectTemplate.NumOfMag 6
ObjectTemplate.MagType 0
ObjectTemplate.AutoReload 1
ObjectTemplate.Reloadtime 4.3
ObjectTemplate.RoundOfFire 1
ObjectTemplate.FireOnce 1
ObjectTemplate.SoldierZoomFov 0.7
ObjectTemplate.SoldierZoomPosition 0.04/-0.08/0.0
ObjectTemplate.SoldierCameraPosition 0.04/-0.08/0.0
ObjectTemplate.AddRootSpeed 0
ObjectTemplate.AmmoType 3
ObjectTemplate.LoadSoundScript Sounds/Rpg7v.ssc
ObjectTemplate.ZoomFov 0.6
ObjectTemplate.AltFireOnce 1
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.GUIIndex 17
ObjectTemplate.SetHudAmmoType ATIcon
rem objectTemplate.ammoIcon "Ammo/Icon_rocket.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 CHTIcon
ObjectTemplate.HasMag 1
Rem *** Deviation Begin *****
ObjectTemplate.Velocity 65
rem ObjectTemplate.minDevStanding 0.2
rem ObjectTemplate.minDevCrouching 0.1
rem ObjectTemplate.minDevLying 0.05
rem ObjectTemplate.subDevStanding 0.03
rem ObjectTemplate.subDevCrouching 0.05
rem ObjectTemplate.subDevLying 0.025
rem ObjectTemplate.addDevWalk 0.01
rem ObjectTemplate.addDevRun 0.02
rem ObjectTemplate.addDevJump 0.05
rem ObjectTemplate.addDevYaw 0.02
rem ObjectTemplate.addDevPitch 0.02
rem ObjectTemplate.addDevStrafe 0.01
Rem *** Deviation End *****
ObjectTemplate.CreateSkeleton animations/Rpg7v.ske
ObjectTemplate.UseSkeletonPartAsMain Base
ObjectTemplate.AddTemplate Rpg7vLod
ObjectTemplate.AddTemplate e_rocketFumeBack
rem ObjectTemplate.inputId -1
rem ObjectTemplate.startOnEffects 0
rem ObjectTemplate.setPosition 0/0/0
ObjectTemplate.SetRotation 0/0/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.