CollateralDamageCoefficient: Difference between revisions
Appearance
m 3 revisions imported |
Rain-Islet (talk | contribs) m [bot] Batch update {{Bugs}} templates. |
||
| Line 11: | Line 11: | ||
This value is used as an additional multiplier to the damage done to surrounding objects when this [[TechnoType]] is destroyed, provided that the object has a {{f|Primary|link}} weapon and {{f|Explodes|yes|link}}. | This value is used as an additional multiplier to the damage done to surrounding objects when this [[TechnoType]] is destroyed, provided that the object has a {{f|Primary|link}} weapon and {{f|Explodes|yes|link}}. | ||
{{Bugs}} | =={{Bugs}}== | ||
The value of this flag is reset to its default value if the object's [[rules]] section is included in a [[map]]. For example, suppose that the object {{s|FOO}} has {{f|{{PAGENAME}}|2.0}}. If you add the section {{s|FOO}} into a map (e.g. for changing the object's {{f|Name|link}} for that map), you must also add {{f|{{PAGENAME}}|2.0}} under that object section. | The value of this flag is reset to its default value if the object's [[rules]] section is included in a [[map]]. For example, suppose that the object {{s|FOO}} has {{f|{{PAGENAME}}|2.0}}. If you add the section {{s|FOO}} into a map (e.g. for changing the object's {{f|Name|link}} for that map), you must also add {{f|{{PAGENAME}}|2.0}} under that object section. | ||
[[Category:Resetting Flags]] | [[Category:Resetting Flags]] | ||
Latest revision as of 17:16, 2 July 2025
|
|
|
|
|
|
| Flag: | CollateralDamageCoefficient |
| File(s): | rules(md).ini |
| Values: | Floating point values: Any decimal number (clearer range should be added in Template:Values). |
| Default: | 1.0 |
| Applicable to: | TechnoTypes:
AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes |
This value is used as an additional multiplier to the damage done to surrounding objects when this TechnoType is destroyed, provided that the object has a Primary weapon and Explodes=yes.
Bugs/Side-Effects/Unexpected Limitations
The value of this flag is reset to its default value if the object's rules section is included in a map. For example, suppose that the object [FOO] has CollateralDamageCoefficient=2.0. If you add the section [FOO] into a map (e.g. for changing the object's Name for that map), you must also add CollateralDamageCoefficient=2.0 under that object section.





