Weapon
- For the object class, see Weapons
- For the enumerated Rules(md).ini flag, see WeaponX
As a Flag
| Flag: | Weapon |
| File(s): | art(md).ini |
| Values: | Strings: Normal text. (Limited to: Weapons) |
| Extension Version: | 2.0+. |
| Applicable to: | Warheads |
| |
The weapon used to deliver animation damage. If set, creates a projectile and detonates it immediately. The damage delivered is defined by the animation, not the weapon.
Notes
The weapon has to be known to the game already, otherwise it cannot be parsed correctly. It is recommended to add it to the [WeaponTypes] list.
Currently, the created projectile is neither owned by the player who created the animation nor the owner of the unit or structure the animation is attached to. While damage delivered using Warhead at least knows about the player who created the animation for scoring purposes, weapon damage does not pass on this information.
References
Regarding the use of animations to trigger weapons, Phobos has made many enhancements, including but not limited to those related to invoker, house, and the creation of sub weapons. Refer to Phobos documentation.