1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

adjust nk2ai-settings.json: tweak maxPass, maxPriorityPass, retreat thresholds, and reduce pathfinderBucketSize because decision making is not smart enough to pick the best, so limit the options

This commit is contained in:
Mircea TheHonestCTO
2025-09-07 15:01:49 +02:00
parent 16cdee82fd
commit 9df90a25ba

View File

@@ -4,7 +4,7 @@
"pawn" : {
"maxRoamingHeroes" : 3, //H3 value: 3,
"maxRoamingHeroesPerTown" : 0,
"maxPass" : 7,
"maxPass" : 5,
"maxPriorityPass" : 2,
"mainHeroTurnDistanceLimit" : 10,
"scoutHeroTurnDistanceLimit" : 5,
@@ -17,8 +17,8 @@
"allowObjectGraph": false,
"pathfinderBucketsCount" : 1,
"pathfinderBucketSize" : 10,
"retreatThresholdRelative" : 0,
"retreatThresholdAbsolute" : 0,
"retreatThresholdRelative" : 0.1,
"retreatThresholdAbsolute" : 2000,
"safeAttackRatio" : 1.1,
"maxArmyLossTarget" : 0.65,
"useFuzzy" : false
@@ -28,7 +28,7 @@
"maxRoamingHeroes" : 2, //H3 value: 3,
"maxRoamingHeroesPerTown" : 1,
"maxPass" : 10,
"maxPriorityPass" : 4,
"maxPriorityPass" : 5,
"mainHeroTurnDistanceLimit" : 10,
"scoutHeroTurnDistanceLimit" : 5,
"threatTurnDistanceLimit" : 4,
@@ -62,7 +62,7 @@
"openMap": false,
"allowObjectGraph": false,
"pathfinderBucketsCount" : 1,
"pathfinderBucketSize" : 100,
"pathfinderBucketSize" : 30,
"retreatThresholdRelative" : 0.3,
"retreatThresholdAbsolute" : 10000,
"safeAttackRatio" : 1.1,
@@ -85,7 +85,7 @@
"openMap": true,
"allowObjectGraph": false,
"pathfinderBucketsCount" : 1,
"pathfinderBucketSize" : 100,
"pathfinderBucketSize" : 30,
"retreatThresholdRelative" : 0.3,
"retreatThresholdAbsolute" : 10000,
"safeAttackRatio" : 1.1,
@@ -108,7 +108,7 @@
"openMap": true,
"allowObjectGraph": false,
"pathfinderBucketsCount" : 1,
"pathfinderBucketSize" : 100,
"pathfinderBucketSize" : 30,
"retreatThresholdRelative" : 0.3,
"retreatThresholdAbsolute" : 10000,
"safeAttackRatio" : 1.1,