Usage:
ObjectTemplate.SetHasResponsePhysics
boolean
Argument values:
argument 1: | 0, 1; most commonly 1 |
Description: Another name for HasResponsePhysics.
Related properties: HasResponsePhysics
Used in object types (and how often in each type): Bundle (8%), PlayerControlObject (2%), Projectile (4%), simpleobject (1%)
Used in a total of 58 .con files: Objects.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/Objectives, objects/MOVE_FILES, objects/HandWeapons, objects/Buildings, Bf1942/Levels
Example: (from objects/Vehicles/Sea/Elco80/Weapons.con)
rem *** FloatingMine ***
ObjectTemplate.Create Projectile FloatingMine
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.NetworkableInfo ProjectileInfo
ObjectTemplate.Geometry FloatingMine_m1
ObjectTemplate.TimeToLive CRD_NONE/40/0/0
ObjectTemplate.EndEffectTemplate e_WaterExplosion
rem -------------------------------------------------
ObjectTemplate.AddTemplate FloatingMine_Floater
ObjectTemplate.SetPosition 0/0.150/-1
ObjectTemplate.AddTemplate FloatingMine_Floater
ObjectTemplate.SetPosition 0/0.150/1
rem -------------------------------------------------
ObjectTemplate.SetHasCollisionPhysics 1
ObjectTemplate.SetHasPointPhysics 0
ObjectTemplate.SetHasMobilePhysics 1
ObjectTemplate.SetHasResponsePhysics 1
ObjectTemplate.GravityModifier 1.0
ObjectTemplate.HasCollisionEffect 1
ObjectTemplate.HasOnTimeEffect 1
ObjectTemplate.InvisibleAtEndEffect 1
ObjectTemplate.DetonateOnWaterCollision 0
ObjectTemplate.StopAtEndEffect 1
ObjectTemplate.DieAfterColl 1
ObjectTemplate.Invisible 0
ObjectTemplate.Material 232
ObjectTemplate.Material2 232
ObjectTemplate.DamageType 1
ObjectTemplate.Radius 15
ObjectTemplate.Drag 50
ObjectTemplate.Mass 10000
ObjectTemplate.ForceOnExplosion 30
ObjectTemplate.ExplodeNearEnemyDistance 3
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.