ObjectTemplate.DamageType

From Pilot_51's Wiki
Revision as of 01:29, 20 November 2008 by Pilot 51 (talk | contribs) (New page: == 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: ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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