ObjectTemplate.DamageType

From Pilot_51's Wiki
Jump to: navigation, search

MDT description

The property DamageType in the weapon's Weapons.con file specifies the type of explosion. For explosive packs (and almost every other explosive) this entry is:

 ObjectTemplate.damageType 1

which means that the object explodes on impact. Landmines and flak guns are the only weapons with a DamageType of 4, which was introduced with the v1.4 patch. This setting is used to allow the projectile to explode when it is near another object. The property ExplodeNearEnemyDistance sets this explosion distance.

See the Damage Tutorial for more information.

Source and more details

Additional Description