翔鹰帝国网|帝国时代论坛|帝国时代系列|神话时代
 找回密码
 注册翔鹰会员(昵称)
搜索
查看: 2511|回复: 5

[求助] 强悍的农民去遥远敌方阵营拆箭塔,规则哪里设置的?

 关闭 [复制链接]

4

主题

0

精华

61

积分

骑士

耕战
8
鹰币
47
天龙币
0
回帖
13
附庸关系0
发表于 2010-7-11 12:51:20 | 显示全部楼层 |阅读模式
我方的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)
)

要怎么样改正?
回复

使用道具 举报

78

主题

13

精华

2万

积分

圣徒

耕战
2683
鹰币
182
天龙币
0
回帖
1957

二级皇家勋章一级嘉禾勋章二级帝国勋章十字军勋章雄鹰勋章活跃者使者勋章

附庸关系0
发表于 2010-7-11 14:36:06 | 显示全部楼层
AI在城镇范围发现敌方建筑将会上前拆除
心烦意乱。静下来吧。
回复

使用道具 举报

4

主题

0

精华

61

积分

骑士

耕战
8
鹰币
47
天龙币
0
回帖
13
附庸关系0
 楼主| 发表于 2010-7-11 17:20:24 | 显示全部楼层
现在是AI不管看到哪里有箭塔都会跑去拆,箭塔就在敌对城镇周围,农民们放弃耕田砍树跑去送死(拆箭塔) 。 怎么办?怎么拯救农民不去那么远的敌方拆箭塔?

AI在城镇范围发现敌方建筑将会上前拆除   这条规则是?
回复

使用道具 举报

78

主题

13

精华

2万

积分

圣徒

耕战
2683
鹰币
182
天龙币
0
回帖
1957

二级皇家勋章一级嘉禾勋章二级帝国勋章十字军勋章雄鹰勋章活跃者使者勋章

附庸关系0
发表于 2010-7-11 22:26:47 | 显示全部楼层
我所谓“城镇范围”并非你看上去的 而是根据你设定的策略值决定
sn-minimum-town-size(最小城镇规模)

sn-maximum-town-size(最大城镇规模)
回复

使用道具 举报

7

主题

0

精华

174

积分

男爵

耕战
12
鹰币
390
天龙币
0
回帖
68
附庸关系0
发表于 2010-7-24 08:52:55 | 显示全部楼层
看不懂也~~~......{38}
回复

使用道具 举报

73

主题

5

精华

4950

积分

圣徒

耕战
315
鹰币
385289
天龙币
0
回帖
2437

翔鹰建站十周年纪念章特级帝国勋章特级嘉禾勋章蛟龙勋章十字军勋章

附庸关系0
发表于 2010-7-24 10:49:57 | 显示全部楼层
你想当下一个王子殿下吗
基本不管事,半月上一次。
什么事找我都是真没用。


回复

使用道具 举报

本版积分规则

排行榜|小黑屋|翔鹰帝国

GMT+8, 2024-11-16 06:30 , Processed in 0.132102 second(s), 76 queries , File On.

Powered by Hawk Studio  QS Security Corp.® Licensed

Copyright © 2001-2023, Hawkaoe.net All Rights Reserved

快速回复 返回顶部 返回列表