Temporal: Difference between revisions
m retested - culling has no effect on Temporal warheads |
Updating |
||
Line 12: | Line 12: | ||
If {{TTL|Temporal|yes}} is set on a weapon's [[warhead]], then the target will be "frozen" and gradually erased from time. The affected unit is rendered transparent, and the animation specified by [{{TTL|AudioVisual}}]{{arr|r}}{{TTL|ChronoSparkle1}} is played over it. Whilst a unit is frozen it cannot be targeted or affected by any other [[warhead]] (except other {{TTL|Temporal|yes}} [[warheads]]), and is unable to move or attack. | If {{TTL|Temporal|yes}} is set on a weapon's [[warhead]], then the target will be "frozen" and gradually erased from time. The affected unit is rendered transparent, and the animation specified by [{{TTL|AudioVisual}}]{{arr|r}}{{TTL|ChronoSparkle1}} is played over it. Whilst a unit is frozen it cannot be targeted or affected by any other [[warhead]] (except other {{TTL|Temporal|yes}} [[warheads]]), and is unable to move or attack. | ||
The firing unit must continue firing the weapon at the target until the target is erased, otherwise the target will unfreeze unharmed. The delay necessary to erase an object depends on the weapon's {{TTL|Damage}} - | The firing unit must continue firing the weapon at the target until the target is erased, otherwise the target will unfreeze unharmed. The delay necessary to erase an object depends on the weapon's {{TTL|Damage}} - each frame, a Temporal weapon firing at a target "takes away" as many points as its Damage dictates, and the unit gets erased when 10 * its maximum hitpoints have been "taken away". The duration completely ignores warhead percentages or current unit hitpoints. | ||
Objects that have {{TTL|Warpable|no}} set cannot be targeted (and thus cannot be affected) by a {{TTL|Temporal|yes}} [[warhead]]. | Objects that have {{TTL|Warpable|no}} set cannot be targeted (and thus cannot be affected) by a {{TTL|Temporal|yes}} [[warhead]]. | ||
Line 20: | Line 20: | ||
*Firing weapon is an urban combat weapon (fired from an occupied building). | *Firing weapon is an urban combat weapon (fired from an occupied building). | ||
*Warhead has a non-zero {{TTL|CellSpread}} set. | *Warhead has a non-zero {{TTL|CellSpread}} set. | ||
{{SourceCode|http://dc.strategy-x.com/src2/TemporalClass/TemporalClass.hpp|tr=0}} |
Revision as of 13:27, 11 May 2008
Flag: | Temporal |
File(s): | Rules(md).ini |
Values: | boolean |
Default: | no |
Applicable to: | Warheads |
If Template:TTL is set on a weapon's warhead, then the target will be "frozen" and gradually erased from time. The affected unit is rendered transparent, and the animation specified by [[[:Template:TTL]]]→Template:TTL is played over it. Whilst a unit is frozen it cannot be targeted or affected by any other warhead (except other Template:TTL warheads), and is unable to move or attack.
The firing unit must continue firing the weapon at the target until the target is erased, otherwise the target will unfreeze unharmed. The delay necessary to erase an object depends on the weapon's Template:TTL - each frame, a Temporal weapon firing at a target "takes away" as many points as its Damage dictates, and the unit gets erased when 10 * its maximum hitpoints have been "taken away". The duration completely ignores warhead percentages or current unit hitpoints.
Objects that have Template:TTL set cannot be targeted (and thus cannot be affected) by a Template:TTL warhead.
Note that Template:TTL warheads will cause an Internal Error when detonated if any of the following conditions are true:
- Firing weapon is a shrapnel weapon.
- Firing weapon is an urban combat weapon (fired from an occupied building).
- Warhead has a non-zero Template:TTL set.
Relevant pseudocode is available at http://dc.strategy-x.com/src2/TemporalClass/TemporalClass.hpp.