Jump to content

IsSonic

From ModEnc²
Revision as of 09:05, 7 May 2006 by en>DCoder (Rewrite)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsSonic
File(s): Rules(md).ini
Values: boolean
Special Values: None
Default: no
Applicable to: Weapons


If set, the game will draw a colored wave along the projectile path (It is used for the Disruptor in TS and the Dolphin in RA2). In TS, the wave is continuous, in RA2, it is not. In YR, IsMagBeam=yes provides a similar effect, but it is drawn in the reverse direction (from the target towards the firing unit) when attacking VehicleTypes.

Note: if the projectile is invisible, then the warhead will detonate when the wave hits the target. If it is visible, this wave will be only a graphic effect, and the warhead will detonate when the visible projectile hits. However, AI units will "sense" the wave and try to scatter before the projectile hits.