ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Temporal: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
Testid123 (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 12: Line 12:
{{SourceCode|http://dc.strategy-x.com/src2/TemporalClass/TemporalClass.hpp|tr=yes}}
{{SourceCode|http://dc.strategy-x.com/src2/TemporalClass/TemporalClass.hpp|tr=yes}}


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 {{f|Temporal|yes|link}} 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 [{{f|AudioVisual|link}}]{{arr|r}}{{f|ChronoSparkle1|link}} is played over it. Whilst a unit is frozen it cannot be targeted or affected by any other [[warhead]] (except other {{f|Temporal|yes|link}} [[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}} - 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.
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 {{f|Damage|link}} - 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 {{f|Warpable|no|link}} set cannot be targeted (and thus cannot be affected) by a {{f|Temporal|yes|link}} [[warhead]].


Note that {{TTL|Temporal|yes}} warheads will cause an [[Internal Error]] when detonated if any of the following conditions are true:
Note that {{f|Temporal|yes|link}} 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 a shrapnel weapon and [[DeathWeapon]].
*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 {{f|CellSpread|link}} set.
*Warhead also uses the {{TTL|Culling|yes}} flag (which doesn't apply to non-squidlike units anyway).
*Warhead also uses the {{f|Culling|yes|link}} flag (which doesn't apply to non-squidlike units anyway).
*Firing weapon is a secondary weapon.
*Firing weapon is a secondary weapon (except for Infantry with {{f|Deployer|yes|link}} and {{f|DeployFire|yes|link}}). ;(The problem was resolved by adding <b><u><font style="color:blue">Temporal=yes</font></u></b> to the warhead of<b><u>[[Primary]]</u></b> and <b><u>[[ElitePrimary]]</u></b>)
==Note==
[[TechnoTypes]] that are higher than <b>300</b>([[JumpjetHeight]]) are not affected by this tag.<br>
Effects from this tag It will happen only when it actually affects the actual target. The attack on the ground was nothing more than a deception.
{{Bugs}}
*If there Is <b>Temporal=yes</b> tag This tag will disable the tag [[Particle]]

Latest revision as of 15:13, 16 September 2024

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Temporal
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: Warheads


Needs Transcribing
Pseudocode relevant to this article is available at http://dc.strategy-x.com/src2/TemporalClass/TemporalClass.hpp. Please update this article with information revealed by the pseudocode.

If 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 [AudioVisual]→ChronoSparkle1 is played over it. Whilst a unit is frozen it cannot be targeted or affected by any other warhead (except other 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 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 Warpable=no set cannot be targeted (and thus cannot be affected) by a Temporal=yes warhead.

Note that Temporal=yes warheads will cause an Internal Error when detonated if any of the following conditions are true:

  • Firing weapon is a shrapnel weapon and DeathWeapon.
  • Firing weapon is an urban combat weapon (fired from an occupied building).
  • Warhead has a non-zero CellSpread set.
  • Warhead also uses the Culling=yes flag (which doesn't apply to non-squidlike units anyway).
  • Firing weapon is a secondary weapon (except for Infantry with Deployer=yes and DeployFire=yes). ;(The problem was resolved by adding Temporal=yes to the warhead ofPrimary and ElitePrimary)

Note

TechnoTypes that are higher than 300(JumpjetHeight) are not affected by this tag.
Effects from this tag It will happen only when it actually affects the actual target. The attack on the ground was nothing more than a deception.

Bugs/Side-Effects/Unexpected Limitations

  • If there Is Temporal=yes tag This tag will disable the tag Particle