Usage:
ObjectTemplate.VisibleBarrelTemplate
name
Argument values:
argument 1: | e_MuzzB17, e_MuzzFlakP, e_MuzzHeavy, e_MuzzSG44; most commonly e_MuzzHeavy |
Related properties: AddFireArmsPosition, AiTemplate, AmmoType, LoadSoundScript, MagSize, NumOfMag, ProjectilePosition, ProjectileTemplate, RoundOfFire, SetNetworkableInfo, SetTracerTemplate
Used in object types (and how often in each type): FireArms (13%)
Used in a total of 20 .con files: Weapons.con
Parent directories of these .con files: objects/Vehicles, Bf1942/Levels
Example: (from Bf1942/Levels/Battle_of_Britain/Objects/Ju88A/Weapons.con)
rem *** Ju88A_BellyGun ***
ObjectTemplate.Create FireArms Ju88A_BellyGun
ObjectTemplate.LoadSoundScript Sounds/BellyGunBarrel.ssc
ObjectTemplate.SetNetworkableInfo PlaneFireArmInfo
ObjectTemplate.Geometry Ju88A_BellyGun_M1
ObjectTemplate.AiTemplate B17MachineGun
rem -------------------------------------
ObjectTemplate.VisibleBarrelTemplate e_MuzzB17
rem -------------------------------------
ObjectTemplate.ProjectileTemplate Ju88A_Bullet_Projectile
ObjectTemplate.SetTracerTemplate Tracer_Projectile CRD_NONE/2/0/0
ObjectTemplate.ProjectilePosition 0/0/0
ObjectTemplate.MagSize 600
ObjectTemplate.NumOfMag 1
ObjectTemplate.Velocity 900
ObjectTemplate.RoundOfFire 7
ObjectTemplate.AddFireArmsPosition 0.12/0/0.65 0/0/0
ObjectTemplate.AddFireArmsPosition -0.119/0/0.65 0/0/0
ObjectTemplate.AmmoType 10
ObjectTemplate.SetFireCameraShakeAnimationState FireMachineGunShake
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.