Control of Attack group

The grouping method for Attack group
I researched the relation between some strategic numbers and actually created attack group size. It is tested by using skirmishers only.

Test 1

In case of sn-minimum-attack-group-size = sn-maximum-attack-group-size.

* Initial SN settings
sn-attack-group-size-randomness = 0
sn-scale-minimum-attack-group-size = 0
sn-scale-maximum-attack-group-size = 0
sn-do-not-scale-for-difficulty-level = 1

* Case 1... group size is 4

4 skirms group is created. The group size is the same as SN settings.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 4
sn-maximum-attack-group-size = 4
Group 1

* Case 2... group size is 5

5 skirms group is created. The group size is the same as SN settings.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 5
Group 1

* Case 3... group size is 6

6 skirms group is created. The group size is the same as SN settings.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 6
sn-maximum-attack-group-size = 6
Group 1

* Case 4... group size is 5, but only 3 units exist,

3 skirms group is created. It is considered that the group is completed, even if the number of units are not enough for the sn-minimum-group-size.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 5
Group 1

* Case 5 ... 2 groups and group size is 5, but only 7 units exist,

It is considered that the second group is completed, even if the number of units are not enough for the sn-minimum-group-size.

SN setting   Result (created attack group)
sn-number-attack-groups = 2
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 5
Group 1
Group 2

* Case 6 ... 3 groups and group size is 5, but only 11 units exist,

It is considered that the third group is completed, even if the number of units are not enough for the sn-minimum-group-size.

SN setting   Result (created attack group)
sn-number-attack-groups = 3
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 5
Group 1
Group 2
Group 3

* Case 7 ... 3 groups and group size is 5, but only 6 units exist,

It is considered that the sencond group is completed, even if the number of units are not enough for the sn-minimum-group-size.
Group fill method is always the single group fill, not the level group fill.

SN setting   Result (created attack group)
sn-number-attack-groups = 3
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 5
Group 1
Group 2

CONCLUSION

The group is created the same as SN settings. Even if the number of units is not enough for the minimum group size, it is considered that group is completed and go to attack.


Test 2

In case of sn-minimum-attack-group-size < sn-maximum-attack-group-size.

* Initial SN settings
sn-attack-group-size-randomness = 0
sn-scale-minimum-attack-group-size = 0
sn-scale-maximum-attack-group-size = 0
sn-do-not-scale-for-difficulty-level = 1

* Case 1 ... group size is 4-5

4 skirms group is created. The group size is the same as sn-minimum-attack-group-size settings. sn-maximum-attack-group-size is ignored.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 4
sn-maximum-attack-group-size = 5
Group 1

* Case 2 ... group size is 4-7

4 skirms group is created. The group size is the same as sn-minimum-attack-group-size settings. sn-maximum-attack-group-size is ignored.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 4
sn-maximum-attack-group-size = 7
Group 1

* Case 3 ... 2 groups and group size is 4-7

4 skirms group is created. The group size is the same as sn-minimum-attack-group-size settings. sn-maximum-attack-group-size is ignored.

SN setting   Result (created attack group)
sn-number-attack-groups = 2
sn-minimum-attack-group-size = 4
sn-maximum-attack-group-size = 7
Group 1
Group 2

* Case 4 ... 2 groups of 4-7 units, 5 units only exist,

4 skirms group is created. The group size is the same as sn-minimum-attack-group-size settings. sn-maximum-attack-group-size is ignored.
It is considered that the second group is completed, even if the number of units is not enough for the sn-minimum-group-size.

SN setting   Result (created attack group)
sn-number-attack-groups = 2
sn-minimum-attack-group-size = 4
sn-maximum-attack-group-size = 7
Group 1
Group 2

CONCLUSION

The created group size is the same as sn-minimum-attack-group-size settings. And sn-maximum-attack-group-size is ignored.

 

Test 3

In case where sn-minimum-attack-group-size < sn-maximum-attack-group-size and sn-attack-group-size-randomness is more than 0.

* Initial SN settings
sn-scale-minimum-attack-group-size = 0
sn-scale-maximum-attack-group-size = 0
sn-do-not-scale-for-difficulty-level = 1

* Case 1 ... group size is 4-7 and randomness is 3.

4-7 skirms group is randomly created. Random value(0-3) is added to minimum group size.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 4
sn-maximum-attack-group-size = 7
sn-attack-group-size-randomness = 3
Group 1
or

or

or

* Case 2 ... group size is 4-5 and randomness is 3.

4-5 skirms group is randomly created. Random value(0-3) is added to sn-minimum-attack-group-size.
But the group size is limitted under sn-maximum-attack-group-size.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 4
sn-maximum-attack-group-size = 5
sn-attack-group-size-randomness = 3
Group 1
or

CONCLUSION

Random value is added to sn-minimum-attack-group-size. But the group size is limitted under sn-maximum-attack-group-size.

 

Test 4

In case where sn-minimum-attack-group-size < sn-maximum-attack-group-size and sn-minimum-attack-group-size is increased per 3 minutes.

* Initial SN settings
sn-attack-group-size-randomness = 0
sn-scaling-frequency = 3
sn-scale-minimum-attack-group-size = 1
sn-scale-maximum-attack-group-size = 0
sn-do-not-scale-for-difficulty-level = 0

* Case 1... group size is 4-7 at game start

4 skirms group is created. The group size is the same as SN settings.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 4
sn-maximum-attack-group-size = 7
Group 1

* Case 2... 3 minutes passed from game start

5 skirms group is created. The scaling happen at 3 minutes, and sn-minimum-attack-group-size is scaled automatically by game engine.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 7
Group 1

* Case 3... 6 minutes passed from game start

6 skirms group is created. The scaling happen at 6 minutes, and sn-minimum-attack-group-size is scaled automatically by game engine.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 6
sn-maximum-attack-group-size = 7
Group 1

* Case 4... 9 minutes passed from game start

7 skirms group is created. The scaling happen at 9 minutes, and sn-minimum-attack-group-size is scaled automatically by game engine.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 7
sn-maximum-attack-group-size = 7
Group 1

* Case 5... 12 minutes passed from game start

7 skirms group is created. The scaling happen at 12 minutes, but sn-minimum-attack-group-size isn't increased more than sn-maximum-attack-group-size automatically.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 7
sn-maximum-attack-group-size = 7
Group 1

CONCLUSION

sn-minimum-attack-group-size is increased automatically by game engine when the scaling event happen.
But sn-minimum-attack-group-size cannot be increased more than sn-maximum-attack-group-size.

 

Test 5

In case that difficulty level scaling is on.

* Initial SN settings
sn-attack-group-size-randomness = 0
sn-scale-minimum-attack-group-size = 0
sn-scale-maximum-attack-group-size = 0
sn-do-not-scale-for-difficulty-level = 0

* Case 1... group size is 5, and difficulty level is Hardest.

5 skirms group is created. The group size is the same as SN settings.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 5
Group 1

* Case 2... 1 group of 5 units, and difficulty level is Hard.

4 skirms group is created. The group size is scaled automatically by game engine.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 5
Group 1

* Case 3... 1group of 5 units, and difficulty level is Moderate.

3 skirms group is created. The group size is scaled automatically by game engine.

SN setting   Result (created attack group)
sn-number-attack-groups = 1
sn-minimum-attack-group-size = 5
sn-maximum-attack-group-size = 5
Group 1

CONCLUSION

When scaling for difficulty level is ON, sn-minimum-attack-group-size is calculated by scaling factor that depends on difficulty level.
Note that sn-minimum-attack-group-size is not overwitten automatically by game engine. This point is different from sn-scale-minimum-attack-group-size.