AutoReload Property

Usage:
   ObjectTemplate.AutoReload boolean

Argument values:

argument 1:    0, 1; most commonly 1

Description: Setting this property to 1 means that when a weapon is out of ammo it will automatically be reloaded (i.e., the player does not have to hit "R" to reload).

Related properties: Reloadtime

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

Used in a total of 111 .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/Wespe/Weapons.con)
   rem *** WespeCannon ***
   ObjectTemplate.Create FireArms WespeCannon
   ObjectTemplate.SetNetworkableInfo TankFireArmInfo
   ObjectTemplate.LoadSoundScript Sounds/wespeCannon.ssc
   ObjectTemplate.Geometry Wespe_Cannon_M1
   ObjectTemplate.AiTemplate WespeMainGun
   rem -------------------------------------
   ObjectTemplate.AddTemplate e_MuzzPriest
   ObjectTemplate.SetPosition 0/0/1.5
   ObjectTemplate.SetRotation -179.999/0/0
   rem -------------------------------------
   ObjectTemplate.ProjectileTemplate WespeProjectile
   ObjectTemplate.ProjectilePosition 0/0/1
   ObjectTemplate.MagSize 30
   ObjectTemplate.NumOfMag 1
   ObjectTemplate.Velocity 100
   ObjectTemplate.AutoReload 1
   ObjectTemplate.Reloadtime 0.2
   ObjectTemplate.RoundOfFire 0.2
   ObjectTemplate.FireingForce 80
   ObjectTemplate.RecoilSpeed 10
   ObjectTemplate.RecoilSize 6


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