Jump to content

RandomSelectionWeight

From ModEnc²
Revision as of 22:03, 31 March 2025 by MarkJFox (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: RandomSelectionWeight
File(s): Rules(md).ini
Values: Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767.
Default: 1
Applicable to: Country

This flag is part of Ares. Do not use it without Ares installed.



Specifies how likely it is that this country will be randomly selected when a player chooses ‘Random’. The probability of this country being picked is calculated by dividing this country’s RandomSelectionWeight value by the sum of all Multiplay=yes countries’ RandomSelectionWeight values.