ElevationModel: Difference between revisions
Appearance
en>DCoder Created |
en>Renegade No edit summary |
||
| Line 1: | Line 1: | ||
{{WrongTitle|[{{PAGENAME}}]}} | |||
Projectiles that have <tt>[[SubjectToElevation]]=yes</tt> will gain a range bonus when there is a height difference between the firer and the target. This section controls that bonus, which is calculated like this (pseudocode): | Projectiles that have <tt>[[SubjectToElevation]]=yes</tt> will gain a range bonus when there is a height difference between the firer and the target. This section controls that bonus, which is calculated like this (pseudocode): | ||
| Line 8: | Line 10: | ||
It is not confirmed whether this bonus can be negative. | It is not confirmed whether this bonus can be negative. | ||
[[Category:ElevationModel Flags]] | [[Category:ElevationModel Flags| ]] | ||
[[Category:Rules(md).ini Sections]] | [[Category:Rules(md).ini Sections]] | ||
[[Category:General Editing Information]] | [[Category:General Editing Information]] | ||
Revision as of 18:03, 7 May 2006
Projectiles that have SubjectToElevation=yes will gain a range bonus when there is a height difference between the firer and the target. This section controls that bonus, which is calculated like this (pseudocode):
NumberOfBonuses = (FirerPositionHeight - TargetPositionHeight) / ElevationIncrement; if NumberOfBonuses > ElevationBonusCap then NumberOfBonuses = ElevationBonusCap; RangeBonus = NumberOfBonuses * ElevationIncrementBonus;
It is not confirmed whether this bonus can be negative.