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

Actions

From ModEnc
Revision as of 08:43, 19 August 2005 by 81.240.110.181 (talk) (Type and Action)
Jump to: navigation, search

Nomen est omen in this case: Actions are exactly that - they initiate a procedure and/or control the way something is done; in most cases, this is linked to a change of the mouse cursor, the most prominent example of this being the SuperWeapons. Actions also decide whether a target is valid or not. As you can see from the list below, everything that generates a special cursor (and more) is linked to an Action, be it ParaDrops, the selling of units or simple guarding. The important factor here is that Actions can only ever be used once. While Types can be used again and again, a re-used Action will not work.

If the Action on a SuperWeapon is missing or invalid, the SW will be fired instantly on a random point on the map.


List of Actions

The following is a list of known Actions, quoted from DeeZire's INI Guide. The emphasized Actions are unused by default.

  • ParaDrop
  • LightningStorm
  • ChronoSphere
  • ChronoWarp
  • SpyPlane (YR)
  • Nuke
  • AmerParaDrop
  • IronCurtain
  • Airstrike (YR)
  • PsychicReveal (YR)
  • Sabotage
  • ForceShield (YR)
  • TibSunBug
  • AttackMoveTar
  • GeneticMutator (YR)
  • Heal
  • AttackMoveNav
  • SellUnit
  • Eaten
  • PsychicDominator (YR)
  • Tote
  • Demolish
  • EnterTunnel
  • TogglePower
  • AreaAttack
  • NoEnter
  • Sell
  • NoSell
  • GRepair
  • NoForceShield (YR)
  • IvanBomb
  • Self
  • DisarmBomb
  • NoGRepair
  • NoDeploy
  • GuardArea
  • AttackSupport
  • NoRepair
  • NoEnterTunnel
  • DetonateAll
  • PlaceBeacon
  • SelectBeacon

Note: Tote, Heal, TogglePower are quite often utilized in mods. Chances are that there are more Actions hidden in the game, controlling things like ivan-bomb-detonation or C4, but those have yet to be found.

// C4 is linked to the action Sabotage. - Fenring

Special Cases

The Action "SellUnit" is a special case, as it was used before the YR 1.001-patch, but unused afterwards. It is mostly used either for SellUnit-SuperWeapons, which use SW-code to re-enable the selling of units. Note that if the SellUnit Action targets a unit in a Tank Bunker an Internal Error will occur when the Tank Bunker is destroyed or sold. As such you should avoid using the SellUnit Action.

Another special case is "AttackMoveNav", as it is not really used in the game; it can be accessed through the command bar, but is usually not used by anyone and can equally easy be removed from it (via uimd.ini). If that is done, it should be safe to use it for SuperWeapons.

In addition, the Tunnel-Actions might be usable - RA2 and YR natively do not feature maps with tunnels, which makes these Actions technically unused. They are, however, part of the fully working tunnel-system which is actively used by the Terrain Expansion. Therefore, caution is required when considering to use them.