AddDevFire Property

Usage:
   ObjectTemplate.AddDevFire number

Argument values:

argument 1:    range is 0 to 0.08; most commonly 0

Description: OBSOLETE! While present in a number of .con files, this property does nothing.

Used in object types (and how often in each type): FireArms (4%), HandFireArms (2%)

Used in a total of 8 .con files: Objects.con, Weapons.con

Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/HandWeapons

Example: (from objects/HandWeapons/Panzershreck/Objects.con)
   ObjectTemplate.Create HandFireArms Panzershreck
   ObjectTemplate.ItemIndex 3
   ObjectTemplate.NetworkableInfo HandFireArmsInfo
   ObjectTemplate.ProjectileTemplate BazookaProjectile
   ObjectTemplate.ProjectilePosition 0/0/0
   ObjectTemplate.ForceOnExplosion 2
   ObjectTemplate.MagSize 1
   ObjectTemplate.NumOfMag 6
   ObjectTemplate.MagType 0
   ObjectTemplate.AutoReload 1
   ObjectTemplate.Reloadtime 5.6
   ObjectTemplate.RoundOfFire 1
   ObjectTemplate.FireOnce 1
   ObjectTemplate.AiTemplate PanzerschrekRPG
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.ZoomFov 0.5
   ObjectTemplate.AltFireOnce 1
   ObjectTemplate.SoldierZoomFov 0.6
   ObjectTemplate.SoldierZoomPosition -0.05/-0.02/0
   ObjectTemplate.AmmoType 3
   ObjectTemplate.LoadSoundScript Sounds/panzershrek.ssc
   ObjectTemplate.GUIIndex 5
   ObjectTemplate.SetHudAmmoType ATIcon
   ObjectTemplate.SetAmmoIcon "Ammo/Icon_bazooka_64x32.tga"
   ObjectTemplate.SetCrossHairType CHTIcon
   ObjectTemplate.SetHasMag 1
   Rem *** Deviation Begin *****
   ObjectTemplate.Velocity 50
   ObjectTemplate.MinDeviation 0
   ObjectTemplate.MaxDeviation 0.5
   ObjectTemplate.MinDevStanding 0.2
   ObjectTemplate.MinDevCrouching 0.1
   ObjectTemplate.MinDevLying 0.05
   ObjectTemplate.SubDevStanding 0.03
   ObjectTemplate.SubDevCrouching 0.05
   ObjectTemplate.SubDevLying 0.025
   ObjectTemplate.AddDevWalk 0.01
   ObjectTemplate.AddDevRun 0.02
   ObjectTemplate.AddDevJump 0.05
   ObjectTemplate.AddDevYaw 0.02
   ObjectTemplate.AddDevPitch 0.02
   ObjectTemplate.AddDevStrafe 0.01
   ObjectTemplate.AddDevFire 0.08
   ObjectTemplate.SubDev 0.01
   Rem *** Deviation End *****
   ObjectTemplate.CreateSkeleton animations/Panzershreck.ske
   ObjectTemplate.UseSkeletonPartAsMain Panzershreck
   ObjectTemplate.AddTemplate PanzershreckLod
   ObjectTemplate.AddTemplate e_rocketFumeBack
   ObjectTemplate.SetInputId -1
   ObjectTemplate.Startoneffects 0
   ObjectTemplate.SetPosition 0/0/0
   ObjectTemplate.SetRotation 0/0/0
   ObjectTemplate.FireInCameraDof 1


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.