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

RadSiteWarhead

From ModEnc
Jump to navigation Jump to search
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: RadSiteWarhead
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: Warheads)
Default: null
Applicable to: Radiation


Defines the warhead that will be used to inflict radiation damage on units by a rad site. Must be listed under [Warheads] and defined properly.

Notes

Since the BuildingType in vanilla lacks handling for rad sites, they are not affected, which has nothing to do with immune logic or Verses.

Phobos adds this part of the handling and further extends it. Refer to Phobos documentation.

However, you still need to write the global [Radiation] from vanilla into the new [RadiationTypes] registry through Phobos's new custom radiation form, in order to make the newly added RadApplicationDelay.Building= flag in Phobos take effect. Just like below:

[Radiation]
RadApplicationDelay.Building=16

[RadSite]                                                ; The warhead used by [Radiation] in vanilla
Verses=100%,100%,100%,50%,10%,10%,20%,10%,10%,100%,100%

[RadiationTypes]
0=Radiation

Bugs/Side-Effects/Unexpected Limitations

Rad site does not retain house and invoker information, so kills from rad site will not provide experience to Desolator. Correspondingly, if the warhead has InfDeath=9 or other entity creation logic, the generated entities will belong to the neutral house.

  • Starting from Phobos Build#7, Rad.NoOwner on weapons determines whether a rad site has no house, defaulting to no (owned), until it was removed in Build#29.
    • From Phobos Build#29 onwards, each Radiation uses its own RadHasOwner to determine whether it has a house and RadHasInvoker to whether it has an invoker, with default behavior reverting to vanilla game conditions.

See Also