Jump to content

SubjectToWalls: Difference between revisions

From ModEnc²
en>DCoder
m Bad bad bad logic error
No edit summary
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 Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.