CnCNet / xna-cncnet-client

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

#324 User defined auto ally presets #325

Closed devo1929 closed 2 years ago

devo1929 commented 2 years ago

Drop down with custom preset and settings button image

This allows the user to save custom auto ally presets for any map. Currently, presets are only available if they exist in a map file.

Custom user auto ally presets are stored at Client/AutoAllyUserPresets.ini

Example AutoAllyUserPresets.ini contents:

[Presets]
0=8WalledWorld112v2v2v2
1=4DesertIslandLE
2=4ColdestPeak
3=8MayflowerFreezesOver

[8WalledWorld112v2v2v2]
$$Default=2v2v2v2
2v2v2v2=A,A,B,B,C,C,D,D

[4DesertIslandLE]
my custom=A,B,x,A
test=A,B,x,A

[4ColdestPeak]
test=A,B,B,A

[8MayflowerFreezesOver]
4v4 Corners=A,A,B,B,A,A,B,B

Drop down opened with differing preset options image

Edit preset with "create" option selected image

Edit preset with existing option selected image

Edit preset window drop down options image

Edit button is disabled when auto allying is disabled image

Help window: image

github-actions[bot] commented 2 years ago

Nightly build for this pull request: