ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

AmbientDamage

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: AmbientDamage
File(s): rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 0
Applicable to: Weapons


This flag defines the amount of damage which is inflicted along the trajectory of the weapon. It is not completely ignorant of armor classes and other properties that can change the amount of damage. In other words, it will obey all damage parameters to determine the damage on the target. However, it is not immune to friendly fire and is ignorant of ownership and does not affect the terrain in any way.

Notes

Ambient damage uses the same warhead as the weapon to inflict damage.

Ambient damage can damage objects with Foundation=0x0 or InvisibleInGame=yes.

In Red Alert 2 and Yuri's Revenge

This flag is still parsed but it will only work under certain types of weapon. One type of weapon that can be applied are sonic weapons such as a dolphin's sonic waves; having IsSonic enabled and this with a valid amount on the weapon. Another type that can be applied are railgun weapons; as long as the weapon has a valid railgun particle system attached and this with a valid amount.


With Ares

Ares changes this flag, by allowing all 'waves' to work with this flag, instead of just sonic waves. These waves are defined by the existence of IsSonic=yes, IsMagBeam=yes, Wave.IsLaser=yes, or Wave.IsBigLaser=yes.