ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
IsLaser: Difference between revisions
Jump to navigation
Jump to search
Rewrite |
mNo edit summary |
||
(6 intermediate revisions by 4 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}} | ||
| | |ts=yes | ||
|fs=yes | |||
|ets=yes | |||
|ra2=yes | |||
|yr=yes | |||
|rp=yes | |||
}} | }} | ||
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> | |||
*If [[BuildingTypes]] uses a weapon with the tag <b>IsLaser=yes</b>+{{f|IsHouseColor|yes|link}} Other weapons tagged <b>IsLaser=yes</b> Those weapons will always read the laser color from the color of weapon 1.<br> | |||
*Because my testing found that if [[BuildingTypes]] has more than 1 weapon, [[Secondary]], [[EliteSecondary]], {{f|Weapon|x|link}}(that is not {{f|Weapon|1|link}})<br>if those weapons use the tag <b>IsLaser=yes</b> Those weapons will read the information of other tags related to the tag. <b>IsLaser=yes</b> from [[Primary]],[[EliteSecondary]],{{f|Weapon|1|link}} always<br> | |||
*Sometimes the laser beam has a special transparency When attacking through any area.<br> | |||
[[File:IsLaser transparent.png]]<br> |
Latest revision as of 12:18, 19 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.
- If BuildingTypes uses a weapon with the tag IsLaser=yes+IsHouseColor=yes Other weapons tagged IsLaser=yes Those weapons will always read the laser color from the color of weapon 1.
- Because my testing found that if BuildingTypes has more than 1 weapon, Secondary, EliteSecondary, Weapon=x(that is not Weapon=1)
if those weapons use the tag IsLaser=yes Those weapons will read the information of other tags related to the tag. IsLaser=yes from Primary,EliteSecondary,Weapon=1 always - Sometimes the laser beam has a special transparency When attacking through any area.