关于数字AI
就是说,要使用数字AI是不是就必须要在除1的玩家外的玩家个人上加数字AI那么在电脑的个人上加上数字AI的话,那就不可能再使用不动AI了吧,而且,也只能使用7次(除1玩家外7个电脑)
那么这个问题如何解决呢?我试过不在电脑个人上加数字AI,但是这样的话AI信号就无用了
加上AI后又用不了不动AI,烦啊,谁帮忙下 把數字ai的指令碼加到不動ai即可,兩者可以同時使用。 这样的话应该如何加呢,是这样吗?先把数字AI的打上,接下来把不动AI的打上:
(defrule
(taunt-detected 1 1)
=>
(acknowledge-taunt 1 1)
(set-signal 1)
)
(defrule
(true)
=>
(set-strategic-number sn-maximum-food-drop-distance 0)
(set-strategic-number sn-maximum-wood-drop-distance 0)
(set-strategic-number sn-maximum-gold-drop-distance 0)
(set-strategic-number sn-maximum-stone-drop-distance 0)
(set-strategic-number sn-percent-civilian-gatherers 0)
(set-strategic-number sn-percent-civilian-builders 0)
(set-strategic-number sn-percent-civilian-explorers 0)
(set-strategic-number sn-maximum-hunt-drop-distance 0)
(set-strategic-number sn-maximum-fish-boat-drop-distance 0)
(set-strategic-number sn-task-ungrouped-soldiers 0)
(set-strategic-number sn-total-number-explorers 0)
(disable-self)
)
是否如此?另外,这样数字AI与不动AI齐用的问题解决了,但是怎样才能使用更多的数字AI呢?电脑只有7个,限制的数量不就只有7次了吗? 呵呵,我终于会了,谢谢尼克兄的提醒:将数字AI指令码与不动AI指令码合起就解决了使用数字AI就使用不了不动AI的问题,后来我又想了想,为什么不把其他数字AI的指令码都合在一起呢:
(defrule
(taunt-detected 1 1)
=>
(acknowledge-taunt 1 1)
(set-signal 1)
)
(defrule
(true)
=>
(set-strategic-number sn-maximum-food-drop-distance 0)
(set-strategic-number sn-maximum-wood-drop-distance 0)
(set-strategic-number sn-maximum-gold-drop-distance 0)
(set-strategic-number sn-maximum-stone-drop-distance 0)
(set-strategic-number sn-percent-civilian-gatherers 0)
(set-strategic-number sn-percent-civilian-builders 0)
(set-strategic-number sn-percent-civilian-explorers 0)
(set-strategic-number sn-maximum-hunt-drop-distance 0)
(set-strategic-number sn-maximum-fish-boat-drop-distance 0)
(set-strategic-number sn-task-ungrouped-soldiers 0)
(set-strategic-number sn-total-number-explorers 0)
(disable-self)
)
(defrule
(taunt-detected 1 2)
=>
(acknowledge-taunt 1 1)
(set-signal 2)
)
(defrule
(taunt-detected 1 3)
=>
(acknowledge-taunt 1 1)
(set-signal 3)
)
(defrule
(taunt-detected 1 4)
=>
(acknowledge-taunt 1 1)
(set-signal 4)
)
呵呵,这样一来问题就解决了,谢啦
页:
[1]