Usage:
ObjectTemplate.RoundOfFire
number
Argument values:
argument 1: | range is 0.1 to 100000; most commonly 1 |
Description: How many rounds per second a weapon fires.
Related properties: MagSize, NumOfMag, ProjectilePosition
Used in object types (and how often in each type): FireArms (97%), HandFireArms (99%)
Used in a total of 190 .con files: Objects.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/HandWeapons, Bf1942/Levels
Example: (from objects/Vehicles/Land/Sherman/Weapons.con)
rem *** ShermanGunBarrel ***
ObjectTemplate.Create FireArms ShermanGunBarrel
ObjectTemplate.SetNetworkableInfo TankFireArmInfo
ObjectTemplate.LoadSoundScript Sounds/ShermanCannon.ssc
ObjectTemplate.Geometry Sherman_Canon1_M1
ObjectTemplate.AiTemplate ShermanMainGun
rem -------------------------------------
ObjectTemplate.AddTemplate e_MuzzPanz
ObjectTemplate.SetPosition 0/0/0.5
ObjectTemplate.SetRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.ProjectileTemplate ShermanProjectile
rem ObjectTemplate.projectilePosition 0/0/1
ObjectTemplate.ProjectilePosition 0/0/0
ObjectTemplate.MagSize 30
ObjectTemplate.NumOfMag 1
ObjectTemplate.Velocity 100
ObjectTemplate.AutoReload 1
ObjectTemplate.Reloadtime 0.35
ObjectTemplate.RoundOfFire 0.35
ObjectTemplate.FireingForce 110
ObjectTemplate.RecoilSpeed 10
ObjectTemplate.RecoilSize 3
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.