Usage:
ObjectTemplate.CreateProjectilesOnDemand
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Description: This property is used exclusively in Battlefield Vietnam.
Used in object types (and how often in each type): HandFireArms (3%)
Used in a total of 3 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/HandWeapons
Example: (from vietnamObjects/HandWeapons/NVAShovel/Objects.con)
ObjectTemplate.Create HandFireArms NVAShovel
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.NetworkableInfo HandFireArmsInfo
ObjectTemplate.ProjectileTemplate O_Ditch
ObjectTemplate.ProjectilePosition 0/-0.8/0.3
ObjectTemplate.StartingMag 0
ObjectTemplate.NumOfMag 1
ObjectTemplate.MagSize 1
ObjectTemplate.MagType 3
ObjectTemplate.Reloadtime 1
ObjectTemplate.RoundOfFire 1
ObjectTemplate.FireOnce 1
ObjectTemplate.FireDelay 3.5
rem objectTemplate.aiTemplate NVAShovelAI
ObjectTemplate.ZoomFov 0.7
ObjectTemplate.AltFireOnce 1
ObjectTemplate.SoldierZoomFov 0.5
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.SoldierZoomPosition -0.01/-0.01/0.1
ObjectTemplate.SoldierCameraPosition 0.05/-0.05/0.1
ObjectTemplate.AddRootSpeed 0
ObjectTemplate.AmmoType 2
ObjectTemplate.AutoReload 1
ObjectTemplate.CantSelectWhenNoAmmo 1
ObjectTemplate.ChangeWeaponWhenNoAmmo 1
ObjectTemplate.CreateProjectilesOnDemand 1
ObjectTemplate.FireInCameraDof 1
rem ObjectTemplate.minDamage 0.5
rem ObjectTemplate.distToStartLoseDamage 20
rem ObjectTemplate.distToMinDamage 40
rem ObjectTemplate.autoReload 1
ObjectTemplate.GUIIndex 16
ObjectTemplate.SetHudAmmoType ATAmmoBar
ObjectTemplate.AmmoBar "Menu/hud/guage03empty.tga"
ObjectTemplate.AmmoBarFill "Menu/hud/guage03full.tga"
ObjectTemplate.AmmoBarSize 64
ObjectTemplate.AmmoBarPosX 0
ObjectTemplate.AmmoBarPosY -14
ObjectTemplate.AmmoBarTextPosX -12
ObjectTemplate.AmmoBarTextPosY -20
ObjectTemplate.CrossHairType CHTCrossHair
Rem *** Deviation Begin *****
ObjectTemplate.Velocity 0
Rem *** Deviation End *****
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.LoadSoundScript Sounds/NVAShovelPack.ssc
ObjectTemplate.CreateSkeleton animations/NVAShovel.ske
ObjectTemplate.UseSkeletonPartAsMain BaseDummy
ObjectTemplate.AddTemplate NVAShovelLod
ObjectTemplate.AddTemplate e_MuzzGun
rem ObjectTemplate.inputId -1
rem ObjectTemplate.startOnEffects 0
ObjectTemplate.SetPosition 0/0.001/0.14
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate e_Shell9mm
rem ObjectTemplate.inputId -1
rem ObjectTemplate.startOnEffects 0
ObjectTemplate.SetPosition 0/0.01/0.29
ObjectTemplate.SetRotation 0/0/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.