From Pilot_51's Wiki
Jump to navigation Jump to search

MDT description

If an object's Objects.con has these properties defined:

 ObjectTemplate.DamageFromWater 1
 ObjectTemplate.HpLostWhileDamageFromWater 10

then it takes the amount of damage per second specified by HpLostWhileDamageFromWater when touching water. For soldiers, the standard definition, in CommonSoldierData.inc, is:

 ObjectTemplate.HpLostWhileDamageFromWater 1
 ObjectTemplate.WaterDamageDelay 90
 ObjectTemplate.DamageFromWater 1

The additional value WaterDamageDelay delays drowning damage for 90 seconds, then damage takes place at a hitpoint per second.

See the Damage Tutorial for more information.

Source and more details

Additional Description