ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "IsLaser"
From ModEnc
Nighthawk200 (talk | contribs) m (Template updated) |
m |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values=boolean | |values=boolean | ||
− | |||
|default=no | |default=no | ||
|types={{Categ|Weapon|Weapons}} | |types={{Categ|Weapon|Weapons}} | ||
Line 15: | Line 14: | ||
If set, the game will draw a laser along the projectile path. The laser's lifetime is defined by <tt>[[LaserDuration]]</tt>, and its colors are defined by <tt>[[LaserInnerColor]]</tt>, <tt>[[LaserOuterColor]]</tt>, <tt>[[LaserOuterSpread]]</tt> and <tt>[[IsHouseColor]]</tt>. | If set, the game will draw a laser along the projectile path. The laser's lifetime is defined by <tt>[[LaserDuration]]</tt>, and its colors are defined by <tt>[[LaserInnerColor]]</tt>, <tt>[[LaserOuterColor]]</tt>, <tt>[[LaserOuterSpread]]</tt> and <tt>[[IsHouseColor]]</tt>. | ||
+ | |||
+ | {{bugs}} | ||
+ | This flag is only correctly read from the object's {{f|Primary|link}} weapon; If the object's {{f|Secondary|link}} weapon has {{f|IsLaser|yes}} but the {{f|Primary}} does not, then no laser is drawn for the {{f|Secondary}}.<br> | ||
+ | |||
+ | Sometimes the laser beam has a special transparency When attacking through any area.<br> | ||
+ | [[File:IsLaser transparent.png]]<br> |
Latest revision as of 16:17, 3 September 2024
Flag: | IsLaser |
File(s): | Rules(md).ini |
Values: | boolean |
Default: | no |
Applicable to: | Weapons |
If set, the game will draw a laser along the projectile path. The laser's lifetime is defined by LaserDuration, and its colors are defined by LaserInnerColor, LaserOuterColor, LaserOuterSpread and IsHouseColor.
Bugs/Side-Effects/Unexpected Limitations
This flag is only correctly read from the object's Primary weapon; If the object's Secondary weapon has IsLaser=yes but the Primary does not, then no laser is drawn for the Secondary.
Sometimes the laser beam has a special transparency When attacking through any area.