Usage:
ObjectTemplate.SpreadAngle
number
Argument values:
argument 1: | 12.0 |
Description: This property is used exclusively in Battlefield Vietnam.
Used in object types (always present 100% of the time): ClusterProjectile
Used in one .con file: vietnamObjects/Vehicles/Air/F4Phantom/Weapons.con
Example: (from vietnamObjects/Vehicles/Air/F4Phantom/Weapons.con)
rem ********************* NAPALM ****************************
ObjectTemplate.Create ClusterProjectile Napalm
ObjectTemplate.LoadSoundScript Sounds\bazookaprojectile.ssc
ObjectTemplate.NetworkableInfo ProjectileInfo
ObjectTemplate.Geometry O_napalmbomb_m1
rem projectile_m1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.Haspointphysics 0
ObjectTemplate.HasCollisionEffect 0
ObjectTemplate.InvisibleAtEndEffect 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 9999
ObjectTemplate.Maxhitpoints 9999
ObjectTemplate.ExplosionDamage 0
rem *** MattiasH doesn't permit random time on projectiles. ask him about this.
ObjectTemplate.TimeToLive CRD_NONE/5/0/0
ObjectTemplate.UseMMOnEndEffect 0
ObjectTemplate.HasOnTimeEffect 1
ObjectTemplate.DieAfterColl 0
ObjectTemplate.DegenerationFactor 1.0
ObjectTemplate.DamageType 1
ObjectTemplate.Mass 1500
rem ObjectTemplate.drag 0.6
ObjectTemplate.Drag 4.6
ObjectTemplate.GravityModifier 1.5
rem ObjectTemplate.material 70
rem ObjectTemplate.material2 205
rem *** damage material is 488 HARDCODED ****
ObjectTemplate.ForceOnExplosion 0
ObjectTemplate.AddScaleEffectTemplate e_Napalm1
rem ** This is for Dave mainly
ObjectTemplate.FirstCollisionEffect e_First
ObjectTemplate.SpawnDistance 20f
rem ObjectTemplate.XZAccelerationFactor 70.0
ObjectTemplate.XZAccelerationFactor 10.0
ObjectTemplate.AddToColMatList 88
ObjectTemplate.NoFFSound 1
ObjectTemplate.IsCluster 1
ObjectTemplate.IsCE 0
rem ObjectTemplate.ClusterChildNum CRD_NONE/2/3/0
ObjectTemplate.ClusterRecDepth CRD_NONE/3/3/0
rem ***** SPREAD ANGLE should be between 0-90
ObjectTemplate.SpreadAngle 12.0
ObjectTemplate.CEBufferSize 9
ObjectTemplate.CEeffectRadius 5
rem ObjectTemplate.CEeffectRadius 12.0
ObjectTemplate.Radius 0
ObjectTemplate.CEframedamage 10.0
ObjectTemplate.EffectDissipationTime 6.0
ObjectTemplate.EffectSeperation 0.8
ObjectTemplate.HardColDotLimit -0.6
ObjectTemplate.HardColSpeedMinMagnitude 15.0
ObjectTemplate.TimeToSpawn 0.5
ObjectTemplate.MaxClusterNum 13
ObjectTemplate.Speedmodifier 0.5
ObjectTemplate.MaxTimeToEffect 3
ObjectTemplate.DistanceLimit 80.0
rem ** children creation y offset
ObjectTemplate.YOffset CRD_UNIFORM/3/5/0
ObjectTemplate.ZOffset CRD_UNIFORM/1/3/0
ObjectTemplate.StickModifier 20.0f
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.