Usage:
ObjectTemplate.HasResponsePhysics
boolean
Argument values:
argument 1: | 0, 1; most commonly 1 |
Description: Set this to true (1) to signal that this mobile object can have its position affected by (i.e., respond to) collision with other objects. The HasCollisionPhysics is usually set in tandem with this property. SetHasResponsePhysics is another name for this property.
Related properties: HasCollisionPhysics, HasMobilePhysics
Used in object types (and how often in each type): Bundle (36%), ClusterProjectile (100%), Emitter (1%), Engine (33%), FireArms (1%), Hook (13%), LandingGear (64%), LodObject (28%), PlayerControlObject (47%), Projectile (64%), RotationalBundle (14%), Spring (100%), simpleobject (4%)
Used in a total of 334 .con files: Commonsoldierdata.inc, Effects.con, Objects.con, Physics.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, objects/Soldiers, objects/Objectives, objects/MOVE_FILES, objects/HandWeapons, objects/Buildings, Bf1942/Levels
Example: (from objects/Vehicles/Air/SBD/Objects.con)
rem *** SBD ***
ObjectTemplate.Create PlayerControlObject SBD
ObjectTemplate.SetNetworkableInfo SBDBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.CullRadiusScale 5
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.Drag 0.08
ObjectTemplate.Mass 3000
ObjectTemplate.InertiaModifier 1.12/1.12/1.12
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.ExplosionRadius 8
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.HasArmor 1
ObjectTemplate.AngleMod 1
ObjectTemplate.SpeedMod 2
ObjectTemplate.Hitpoints 130
ObjectTemplate.Maxhitpoints 130
ObjectTemplate.Material 60
ObjectTemplate.CriticalDamage 20
ObjectTemplate.HpLostWhileCriticalDamage 1.5
ObjectTemplate.ExplosionForceMod 15
ObjectTemplate.HpLostWhileUpSideDown 10
ObjectTemplate.HpLostWhileDamageFromWater 10
ObjectTemplate.AddArmorEffect 65 em_SBD-6Damage 0/0.215/2
ObjectTemplate.AddArmorEffect 65 em_PlaneDamage 0/-0.225/2.71
ObjectTemplate.AddArmorEffect 20 e_SBD-6Fire 0/0.215/2
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/0/0
ObjectTemplate.AddArmorEffect 0 e_scrapmetal_Plane 0/0/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.DamageFromWater 1
ObjectTemplate.AiTemplate SBD
rem -------------------------------------
ObjectTemplate.AddTemplate lodSBD
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -2.8/0/-2.5 0/0/0
ObjectTemplate.GUIIndex 33
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_sbd.tga"
ObjectTemplate.SetVehicleIconPos 65/90
ObjectTemplate.SetNumberOfWeaponIcons 2
ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.SetPrimaryAmmoBar ABAmmoBar
ObjectTemplate.SetSecondaryAmmoIcon "Ammo/Icon_bomb.tga"
ObjectTemplate.SetSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.SetCrossHairType CHTIcon
ObjectTemplate.SetVehicleCategory VCAir
ObjectTemplate.SetVehicleType VTDiveBomber
ObjectTemplate.SetToolTipType TTDiveBomber
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_plane_16x16.tga"
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.