Usage:
ObjectTemplate.HpLostWhileUpSideDown
number
Argument values:
argument 1: | range is 0 to 25; most commonly 10 |
Description: The object takes this much damage per second when it is determined to be upside-down (even the slightest bit pointing down, i.e. rocking back and forth on its side). This effect does not affect planes upside down in flight, but does if they land upside down.
Related properties: AddTemplate, CriticalDamage, ExplosionForceMod, HasArmor, Hitpoints, HpLostWhileCriticalDamage, Material
Used in object types (and how often in each type): Bundle (1%), PlayerControlObject (31%), simpleobject (1%)
Used in a total of 104 .con files: Objects.con
Parent directories of these .con files: objects/Vehicles, objects/MOVE_FILES, Bf1942/Levels
Example: (from objects/Vehicles/Land/Priest/Objects.con)
rem *** Priest ***
ObjectTemplate.Create PlayerControlObject Priest
ObjectTemplate.NameTagOffset 0/-0.5/0
ObjectTemplate.SetNetworkableInfo PriestBodyInfo
ObjectTemplate.SaveInSeparateFile 1
rem ObjectTemplate.geometry Priest_Hull_M1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.CullRadiusScale 5
ObjectTemplate.ExplosionRadius 8
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.ExitTimer 1
ObjectTemplate.Drag 2
ObjectTemplate.Mass 25000
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.HasArmor 1
ObjectTemplate.SpeedMod 2
ObjectTemplate.Hitpoints 50
ObjectTemplate.Maxhitpoints 50
ObjectTemplate.Material 45
ObjectTemplate.CriticalDamage 12
ObjectTemplate.ExplosionForceMod 13
ObjectTemplate.HpLostWhileCriticalDamage 2
ObjectTemplate.HpLostWhileUpSideDown 5
ObjectTemplate.HpLostWhileDamageFromWater 5
ObjectTemplate.AddArmorEffect 30 e_PanzDamage 0/1/-1.4
ObjectTemplate.AddArmorEffect 12 e_PanzFire 0/1/-1.4
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 Priest
rem -------------------------------------
ObjectTemplate.AddTemplate lodPriest
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -2/0.5/0 0/0/0
ObjectTemplate.GUIIndex 73
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_priest.tga"
ObjectTemplate.SetVehicleIconPos 50/97
ObjectTemplate.SetPrimaryAmmoBar ABNone
ObjectTemplate.SetCrossHairType CHTNone
ObjectTemplate.SetVehicleCategory VCLand
ObjectTemplate.SetVehicleType VTArtillery
ObjectTemplate.SetToolTipType TTArtillery
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_tank_16x16.tga"
ObjectTemplate.HasRestrictedExit 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.