ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "CollateralDamageCoefficient"
From ModEnc
(Created page with "{{Flag |name={{PAGENAME}} |files={{Categ|ini=rules}} |values={{Values|float}} |default=1.0 |types={{Categ|Technoes}} |fs=yes |hp=yes }} This value is used as an additional mu...") |
m (Fixed cut 'n' paste error) |
||
Line 12: | Line 12: | ||
{{Bugs}} | {{Bugs}} | ||
− | The value of this flag is reset to its default value if the | + | 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. |
Revision as of 18:00, 10 October 2020
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.