ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
PrismSupportModifier: Difference between revisions
Jump to navigation
Jump to search
Updated |
Adding actual formula, might need touching up / explading to Systems article |
||
Line 9: | Line 9: | ||
This flag specifies a multiplier to damage when a building designated as {{TTL|PrismType}} fires its weapon supported by other buildings of the same type. | This flag specifies a multiplier to damage when a building designated as {{TTL|PrismType}} fires its weapon supported by other buildings of the same type. | ||
Actual damage done by a linked PrismType is calculated like this: | |||
// naming: ''PSM.ini'' - the value specified for this flag in the rules.ini file | |||
// DamageMultiplier is 1.0 on normal projectiles | |||
Projectile->DamageMultiplier = ( ( (NumberOfSupportingPrisms * (''PSM.ini'' * 100) + 100) * 256 ) / 100 ) / 256; | |||
<!-- who's the smartest coders? that's right, westwood is --> | |||
== Bugs == | == Bugs == |
Revision as of 17:59, 19 May 2008
Flag: | PrismSupportModifier |
File(s): | rules(md).ini |
Values: | Floating point values: Any decimal number (clearer range should be added in Template:Values). |
Default: | 100.0 (broken, see ↓ below) |
Applicable to: | General |
This flag specifies a multiplier to damage when a building designated as Template:TTL fires its weapon supported by other buildings of the same type.
Actual damage done by a linked PrismType is calculated like this:
// naming: PSM.ini - the value specified for this flag in the rules.ini file // DamageMultiplier is 1.0 on normal projectiles Projectile->DamageMultiplier = ( ( (NumberOfSupportingPrisms * (PSM.ini * 100) + 100) * 256 ) / 100 ) / 256;