Usage:
ObjectTemplate.InputFire
name
Argument values:
argument 1: | c_PIAltFire, c_PIFire; most commonly c_PIAltFire |
Description: This property is used exclusively in Battlefield Vietnam. Equivalent to SetInputFire.
Used in object types (and how often in each type): FireArms (10%), HandFireArms (2%)
Used in a total of 13 .con files: Objects.con, Weapons.con
Parent directories of these .con files: vietnamObjects/Vehicles, vietnamObjects/Stationary_Weapons, vietnamObjects/HandWeapons
Example: (from vietnamObjects/Vehicles/Air/UH1Assault/Weapons.con)
rem *** UH1_AutoCannon ***
ObjectTemplate.Create FireArms UH1_AutoCannon
ObjectTemplate.NetworkableInfo UH1AssaultFireArmInfo
ObjectTemplate.LoadSoundScript Sounds/UH1fire.ssc
ObjectTemplate.AiTemplate UH1_AutoCannon
rem -------------------------------------
ObjectTemplate.AddTemplate e_MuzzHueyGun
ObjectTemplate.SetPosition 0/0/0
ObjectTemplate.AddTemplate e_shellhuey
ObjectTemplate.SetPosition 0/0/0
rem -------------------------------------
ObjectTemplate.ProjectileTemplate UH1_GunProjectile
ObjectTemplate.SetTracerTemplate Tracer_Projectile CRD_NONE/3/0/0
ObjectTemplate.MagSize 400
ObjectTemplate.NumOfMag 1
ObjectTemplate.Velocity 400
ObjectTemplate.RoundOfFire 15
ObjectTemplate.AmmoType 10
Rem *** Deviation End *****
rem ObjectTemplate.fireInCameraDof 1
ObjectTemplate.HeatAddWhenFire 0.02
ObjectTemplate.CoolDownPerSec 0.3
ObjectTemplate.TimeDelayOnOverHeat 2
ObjectTemplate.InputFire c_PIAltFire
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.