Mass Property

Usage:
   ObjectTemplate.Mass number

Argument values:

argument 1:    range is 2 to 35000000; most commonly 1200

Description: Mass is the weight of the object in kilograms. It will oppose any lift due to gravity.

Related properties: Drag, InertiaModifier

Used in object types (and how often in each type): Bundle (13%), ClusterProjectile (100%), PlayerControlObject (39%), Projectile (12%), simpleobject (1%)

Used in a total of 156 .con files: Commonsoldierdata.inc, Effects.con, Objects.con, Weapons.con

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

Example: (from objects/Vehicles/Land/Ho-Ha/Objects.con)
   rem *** Ho-Ha ***
   ObjectTemplate.Create PlayerControlObject Ho-Ha
   ObjectTemplate.NameTagOffset 0/-0.6/2
   ObjectTemplate.SetNetworkableInfo HoHaInfo
   ObjectTemplate.SaveInSeparateFile 1
   ObjectTemplate.CullRadiusScale 5
   ObjectTemplate.HasMobilePhysics 1
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.ExplosionRadius 8
   ObjectTemplate.ExplosionDamage 5
   ObjectTemplate.ExitTimer 1
   ObjectTemplate.Drag 2
   ObjectTemplate.Mass 15000
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.HasResponsePhysics 1
   ObjectTemplate.HasArmor 1
   ObjectTemplate.SpeedMod 2
   ObjectTemplate.Hitpoints 100
   ObjectTemplate.Maxhitpoints 100
   ObjectTemplate.Material 45
   ObjectTemplate.CriticalDamage 16
   ObjectTemplate.HpLostWhileCriticalDamage 1.5
   ObjectTemplate.ExplosionForceMod 13
   ObjectTemplate.HpLostWhileUpSideDown 10
   ObjectTemplate.HpLostWhileDamageFromWater 10
   ObjectTemplate.AddArmorEffect 60 e_HoHaDamage 0/2/1.9
   ObjectTemplate.AddArmorEffect 16 e_HoHaFire 0.05/0.7/2.5
   ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
   ObjectTemplate.AddArmorEffect 0 e_scrapmetal 0/0/0
   ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
   ObjectTemplate.DamageFromWater 1
   ObjectTemplate.AiTemplate Hanomag
   rem -------------------------------------
   ObjectTemplate.AddTemplate lodHoHa
   rem -------------------------------------
   ObjectTemplate.SetSoldierExitLocation -2.5/0/0 0/0/0
   ObjectTemplate.GUIIndex 59
   ObjectTemplate.SetVehicleIcon "Vehicle/IconHoHa.tga"
   ObjectTemplate.SetVehicleIconPos 90/75
   ObjectTemplate.SetPrimaryAmmoBar ABNone
   ObjectTemplate.SetCrossHairType CHTNone
   ObjectTemplate.SetVehicleCategory VCLand
   ObjectTemplate.SetVehicleType VTApc
   ObjectTemplate.SetToolTipType TTApc
   ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_apc_16x16.tga"
   ObjectTemplate.HasRestrictedExit 1


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