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


From ModEnc
Jump to: navigation, 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: IsVeinholeMonster
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: OverlayTypes

Cc cnrdelete-all.pngLogic related to IsVeinholeMonster, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge.

Defines whether or not this overlay is a veinhole monster. Veinhole monsters are a special type of overlay that carry several hardcoded features, including, but not limited to:

  • Treated as a passive enemy; can be targeted and destroyed.
    • Certain weapons such as sonic weapons cannot harm the veinhole monster
  • Enables any attached veins to grow as specified by [General]VeinholeGrowthRate=.
  • If this veinhole is killed, any attached veins start to wither away, provided that the [General]VeinholeShrinkRate= is lower (faster) than the growth rate.
  • Ignores the Image flag, if specified.
  • Uses a hardcoded animation sequence:
    • Frame 0 is the standard idle state
    • 'Breathes' when idle: at random intervals, plays a short idle animation from frame 0 to 6, then cuts back to 0
    • Opens its 'mouth' when a unit comes close: when an infantry or vehicle enters any of the cells adjacent to the veinhole, it plays an animation from frame 0 to 3, then remains at that frame. This also happens if a building is placed next to the veinhole. As long as the veinhole is in this state, the 'breathing' logic is halted. Once the unit(s) move away, the veinhole reverts to its normal idle frame, and resumes 'breathing'.
    • When attacked, plays a short animation from frame 7 to 10, spawns a particle of the GasCloudM1 type, reverses the animation, and cuts back to frame 0. This is repeated 2-3 times after every attack.
    • Frame 11 is played when the Veinhole is killed, at the end of the final attack sequence.
Interestingly, the Strength, Armor and actual growth/shrinking mechanic of veins is determined in a separate terrain type that has IsVeinhole=true.