Usage:
ObjectTemplate.AltWeaponindex
number
Argument values:
argument 1: | range is 4 to 11 |
Description: This property is used exclusively in Battlefield Vietnam.
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: vietnamObjects/HandWeapons
Example: (from vietnamObjects/HandWeapons/ExpPack/Objects.con)
ObjectTemplate.Create HandFireArms ExpPack
ObjectTemplate.NetworkableInfo HandFireArmsInfo
ObjectTemplate.ProjectileTemplate ExpPackProjectile
ObjectTemplate.ProjectilePosition 0/0/0
rem ObjectTemplate.projectileVisible 0
ObjectTemplate.MagSize 4
ObjectTemplate.NumOfMag 1
ObjectTemplate.MagType 0
ObjectTemplate.Reloadtime 1
ObjectTemplate.RoundOfFire 1
ObjectTemplate.FireOnce 1
ObjectTemplate.AltFireOnce 1
ObjectTemplate.AutoReload 0
ObjectTemplate.AltWeaponindex 11
ObjectTemplate.GUIIndex 14
ObjectTemplate.SetHudAmmoType ATIcon
ObjectTemplate.AmmoIcon "Ammo/Icon_demokitt.tga"
ObjectTemplate.CrossHairType CHTIcon
ObjectTemplate.HasMag 0
ObjectTemplate.Velocity 8
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.HideDuringFireTime 0.2
ObjectTemplate.FireDelay 0.4
ObjectTemplate.SoldierCameraPosition 0.02/-0.03/0.25
ObjectTemplate.CantSelectWhenNoAmmo 1
ObjectTemplate.ChangeWeaponWhenNoAmmo 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 10000
ObjectTemplate.Maxhitpoints 10000
ObjectTemplate.AmmoType 2
ObjectTemplate.LoadSoundScript Sounds/ExpPack.ssc
ObjectTemplate.CreateSkeleton animations/NVAExpPack.ske
ObjectTemplate.UseSkeletonPartAsMain mag
ObjectTemplate.AddTemplate ExpPackLod
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.