CnCNet / xna-cncnet-client

XNA / MonoGame based client for playing classic Command & Conquer games both online and offline with a CnCNet game spawner.
Other
223 stars 86 forks source link

Randomized game mode feature #519

Open SadPencil opened 3 months ago

SadPencil commented 3 months ago

This PR introduces randomness to game modes. Apart from original map code, it can now randomly select and insert some map codes. The following example defines a random game mode, where when game starts, 2 files from RNG1.ini, RNG2.ini, RNG3.ini files will be randomly loaded

[A Random Game Mode]
UIName=A Random Game Mode
MapCodeININame=A Random Game Mode-Base.ini
RandomizedMapCodeININames=RNG1.ini,RNG2.ini,RNG3.ini
RandomizedMapCodesCount=2
github-actions[bot] commented 3 months ago

Nightly build for this pull request: