This AI was scripted to let scenario editors to have a "easy to modefy AI" that attacks with triggers and so on.
See "read me.txt" for instruction.
I added most basic methods to attack, so if you wish to use other attacking method, it shall be easy to modify too.
(Attacking methods : all TSAs I use, Group-attack with Small or Large groups.)
(Did not use attack-now cause it loses control of the units with some ocasion.)
Have fun.^^
ARFFI
PS:
Stoped every economy possibilities as requested.
Also, I added some interface to modify.^^
;Conquerors version 1.02
;Requested AI for KingSteven by ARFFI
;Request : No gathering and all economy stopped while waiting for the trigger to let the AI attack.
;Problems: "furious the monkey boy" and some units can not be used for attacking/scouting.
;*************** constants for others to modify. **************************************************
;--------------------------------------------------------------------------------------------------
;You may change these flags to adapt this AI to your aim.
;Unless it is written "value" in the following explanation of the options, type "YES" or "NO" only.
;For "values", type the new value you wish were the former value was written.
;(follow the mimimum and the maximum of the value)
;--------------------------------------------------------------------------------------------------
;***Attack triggers***
(defconst USE_STONE_AMOUNT_TO_ATTACK YES)
;change "YES" to "NO" if you don't use stone-amount to trigger this AI attack.
(defconst ATTACK_TRIGGER_STONE_AMOUNT 9990)
;set the amount of stone to trigger this AI to attack.(max:9999 > value > min:-1)
(defconst USE_TRIGGER_TO_ATTACK NO)
;change "NO" to "YES" if you wish to use trigger to let the AI attack.
(defconst ATTACK_TRIGGER 1)
;set the value of the trigger you wish to use when you want this AI to attack.(max:255 > value > min:1)
(defconst USE_TAUNT_TO_ATTACK NO)
;change "NO" to "YES" if you wish to use trigger to let the AI attack.
(defconst ATTACK_TAUNT 31)
;set the value of the taunt you wish to use when you want this AI to attack.(max:255 > value > min:1)
;***Defend (stop attacking) triggers***
(defconst USE_STONE_AMOUNT_TO_STOP_ATTACK NO)
;change "NO" to "YES" if you do use stone-amount to trigger this AI to stop attack.
(defconst STOP_ATTACK_TRIGGER_STONE_AMOUNT 9989)
;set the amount of stone to trigger this AI to stop attacking.(max:9999 > value > min:-1)
(defconst USE_TRIGGER_TO_STOP_ATTACK NO)
;change "NO" to "YES" if you wish to use trigger to let the AI stop attacking.
(defconst STOP_ATTACK_TRIGGER 1)
;set the value of the trigger you use when you want this AI to stop attacking.(max:255 > value > min:1)
(defconst USE_TAUNT_TO_STOP_ATTACK NO)
;change "NO" to "YES" if you wish to use trigger to let the AI stop attacking.
(defconst STOP_ATTACK_TAUNT 15)
;set the value of the taunt you wish to use when you want this AI to attack.(max:255 > value > min:1)
;***Targeting triggers***
(defconst AUTO_ADJUST_TARGET NO)
;change "YES" to "NO" if you don't want this AI to change targets automatically.
(defconst ATTACK_HUMAN YES)
;change "YES" to "NO" if you don't want this AI to attack human.
(defconst ATTACK_HUMAN_MAINLY YES)
;change "YES" to "NO" if you don't want this AI to mainly attack human.
(defconst ATTACK_COMPUTER YES)
;change "YES" to "NO" if you don't want this AI to attack computer.
(defconst ATTACK_COMPUTER_MAINLY NO)
;change "YES" to "NO" if you don't want this AI to mainly attack computer.
(defconst ATTACK_PLAYER_1 YES)
;change "YES" to "NO" if you don't want this AI to attack player 1.
(defconst ATTACK_PLAYER_2 YES)
;change "YES" to "NO" if you don't want this AI to attack player 2.
(defconst ATTACK_PLAYER_3 YES)
;change "YES" to "NO" if you don't want this AI to attack player 3.
(defconst ATTACK_PLAYER_4 YES)
;change "YES" to "NO" if you don't want this AI to attack player 4.
(defconst ATTACK_PLAYER_5 YES)
;change "YES" to "NO" if you don't want this AI to attack player 5.
(defconst ATTACK_PLAYER_6 YES)
;change "YES" to "NO" if you don't want this AI to attack player 6.
(defconst ATTACK_PLAYER_7 YES)
;change "YES" to "NO" if you don't want this AI to attack player 7.
(defconst ATTACK_PLAYER_8 YES)
;change "YES" to "NO" if you don't want this AI to attack player 8.
;***Auto delete triggers***
;<*** attention ***>
; If you delete TCs, the AI will not be able to use TSA attack.
; (Conquerors will shift it's attack method to other methods.)
(defconst USE_AUTO_DELETE_OF_TOWN_CENTERS YES)
;change "YES" to "NO" if you don't wish to use auto delete of the initial town-centers of this AI.
(defconst USE_AUTO_DELETE_OF_VILLAGERS YES)
;change "YES" to "NO" if you don't wish to use auto delete of the initial villagers of this AI.
;***Other triggers***
(defconst ENABLE_EXPLORE YES)
;change "YES" to "NO" if you don't wish to use explorers for this AI.
(defconst EXPLORE_GROUP_NUMBER 5)
;set the number of explorer groups this AI will use to find the enemy.(max:200 > value > min:0)
(defconst NAME_VIRSION_AT_START NO)
;change "NO" to "YES" if you do wish to check the AI's version every game.
(defconst ENABLE_DEBUG_CHATS NO)
;change "NO" to "YES" if you do wish to check the AI's conditon every game. (for Debug)
;***************end constants for others to modify. ***********************************************