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

Difference between revisions of "SubjectToWalls"

From ModEnc
Jump to: navigation, search
m (Bad bad bad logic error)
Line 10: Line 10:
  
 
This flag determines whether this projectile can be stopped by walls in its path. If set, the unit firing it will only fire once it finds a firing location not obstructed by walls.<br />
 
This flag determines whether this projectile can be stopped by walls in its path. If set, the unit firing it will only fire once it finds a firing location not obstructed by walls.<br />
Mind that <tt>[[IsLaser]]=yes</tt> weapons with warhead set to <tt>[[Wall]]=yes</tt> will be able to fire over walls even if this setting says it shouldn't.
+
Mind that weapons with warhead set to <tt>[[Wall]]=yes</tt> will be able to target over walls even if SubjectToWalls says it shouldn't. Weapons with a moving projectile will then hit the wall, however weapons with invisible instant travel projectiles, such as Tesla, Prism and bullet weapons will be able to fire past the wall. Tesla and Prism have a projectile image because of <tt>[[IsElectricBolt]]=yes</tt> and <tt>[[IsLaser]]=yes</tt> graphical effects tags, the projectile itself is still invisible.

Revision as of 23:14, 14 September 2006

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: SubjectToWalls
File(s): rules(md).ini
Values: boolean(yes/no)
Special Values: none
Default: no
Applicable to: Projectiles


This flag determines whether this projectile can be stopped by walls in its path. If set, the unit firing it will only fire once it finds a firing location not obstructed by walls.

Mind that weapons with warhead set to Wall=yes will be able to target over walls even if SubjectToWalls says it shouldn't. Weapons with a moving projectile will then hit the wall, however weapons with invisible instant travel projectiles, such as Tesla, Prism and bullet weapons will be able to fire past the wall. Tesla and Prism have a projectile image because of IsElectricBolt=yes and IsLaser=yes graphical effects tags, the projectile itself is still invisible.