Skip to content

Conversation

@Coronia
Copy link
Contributor

@Coronia Coronia commented Oct 29, 2025

  • DistributionMode.AllowActions & DistributionMode.DisallowActions determine the missions that can or can't be used for distribution command. If picking a target that's not eligible, it'll fallback to vanilla command.
    • By default DistributionMode.AllowActions is an empty list, which means all missions are eligible for distribution command unless listed in DistributionMode.DisallowActions.
  • You can also set a list of integers in DistributionMode.SpreadRanges. In this case, the range of each step will follow these settings instead of being 0, 4, 8 and 16.

In rulesmd.ini:

[General]
DistributionMode.AllowActions=                      ; list of Action
DistributionMode.DisallowActions=                   ; list of Action
DistributionMode.SpreadRanges=0,4,8,16              ; list of integer

In ra2md.ini:

[Phobos]
DefaultDistributionSpreadMode=2                     ; integer, index of values in DistributionMode.SpreadRanges

TODO:

  • implement Read function for Action
  • more debugs

@fagonghaiwo
Copy link

maybe need a flag like
DistributionMode.ForceActions
to always use DistributionMode for some actions(defult FilterMode is name, like AOE II)
for example, enter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants