ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
IsVeinholeMonster: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Un-DeeZire'd |
||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|name={{PAGENAME}} | |||
|files={{Categ|Rules(md).ini}} | |||
|values={{values|boolean}} | |||
|default=no | |||
|types={{Categ|OverlayTypes}} | |||
|ts=yes | |||
|fs=yes | |||
|hp=yes | |||
|ra2=yes | |||
|yr=yes | |||
|ares=yes | |||
|ra2obsolete=yes | |||
}} | |||
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 [[IsSonic|sonic weapons]] cannot harm the veinhole monster | |||
* Enables any attached [[IsVeins|veins]] to grow as specified by {{sl|General|VeinholeGrowthRate}}. | |||
* If this veinhole is killed, any attached veins start to wither away, provided that the {{sl|General|VeinholeShrinkRate}} is ''lower'' (faster) than the growth rate. | |||
* Ignores the {{f|Image|link}} flag, if specified. | |||
* Uses a hardcoded animation sequence: | |||
** Alternates between frames 0 and 3 as rest/idle states | |||
** Randomly plays a short idle animation from frame 0 to 6, then cuts back to 0 | |||
** When attacked, plays a short animation from frame 7 to 10, spawns a [[particle]] of the {{tt|GasCloudM1}} type, reverses the animation, and cuts back to frame 0. This is repeated 2-3 times after every attack. | |||
** Note that the 12th and last frame in the original [[SHP]] is in fact unused. | |||
Interestingly, the {{f|Strength|link}}, {{f|Armor|link}} and actual growth/shrinking mechanic of veins is determined in a separate [[TerrainTypes|terrain type]] that has {{f|IsVeinhole|true|link}}. |
Revision as of 20:07, 4 May 2021
Flag: | IsVeinholeMonster |
File(s): | Rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | no |
Applicable to: | OverlayTypes |
Logic 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:
- Alternates between frames 0 and 3 as rest/idle states
- Randomly plays a short idle animation from frame 0 to 6, then cuts back to 0
- 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.
- Note that the 12th and last frame in the original SHP is in fact unused.
Interestingly, the Strength, Armor and actual growth/shrinking mechanic of veins is determined in a separate terrain type that has IsVeinhole=true.