YModOnExplosion Property

Usage:
   ObjectTemplate.YModOnExplosion number

Argument values:

argument 1:    2.0

Description: When an explosion effect takes place due to a bomb, the effect of this property is to blow the objects upwards more, i.e., their paths are scaled vertically. This is used for the three types of plane bombs.

Used in object types (and how often in each type): Projectile (3%)

Used in a total of 3 .con files: Weapons.con

Parent directory of these .con files: objects/Vehicles

Example: (from objects/Vehicles/Common/Weapons.con)
   rem -------------------------------------------------
   ObjectTemplate.Create Projectile FighterBomb
   ObjectTemplate.CreateNotInGrid 1
   ObjectTemplate.LoadSoundScript ../air/common/Sounds/Bomb.ssc
   ObjectTemplate.Geometry Big_Bomb_M1
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.TimeToLive CRD_NONE/20/0/0
   ObjectTemplate.DamageType 1
   ObjectTemplate.Material 242
   ObjectTemplate.Material2 202
   ObjectTemplate.Radius 20
   ObjectTemplate.StopAtEndEffect 1
   ObjectTemplate.DieAfterColl 0
   ObjectTemplate.HasCollisionEffect 1
   ObjectTemplate.Mass 250
   ObjectTemplate.Drag 0.08
   ObjectTemplate.SetHasPointPhysics 0
   ObjectTemplate.YModOnExplosion 2.0
   rem -------------------------------------------------
   ObjectTemplate.AddTemplate Bomb_wing
   ObjectTemplate.SetPosition 0/0/-0.5
   ObjectTemplate.AddTemplate Bomb_wing
   ObjectTemplate.SetPosition 0/0/-0.5
   ObjectTemplate.SetRotation 0/0/-90


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.