强悍的农民去遥远敌方阵营拆箭塔,规则哪里设置的?
我方的AI在发现敌方城镇周边建个箭塔,我方AI一大堆农民会奋勇向前去拆敌方箭塔,各位达人知道规则哪里设置的吗?如:(defrule
(true)
=>
(set-strategic-number sn-group-leader-defense-distance 1)
(set-strategic-number sn-allow-civilian-defense 1)
(set-difficulty-parameter ability-to-maintain-distance 0)
(set-difficulty-parameter ability-to-dodge-missiles 0)
(set-strategic-number sn-consecutive-idle-unit-limit 0)
(set-strategic-number sn-sentry-distance 0)
(set-strategic-number sn-sentry-distance-variation 0)
(set-strategic-number sn-zero-priority-distance 0)
(set-strategic-number sn-attack-separation-time-randomness 0)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-number-defend-groups 1)
(set-strategic-number sn-maximum-defend-group-size 1)
(set-strategic-number sn-gold-defend-priority 7)
(set-strategic-number sn-stone-defend-priority 4)
(set-strategic-number sn-forage-defend-priority 4)
(set-strategic-number sn-relic-defend-priority 4)
(set-strategic-number sn-town-defend-priority 8)
(set-strategic-number sn-defense-distance 3)
(set-strategic-number sn-defend-overlap-distance 3)
(set-strategic-number sn-gather-idle-soldiers-at-center 0)
(set-strategic-number sn-task-ungrouped-soldiers 0)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-attack-winning-player 1)
(set-strategic-number sn-attack-winning-player-factor -100)
(set-strategic-number sn-attack-intelligence 1)
(set-strategic-number sn-group-form-distance 60)
(set-strategic-number sn-attack-group-gather-spacing 9)
(set-strategic-number sn-task-ungrouped-soldiers 0)
(set-strategic-number sn-percent-attack-soldiers 0)
(set-strategic-number sn-minimum-attack-group-size 8)
(set-strategic-number sn-maximum-attack-group-size 60)
(set-strategic-number sn-minimum-defend-group-size 6)
(set-strategic-number sn-maximum-defend-group-size 18)
(set-strategic-number sn-percent-enemy-sighted-response 90)
(set-strategic-number sn-enemy-sighted-response-distance 10)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-coop-share-attacking 300)
(set-strategic-number sn-coop-share-information 1)
(set-strategic-number sn-gather-defense-units 2)
(set-strategic-number sn-maximum-gaia-attack-response 0)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-initial-exploration-required 0)
(set-strategic-number sn-percent-exploration-required 100)
(set-strategic-number sn-cap-civilian-explorers 2)
(set-strategic-number sn-number-explore-groups 1)
(set-strategic-number sn-minimum-explore-group-size 1)
(set-strategic-number sn-maximum-explore-group-size 1)
(set-strategic-number sn-percent-half-exploration 70)
(set-strategic-number sn-percentage-explore-exterminators 60)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-number-enemy-objects-required 0)
(set-strategic-number sn-percentage-explore-exterminators 70)
(set-strategic-number sn-blot-exploration-map 1)
(set-strategic-number sn-blot-size 1)
(set-strategic-number sn-initial-exploration-required 1)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-coop-share-attacking 300)
(set-strategic-number sn-gather-defense-units 2)
(set-strategic-number sn-group-form-distance 40)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-allow-civilian-defense 1)
(set-strategic-number sn-random-placement-factor 0)
(set-strategic-number sn-relic-return-distance 1000)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-scale-minimum-attack-group-size 1)
(set-strategic-number sn-scale-maximum-attack-group-size 1)
(set-strategic-number sn-percent-attack-soldiers 100)
(set-strategic-number sn-target-evaluation-distance 100)
(set-strategic-number sn-target-evaluation-siege-weapon 200)
(set-strategic-number sn-target-evaluation-hitpoints 90)
(set-strategic-number sn-target-evaluation-attack-attempts 40)
(set-strategic-number sn-target-evaluation-range 10)
(set-strategic-number sn-target-evaluation-damage-capability 80)
(set-strategic-number sn-target-evaluation-rof 30)
(set-strategic-number sn-target-evaluation-time-kill-ratio 70)
(set-strategic-number sn-target-evaluation-in-progress 50)
(set-strategic-number sn-target-evaluation-kills 0)
(set-strategic-number sn-ignore-attack-group-under-attack 1)
(disable-self)
)
(defrule
(true)
=>
(set-strategic-number sn-group-commander-selection-method 2)
(set-strategic-number sn-group-form-distance 40)
(set-strategic-number sn-initial-attack-delay 0)
(set-strategic-number sn-initial-attack-delay-type 0)
(set-strategic-number sn-attack-group-gather-spacing 4)
(set-strategic-number sn-attack-separation-time-randomness 0)
(set-strategic-number sn-attack-intelligence 1)
(disable-self)
)
要怎么样改正? AI在城镇范围发现敌方建筑将会上前拆除 现在是AI不管看到哪里有箭塔都会跑去拆,箭塔就在敌对城镇周围,农民们放弃耕田砍树跑去送死(拆箭塔) 。 怎么办?怎么拯救农民不去那么远的敌方拆箭塔?
AI在城镇范围发现敌方建筑将会上前拆除 这条规则是? 我所谓“城镇范围”并非你看上去的 而是根据你设定的策略值决定
sn-minimum-town-size(最小城镇规模)
sn-maximum-town-size(最大城镇规模) 看不懂也~~~......{38} 你想当下一个王子殿下吗
页:
[1]