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

FreeMCV

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: FreeMCV
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no in vanilla, but in practice it is hard-coded to yes.

yes in Phobos.

Applicable to: CrateRules

Logic related to FreeMCV, as a whole or in part, is obsolete in Tiberian Sun, Red Alert 2 and/or Yuri's Revenge.



Specifies whether MCV can be obtained from a crate.

Notes

This is only for multiplayer mode and requires [MultiplayerDialogSettings]Bases=yes.

If the player has no buildings, no vehicle from [General]BaseUnit=, and current funds are above 1500, then force the crate type to Unit and set the unit result to the side's corresponding MCV.

The determination of whether a crate can appear in water happens after this, meaning that if it's a crate in water, even if FreeMCV is executed, it will be converted to Money.

Bugs/Side-Effects/Unexpected Limitations

However, this flag is ineffective in vanilla!

The game assumes the value is always yes and then executes according to the above rules.

References

Starting from Phobos Build#41, this flag works correctly, and the default value is changed to 1 to ensure compatibility with vanilla behavior. Additionally, the funds threshold can be defined via [CrateRules]FreeMCV.CreditsThreshold. Refer to Phobos documentation.

See Also