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

ShortGame

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: ShortGame
File(s): ra2(md).ini, rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes[1]
Applicable to: Skirmish, LAN, WonlinePref in ra2(md).ini, MultiplayerDialogSettings in rules(md).ini, Settings in spawn.ini


Define whether the skirmish/multiplayer game mode is "short game".

Notes

In this mode, the player will immediately be defeated as soon as they lose all buildings and do not have any of the vehicles listed under [General]BaseUnit=. This effectively prevents players from hiding an object in a hard-to-find location, forcing other players to spend a lot of time or even quit the game directly[2].

  • If an object possesses Insignificant=yes or DontScore=yes, its existence does not participate in this judgment.
  • In vanilla Yuri's Revenge (no mods), regardless of whether the Yuri Slave Miner is deployed or undeployed ([YAREFN] and [SMIN]), it is not considered a building. That is to say, in short game mode, it never participates in survival determination, while in non-short game mode, it always participates in survival determination.

The three INI sections in ra2(md).ini correspond to the settings for three game modes respectively, and are updated as the player switches pages after clicking the checkbox (closing the game externally will not save these settings).

If ra2(md).ini does not exist, the game will create it upon first startup, and for this value, it will use the value set in [MultiplayerDialogSettings]ShortGame.

When CnCNet is used, the mode behavior is controlled by the spawn.ini created by the CnCNet Client.

Bugs/Side-Effects/Unexpected Limitations

Starting from Ares 0.1, in non-short game mode, the deployed Yuri Slave Miner ([YAREFN]) cannot participate in the judgment, which causes the player to lose immediately upon deploying if only one [SMIN] remains.

  • This bug has been fixed in Ares 3.0.
  • Starting from Ares 3.0, in a short game, a deployed Yuri Slave Miner ([YAREFN]) is considered a regular building for the purpose of determining defeat conditions. This results in an immediate defeat for the player if they undeploy when only one [YAREFN] remains.

See DontScore#Bugs.

Footnotes

  1. In reality, the program does not set the default value to yes; quite the opposite (see 0x6672DB in Yuri's Revenge 1.001). However, just as the file creation rule mentioned in #Notes when ra2(md).ini does not exist, ra2(md).mix/expandmd01.mixrules(md).ini[MultiplayerDialogSettings]ShortGame=yes actually controls the execution to default to yes.
  2. Especially submarines, these ghostly stalkers lurking in the sea, which can be incredibly frustrating when hidden across a vast ocean

References

Starting from Ares 3.0, whether an object participates in the determination can be controlled by modders through a new ini flag named KeepAlive. Refer to Ares documentation.

See Also