GravityModifier Property

Usage:
   ObjectTemplate.GravityModifier CRD

Argument values:

argument 1:    CRD, e.g. 0, 0.0, 0.1, 0.2, 0.5, 1.0, 1.2, 1.5, CRD_NONE/-0.01/0/0, CRD_NONE/-0.05/0/0, CRD_NONE/-0.1/-0.2/0, CRD_NONE/-0.1/0.15/0, CRD_NONE/-0.1/0/0, CRD_NONE/-0.15/0/0, CRD_NONE/-0.2/-0.1/0, CRD_NONE/-0.2/0/0, ...

Description: This property has two flavors, one for Objects.con files, the other for Effects.con. For the Objects.con file, the GravityModifier allows you to set gravity per object. 0 means that gravity does not affect the object.

For Effects.con the argument is a CRD, so the amount of the gravity modifier can be randomized.

Related properties: GravityModifierOverTime

Used in object types (and how often in each type): ClusterProjectile (100%), Particle (96%), Projectile (64%), SpriteParticle (94%)

Used in a total of 469 .con files: Effects.con, Objects.con, Projectile.con, Weapons.con

Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/HandWeapons, objects/Effects, Bf1942/Levels

Example: (from objects/Effects/e_MuzzGun/Effects.con)
   rem *** fx_MuzzGun2 ***
   ObjectTemplate.Create Particle fx_MuzzGun2
   ObjectTemplate.Geometry muzzGun_m1
   ObjectTemplate.TimeToLive CRD_NONE/0.07/0/0
   ObjectTemplate.GravityModifier CRD_NONE/0/0/0


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