Weapons.con

This type of file defines the weapon which the player enters and interacts with, e.g., guns on tanks, emplaced flak, etc. For hand weapons, the data normally in the Weapons.con file is instead included in the Objects.con file.

Every Firearm you create in Weapons.con needs its own section in the file Ai/weapons.con. There are 159 files named Weapons.con.

Classes used in this type of file: ObjectTemplate, WeaponTemplate

Types used in these files (by class):

ObjectTemplate
   AnimatedBundle    an object defining an animation, such as a waving flag.
   ClusterProjectile    for defining cluster projectiles, e.g. napalm.
   Engine    defines an engine for a vehicle.
   FireArms    for defining weapons for vehicles or stationary objects.
   FloatingBundle    for making objects float or fly.
   Projectile    for defining something that causes damage, such as a bullet or shell.
   SupplyDepot    defines supply and repair points.
   Wing    defines the object that creates lift for a vehicle.
   simpleobject    for defining simple objects with one part and no children, such as vegetation.

Properties used in these files:
ObjectTemplate
   ObjectTemplate.AddAmmoType
   ObjectTemplate.AddDevFire
   ObjectTemplate.AddFireArmsPosition
   ObjectTemplate.AddScaleEffectTemplate
   ObjectTemplate.AddSkeletonIK
   ObjectTemplate.AddTemplate
   ObjectTemplate.AddToColMatList
   ObjectTemplate.AiTemplate
   ObjectTemplate.AltFireOnce
   ObjectTemplate.AmmoIcon
   ObjectTemplate.AmmoType
   ObjectTemplate.AsynchronyFire
   ObjectTemplate.AutoReload
   ObjectTemplate.CEBufferSize
   ObjectTemplate.CEeffectRadius
   ObjectTemplate.CEframedamage
   ObjectTemplate.ClusterRecDepth
   ObjectTemplate.CoolDownPerSec
   ObjectTemplate.Create
   ObjectTemplate.CreateNotInGrid
   ObjectTemplate.CrossHairType
   ObjectTemplate.DamageType
   ObjectTemplate.DegenerationFactor
   ObjectTemplate.DelayToUse
   ObjectTemplate.DestroyVehicleWhenNoAmmo
   ObjectTemplate.DetonateOnWaterCollision
   ObjectTemplate.DieAfterColl
   ObjectTemplate.DisableWhenFired
   ObjectTemplate.DistanceLimit
   ObjectTemplate.DistToMinDamage
   ObjectTemplate.DistToStartLoseDamage
   ObjectTemplate.Drag
   ObjectTemplate.EffectDissipationTime
   ObjectTemplate.EffectSeperation
   ObjectTemplate.EndEffectTemplate
   ObjectTemplate.ExplodeNearEnemyDistance
   ObjectTemplate.ExplosionDamage
   ObjectTemplate.ExplosionForceMod
   ObjectTemplate.ExplosionRadius
   ObjectTemplate.FireInCameraDof
   ObjectTemplate.FireingForce
   ObjectTemplate.FireOnce
   ObjectTemplate.FirstCollisionEffect
   ObjectTemplate.ForceOnExplosion
   ObjectTemplate.Geometry
   ObjectTemplate.GravityModifier
   ObjectTemplate.GUIIndex
   ObjectTemplate.HardColDotLimit
   ObjectTemplate.HardColSpeedMinMagnitude
   ObjectTemplate.HasArmor
   ObjectTemplate.HasCollisionEffect
   ObjectTemplate.HasCollisionPhysics
   ObjectTemplate.HasDynamicShadow
   ObjectTemplate.HasMag
   ObjectTemplate.HasMobilePhysics
   ObjectTemplate.HasOnTimeEffect
   ObjectTemplate.Haspointphysics
   ObjectTemplate.HasResponsePhysics
   ObjectTemplate.HasStartEffect
   ObjectTemplate.HeatAddWhenFire
   ObjectTemplate.HeatMaxTurnForce
   ObjectTemplate.Hitpoints
   ObjectTemplate.HudAmmoType
   ObjectTemplate.InputFire
   ObjectTemplate.Invisible
   ObjectTemplate.InvisibleAtEndEffect
   ObjectTemplate.IsCE
   ObjectTemplate.IsCluster
   ObjectTemplate.IsHeatSeeking
   ObjectTemplate.LoadSoundScript
   ObjectTemplate.MagSize
   ObjectTemplate.MagType
   ObjectTemplate.Mass
   ObjectTemplate.Material
   ObjectTemplate.Material2
   ObjectTemplate.MaxClusterNum
   ObjectTemplate.Maxhitpoints
   ObjectTemplate.MaxTimeToEffect
   ObjectTemplate.MinDamage
   ObjectTemplate.NetworkableInfo
   ObjectTemplate.NoFFSound
   ObjectTemplate.NumOfMag
   ObjectTemplate.Position
   ObjectTemplate.ProjectilePosition
   ObjectTemplate.ProjectileTemplate
   ObjectTemplate.ProximityFusePrimer
   ObjectTemplate.Radius
   ObjectTemplate.RecoilSize
   ObjectTemplate.RecoilSpeed
   ObjectTemplate.Reloadtime
   ObjectTemplate.Rotation
   ObjectTemplate.RoundOfFire
   ObjectTemplate.SaveInSeparateFile
   ObjectTemplate.SetAcceleration
   ObjectTemplate.SetAsynchronyFire
   ObjectTemplate.SetAutomaticReset
   ObjectTemplate.SetContinousRotationSpeed
   ObjectTemplate.SetDifferential
   ObjectTemplate.SetDragModifier
   ObjectTemplate.SetEngineType
   ObjectTemplate.SetFireCameraShakeAnimationState
   ObjectTemplate.SetFireDev
   ObjectTemplate.SetFloatMaxLift
   ObjectTemplate.SetFloatMinLift
   ObjectTemplate.SetHasCollisionPhysics
   ObjectTemplate.SetHasMag
   ObjectTemplate.SetHasMobilePhysics
   ObjectTemplate.SetHasPointPhysics
   ObjectTemplate.SetHasResponsePhysics
   ObjectTemplate.SetHealth
   ObjectTemplate.SetHullHeight
   ObjectTemplate.SetInputFire
   ObjectTemplate.SetInputToPitch
   ObjectTemplate.SetInputToRoll
   ObjectTemplate.SetMaxRotation
   ObjectTemplate.SetMaxSpeed
   ObjectTemplate.SetMinDev
   ObjectTemplate.SetMinRotation
   ObjectTemplate.SetNetworkableInfo
   ObjectTemplate.SetNoPropellerEffectAtSpeed
   ObjectTemplate.SetPivotPosition
   ObjectTemplate.SetPosition
   ObjectTemplate.SetRotation
   ObjectTemplate.SetSinkingSpeedMod
   ObjectTemplate.SetTorque
   ObjectTemplate.SetTracerTemplate
   ObjectTemplate.SetVisibleDummyProjectileTemplate
   ObjectTemplate.SetWingLift
   ObjectTemplate.SpawnDistance
   ObjectTemplate.Speedmodifier
   ObjectTemplate.SpreadAngle
   ObjectTemplate.StartEffectTemplate
   ObjectTemplate.Startoneffects
   ObjectTemplate.StickModifier
   ObjectTemplate.StopAtEndEffect
   ObjectTemplate.Team
   ObjectTemplate.TimeDelayOnOverHeat
   ObjectTemplate.TimeOnEndEffect
   ObjectTemplate.TimeToLive
   ObjectTemplate.TimeToSpawn
   ObjectTemplate.UseMMOnEndEffect
   ObjectTemplate.Velocity
   ObjectTemplate.VisibleBarrelTemplate
   ObjectTemplate.VisibleDummyProjectileTemplate
   ObjectTemplate.WorkOnSoldiers
   ObjectTemplate.WorkOnVehicles
   ObjectTemplate.XZAccelerationFactor
   ObjectTemplate.YModOnExplosion
   ObjectTemplate.YOffset
   ObjectTemplate.ZOffset

WeaponTemplate
   WeaponTemplate.Burst
   WeaponTemplate.Create
   WeaponTemplate.Deviation
   WeaponTemplate.ExitVelocity
   WeaponTemplate.Healing
   WeaponTemplate.Indirect
   WeaponTemplate.IsThrown
   WeaponTemplate.MaxRange
   WeaponTemplate.MinRange
   WeaponTemplate.Precision
   WeaponTemplate.SetSoundSphereRadius
   WeaponTemplate.SetStrength
   WeaponTemplate.UseAimerOnly
   WeaponTemplate.WeaponActivate
   WeaponTemplate.WeaponFire


Go to the All Properties list, All Types list, CON file list, Class list, or the Main scripting page.