xna-cncnet-client icon indicating copy to clipboard operation
xna-cncnet-client copied to clipboard

#324 User defined auto ally presets

Open devo1929 opened this issue 3 years ago • 1 comments

Summary

Currently, users are limited to auto ally presets where pre-defined (whether in mpmaps.ini or in the .map files). This allows the user to create "user defined" presets as well as mark any preset (user defined or map) as the default for a given map.

User defined presets are prefixed with [U].

When a user has specified the default preset for a given map, that map will be auto selected when the map is changed and auto allying is enabled.

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


Drop down with custom preset and settings button image

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

devo1929 avatar Apr 26 '22 15:04 devo1929

Nightly build for this pull request:

  • artifacts.zip This comment is automatic and is meant to allow guests to get latest automatic builds without registering. It is updated on every successful build.

github-actions[bot] avatar Apr 26 '22 15:04 github-actions[bot]