Usage:
ObjectTemplate.Altweapon
name
Argument values:
argument 1: | C4Detonator; most commonly C4Detonator |
Description: This property is used exclusively in Battlefield Vietnam.
Used in object types (and how often in each type): HandFireArms (2%)
Used in a total of 2 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/HandWeapons
Example: (from vietnamObjects/HandWeapons/Claymore/Objects.con)
ObjectTemplate.Create HandFireArms Claymore
ObjectTemplate.NetworkableInfo HandFireArmsInfo
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.ProjectileTemplate ClaymoreProjectile
ObjectTemplate.ProjectilePosition 0/-1/0
ObjectTemplate.MagSize 5
ObjectTemplate.NumOfMag 1
ObjectTemplate.MagType 0
ObjectTemplate.Reloadtime 2
ObjectTemplate.RoundOfFire 1
ObjectTemplate.FireOnce 1
ObjectTemplate.AltFireOnce 1
ObjectTemplate.AutoReload 0
ObjectTemplate.Altweapon C4Detonator
ObjectTemplate.GUIIndex 13
ObjectTemplate.SetHudAmmoType ATIconAndStrengthBar
ObjectTemplate.AmmoIcon "Ammo/Icon_grenadeallies.tga"
ObjectTemplate.CrossHairType CHTIcon
ObjectTemplate.HasMag 0
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 10000
ObjectTemplate.Maxhitpoints 10000
ObjectTemplate.AmmoType 2
rem ObjectTemplate.fireDelay 0.6
rem ObjectTemplate.hideDuringFireTime 0.06
ObjectTemplate.RotationalSpeed 0/0/0
ObjectTemplate.Velocity 1
ObjectTemplate.FireInCameraDof 1
rem ObjectTemplate.hideDuringFireTime .6
ObjectTemplate.FireDelay 1.5
ObjectTemplate.SoldierCameraPosition 0/0.05/-0.1
ObjectTemplate.CantSelectWhenNoAmmo 1
ObjectTemplate.ChangeWeaponWhenNoAmmo 1
ObjectTemplate.VelocityDependentOnHeat 1
ObjectTemplate.HeatAddWhenFire 0.03
rem ObjectTemplate.coolDownPerSec 0.05
ObjectTemplate.ChangeWeaponWhenNoAmmo 1
ObjectTemplate.CreateSkeleton animations/Claymore.ske
ObjectTemplate.UseSkeletonPartAsMain Claymore
ObjectTemplate.AddTemplate ClaymoreLod
ObjectTemplate.LoadSoundScript Sounds/Claymore.ssc
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.