Usage:
ObjectTemplate.ProjectileVisible
boolean
Argument values:
argument 1: | 0; most commonly 0 |
Description: Sets the Projectile to be visible or not before it's fired.
Related properties: ProjectileTemplate
Used in object types (and how often in each type): HandFireArms (4%)
Used in a total of 4 .con files: Objects.con
Parent directory of these .con files: objects/HandWeapons
Example: (from objects/HandWeapons/Landmine/Objects.con)
ObjectTemplate.Create HandFireArms Landmine
ObjectTemplate.NetworkableInfo HandFireArmsInfo
ObjectTemplate.LoadSoundScript Sounds/Landmine.ssc
ObjectTemplate.ItemIndex 5
ObjectTemplate.ProjectileTemplate LandmineProjectile
ObjectTemplate.ProjectilePosition 0/0/0
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.ProjectileVisible 0
ObjectTemplate.MagSize 4
ObjectTemplate.NumOfMag 1
ObjectTemplate.MagType 0
ObjectTemplate.Reloadtime 1
ObjectTemplate.RoundOfFire 1
ObjectTemplate.FireOnce 1
rem ObjectTemplate.altFireOnce 1
ObjectTemplate.AutoReload 0
ObjectTemplate.GUIIndex 10
ObjectTemplate.SetHudAmmoType ATIcon
ObjectTemplate.SetAmmoIcon "Ammo/Icon_landmine_64x32.tga"
ObjectTemplate.SetHasMag 0
ObjectTemplate.SetCrossHairType CHTIcon
ObjectTemplate.Velocity 3
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.HideDuringFireTime 0.2
ObjectTemplate.FireDelay 0.4
ObjectTemplate.SoldierCameraPosition 0/-0.05/0.3
ObjectTemplate.CantSelectWhenNoAmmo 1
ObjectTemplate.ChangeWeaponWhenNoAmmo 1
ObjectTemplate.AmmoType 2
ObjectTemplate.CreateSkeleton animations/Landmine.ske
ObjectTemplate.UseSkeletonPartAsMain base
ObjectTemplate.AddTemplate LandmineLod
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.