Usage:
ObjectTemplate.ProjectileTemplate
name
Argument values:
argument 1: |
AA_Allies_Projectile, AA_POW_Projectile, AK47Projectile, AT25Projectile, AVMineProjectile, AW52RocketProjectile, Aichival-TProjectile, AichivalProjectile, AircraftTorpedo, Ak47Projectile, B17_GunB_Projectile, ...
|
Description: Specifies what Projectile
object is attached to this HandFireArms
or FireArms object. In other words,
this property defines what bullet is shot from a gun, etc.
Related properties: ProjectilePosition,
MagSize, NumOfMag,
MagType, Reloadtime,
RoundOfFire, FireOnce
Used in object types (and how often in each type): FireArms (96%), HandFireArms (88%)
Used in a total of 174 .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/M11-39/Weapons.con)
rem *** M11-39Cannon ***
ObjectTemplate.Create FireArms M11-39Cannon
ObjectTemplate.SetNetworkableInfo TankFireArmInfo
ObjectTemplate.LoadSoundScript Sounds/M11-39Cannon.ssc
ObjectTemplate.Geometry m1139_cannon_d_m1
ObjectTemplate.AiTemplate M11-39MainGun
rem -------------------------------------
ObjectTemplate.AddTemplate e_MuzzPanz
ObjectTemplate.SetPosition 0/0/1
ObjectTemplate.SetRotation -179.999/0/0
rem -------------------------------------
ObjectTemplate.ProjectileTemplate M11-39Projectile
ObjectTemplate.ProjectilePosition 0/0/0
rem ObjectTemplate.projectilePosition 0/0/1
ObjectTemplate.MagSize 30
ObjectTemplate.NumOfMag 1
ObjectTemplate.Velocity 100
ObjectTemplate.AutoReload 1
ObjectTemplate.Reloadtime 0.25
ObjectTemplate.RoundOfFire 0.25
ObjectTemplate.FireingForce 90
ObjectTemplate.RecoilSpeed 10
ObjectTemplate.RecoilSize 14
Go to the ObjectTemplate properties
list page, ObjectTemplate page,
All Properties list,
or Main scripting page.