Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///========================================
- /// instructions to use the default goals
- ///========================================
- # lines starting with "#" are disabled commands
- # lines starting with "//" are comments & notes
- # go to "global settings" to set warnings, preferences, map/log colors, and other stuff
- # guide:Global_Settings
- //========================================
- // basic city goals
- //========================================
- #schedulepolicy 06:00 12:00
- // have my bot stop performing at certain hours of the day
- // guide:SchedulePolicy
- config comfort:1
- comfortpolicy 15 21 popraise
- // automatically comfort if loyalty is low
- // do population raising if/as needed every 15-21 minutes
- // guide:Comfort
- // guide:ComfortPolicy
- distancepolicy 10 10 10 15 15
- // max distance _farm _build _npc5 _search medal _valley _map size
- // guide:DistancePolicy
- #rallypolicy n:10:1 n:8 m:1
- //# of each mission to send from the rally.
- // this allows 1 level 10 npc run, 8 total npc runs (of any level, including 10), and 1 medal farming run simultaneously
- // guide:RallyPolicy
- #excludelist 111,222 123,456 654,321 222,111
- // do not farm, acquire, attack, abandon, npc, or touch this coordinate for anything
- // guide:ExcludeList
- ///=======================================
- /// hero management
- ///=======================================
- #traininghero your_best_atk_hero_name 300 1200 1
- // hero to train troops in multiple cities
- // {hero name} {min stay time} {max stay time} {# of npc hits before leaving city}
- // guide:TrainingHero
- config hero:10
- // 1 - rewards and levels only
- // 10 - keep 1 poli, rest attack, reward & level
- // 20 - keep 2 poli, rest attack, reward & level
- // 11 - keep 1 poli, 1 intel, rest attack, reward & level
- // 21 - keep 2 poli, 1 intel, rest attack, reward & level
- // guide:Hero
- config trainpol:0
- // allowed to send pol heroes npc farming
- // guide:TrainPol
- config trainint:1
- // allowed to send intl heroes npc farming
- // guide:TrainInt
- keepcapturedheroes any:base>=70
- keepcapturedheroes any:level>=100
- // keep captured hero if lvl 100+ OR keep if base 70+
- // if not one of the above - auto release for FH space if needed
- // guide:KeepCapturedHeroes
- keepheroes any:level>=50
- keepheroes any:base>=69
- // keep hero if lvl 50+ OR if base 69+
- // if not one of the above - auto fire for space if/as needed
- // guide:KeepHeroes
- config keepatthome:1
- // 0 - off, 1 - keeps the 2nd best attack hero at home to defend
- // guide:KeepAttHome
- #nolevelheroes hero,names,or,string
- // heroes not to auto up level
- // guide:NoLevelHeroes
- #config fasthero:70
- // hire heroes with 70+ base. fire heroes not protected by KeepHeroes to make room
- // requires config hero:10 or higher
- // guide:FastHero
- ///=======================================
- // npc building & farming goals
- ///=======================================
- config npc:1
- // farm lvl 1+ npcs, and higher if configured below
- // guide:Npc
- #farmingpolicy 10 mindistance:1 maxdistance:5 cycle:1
- // farm lvl 10's for 1-5 miles every 1 hour
- // note requires npclimits 10 below
- // guide:FarmingPolicy
- npctroops 5 b:550
- #npctroop 10 a:90000,wo:2000,warr:2000,s:4000
- // farm lvl 5s with 550 ballista. transports will be automatically added
- // farm lvl 10s with 90k archers, 2k worker/warriors, 4k scouts. transports will be automatically added
- // guide:NpcTroops
- npcheroes 5 any,!trainingheroname
- #npcheroes 10 trainingheroname
- // use any hero except the traininghero to farm 5s, use the traininghero only to farm 10s, customize with hero strings
- // guide:NpcHeroes
- // guide:CategoryGoals#Hero_Strings_in_Goals
- #npclimits 10 a:281k
- // wait till i have at least 281k archers in city before sending npc10 farm run
- // required before npcfarming will start on lvl 10 npcs
- // guide:NpcLimits
- #npclist 5 xx1,yy1 xx2,yy2 xx3,yy3
- // only the npc5 coords you listed will be farmed, any level can be used here instead of 5
- // guide:NpcList
- #npcbounds 5 200 210 300 310
- // only hit npcs between coords 200,300 and 210,310
- // npcbounds {level} <xmin> <xmax> <ymin> <ymax>
- // guide:NpcBounds
- config buildnpc:15
- npcbuildpolicy /level:5 /mindistance:4 /maxdistance:15
- npcbuildpolicy /level:10 /mindistance:1 /maxdistance:5
- // build lvl 5 and 10 npcs only, 5's for 4-15 miles and 10's for 1-5 miles
- // use config npc:5 for only 5s
- // guide:Buildnpc
- // guide:NpcBuildPolicy
- config acquireflats:2
- // grab all nearby flats possible and hold them until they can be npc'd
- // guide:AcquireFlats
- config abandonflats:1
- // abandon all held flats (unless on excludelist) just before maintenance so they can be levelled up
- // guide:AbandonFlats
- ///=======================================
- /// resource management
- ///=======================================
- config trade:1
- tradepolicy /type:gold /min:5d
- tradepolicy /type:food /min:3d /max:950b /allowselltomin
- tradepolicy /type:wood /min:100k /allowselltomin
- tradepolicy /type:stone /min:100k /allowselltomin
- tradepolicy /type:iron /min:100k /allowselltomin
- // allow trading, keep 5 days of gold, 3+ days food (with max of 950b to avoid reset), 100k+ lumber/iron/stone
- // guide:Trade
- // guide:TradePolicy
- taxpolicy 0 100
- // bot can use between 0 and 100% tax rate, as needed
- // guide:TaxPolicy
- warehousepolicy 60 20 10 10
- // %food %lumber %stone %iron
- // guide:WarehousePolicy
- //========================================
- // defense & combat goals
- //========================================
- config warrules:0
- // alert my alliance chat to warn members i'm under attack
- // warning, many alliances will not want you to turn this on!
- // guide:WarRules
- config wartown:0
- // wartown:1 stops all automatic troop movements except traininghero, 2 - same but stops traininghero too
- // guide:WarTown
- #wartownpolicy 06:00 12:00
- // used with config wartown:1 or wartown:2 to to put the bot in wartown mode at certain hours
- // guide:WarTownPolicy
- config attackgap:6
- // how many seconds between different attacks before they're evaded seperately by config hiding
- // guide:AttackGap
- config gate:0.2
- gatepolicy 2 0 2 0 0
- // 0.2 min=12s open/close gate time
- // gatepolicy (peace) (atk) (sb) (both) (maint)
- // for each number above, choose either:0= bot decides, 1= open, 2= closed
- // guide:Gate
- // guide:GatePolicy
- defensepolicy /junktroop:500 /usewarhorn:1 /usecorselet:1 /usepenicillin:1
- // change minimum troops for consideration of a "real attack"
- // use coreselet, warhorn, penicillin, truce, speechtext as needed at xx loyalty, 1 = on, 0 = off
- // guide:DefensePolicy
- config embassy:1
- config defensecooldown:30
- // 0 - embassy always closed, 1 - always open, 2 - open for attacks & defense cooldown only
- // how long to still be in "combat mode" for purposes of config embassy:2 to keep embassy open
- // guide:Embassy
- // guide:DefenseCoolDown
- config hiding:0.5
- // how many minutes before an atk lands to send out resources/farm crews and layers for safety
- // guide:Hiding
- #config nohealing:1
- // tell the bot to not heal injured troops in the medic camp
- // guide:NoHealing
- ///=======================================
- /// troop production
- ///=======================================
- config troopqueuetime:1
- // queue 1 hour troop builds
- // guide:TroopQueueTime
- config troopincrement:1
- //queue is ratio based
- // guide:TroopIncrement
- config troopsusereserved:0
- // percentage of resource reserves (1 = 100%, 0.5 = 50%, etc.) to be used for troop production
- // warning this can send you into refuge if you allow full reserved food to be used carelessly!
- // guide:TroopsUseReserved
- config troopsusepopmax:1
- // percentage of idle population (1 = 100%, 0.5 = 50%, etc.) to be used for troop production
- // guide:TroopsUsePopMax
- config troopidlequeuetime:0
- // how long in minutes for best available hero to queue if rax are empty and traininghero not present
- // guide:TroopIdleQueueTime
- config troopdelbadque:1
- // cancel builds que'd with wrong hero to re-queue, 0 = off, 1 = on
- // guide:TroopDelBadQue
- config reservedbarrack:0
- // keep 1 of my highest lvl rax open in case of defense emergency and for instant troop builds
- // guide:ReservedBarrack
- troop /idlequeuetime:2 /usereserved:1 p:1,sw:1,cav:1
- troop /idlequeuetime:2 wo:10,w:10,s:10,p:10,sw:10,a:10,c:10
- troop /idlequeuetime:2 wo:500
- troop wo:1k,w:5k,s:10k,a:20k,sw:1k,p:1k,c:1k,cata:100,b:550,t:1k
- troop wo:5k,w:10k,s:50k,a:100k,sw:5k,p:5k,c:10k,cata:1k,b:5k,t:5k
- troop wo:10k,w:100k,s:100k,a:200k,sw:10k,p:10k,c:50k,cata:5k,b:10k,t:10k
- troop wo:50k,w:150k,s:150k,a:400k,sw:15k,p:15k,c:75k,cata:10k,b:30k,t:30k,r:10
- troop s:500k,a:1m,c:100k,cata:50k,b:50k,t:50k,r:10k,cp:50k
- // build these troops, 1st line 1st, 2nd line next, etc.
- // guide:Troop
- ///=======================================
- /// valley and medal hunting goals
- ///=======================================
- config valleymin:1
- // tell the bot it's ok to go as low as level 1 valleys to fill slots for res production
- // guide:ValleyMin
- config valley:10
- // tell the bot it's ok to go as high as level 10 valleys to fill slots for res production
- // you don't actually need this goal if you have valleymin set above
- // guide:Valley
- valleyheroes !trainingheroname,any:attack>60
- // it's ok to use any hero with 60+ attack - except the traininghero - to acquire or farm a valley
- // guide:ValleyHeroes
- valleytroops 1 a:50
- valleytroops 2 a:100
- valleytroops 3 a:200
- valleytroops 4 a:400,sw:1,p:1,s:1,w:1
- valleytroops 5 a:800,sw:1,p:1,s:1,w:1,c:1
- valleytroops 6 a:1600,sw:1,p:1,s:1,w:1,c:1
- valleytroops 7 a:10000,sw:1,p:1,s:1,w:1,c:1
- valleytroops 8 a:15000,sw:1,p:1,s:1,w:1,c:1
- valleytroops 9 a:20000,sw:1,p:1,s:1,w:1,c:1,b:1
- valleytroops 10 a:30000,sw:1,p:1,s:1,w:1,c:1,b:1
- // valleytroops {valley-level} troop-string
- // guide:ValleyTroops
- #valleylimit a:100k
- // don't attack valleys until we have at least 100k archers in the city
- // guide:ValleyLimit
- #config hunting:10
- // medal hunt on lvl 10 valleys (do not use with safevalleyfarming or config valleyfarming)
- // guide:Hunting
- #huntingpos xxx,yyy
- // used with config hunting only
- // only medal hunt at this location (do not use with huntingtype)
- // guide:HuntingPos
- #huntingtype forest
- // used with config hunting only
- // only medal hunt at forests (do not use with huntingpos)
- // guide:HuntingType
- #safevalleyfarm 8,9,10
- // prescouts valleys of lvl 8, 9, and 10 for no-loss valley farming
- // can not use with config hunting, should not use with config valleyfarming
- // guide:SafeValleyFarm
- #config valleyfarming:10
- #valleyfarming 4 2 4 2 2 4
- // farm level 10 valleys for resources and medals
- // farm valleys of these types for this many miles: {forest} {desert} {hill} {swamp} {grasslands} {lakes}
- // can not use with config hunting, should not use with safevalleyfarming
- // guide:ValleyFarming
- ///=======================================
- /// building goals
- ///=======================================
- // This builds a wood city, adjust to suit your tastes
- build c:2:1
- build f:1:1,s:1:1,i:1:1,q:1:1
- build inn:1
- build r:1,b:1:1
- build s:2:1,wh:1
- build m:1
- build be:1
- build q:2:1,i:3:1
- build w:1
- build t:2
- build a:1
- build t:3
- build e:1
- build f:5:1,st:1
- build c:1:6
- build c:5:6,s:5:40
- build a:3,be:3
- build fh:3,r:3
- build b:4:1
- build w:3
- build a:4,be:4,fh:4,r:4
- build b:5:1
- build t:4,w:4
- build m:3
- build b:9:1
- build rs:1
- build a:5,be:5,fh:5,r:5
- // Careful, this will pull you out of bp.. :)
- build t:5,w:5
- build a:6,be:6,fh:6,r:6
- build b:9:2
- build rs:3
- build t:6,w:6
- build c:6:6,s:6:40
- build rs:5
- build a:7,be:7,fh:7,r:7
- build b:9:3,b:4:14
- build t:7,w:7
- build c:7:6,s:7:40
- build a:8,be:8,fh:8,r:8
- build b:6:14
- build t:8,w:8
- build c:8:6,s:8:40
- build a:9,be:9,fh:9,r:9
- build b:9:14
- build r:10
- build t:9,w:9
- build c:9:6,s:9:40
- build w:10
- build ?met:10,w:10?ws:0:0
- build e:9,m:9
- build fh:10
- build t:10
- build ?wh:1:1?wh:9:1
- build ?ho:7?rs:10
- // remove the st:1 and q:1:1 and q:2:1 lines up near the start or these could stick you in a build/demo loop!
- build ?mas:10,w:10?q:0:0
- build ?ho:10?st:0:0
- // build building_name:level:quanity
- // guide:Build
- ///=======================================
- /// research goals
- ///=======================================
- research ag:2,lu:2,mas:2,mi:2
- research ms:4,lu:4
- research ar:3,lu:5
- research met:5,ar:6,con:5
- research mt:3,in:3,ir:3,com:3
- research lo:4,ms:5
- research ar:7,ho:4,mt:5
- research in:4,ir:4,com:4
- research lo:5
- research ar:8,ho:5,mt:7
- research ho:6
- research ag:4,mas:4,mi:4
- research in:5,ir:5,com:5
- research ag:6,lu:6,mas:6,mi:6
- research lo:6,ms:6,met:6,con:6
- research in:6,ir:6,com:6
- research med:5,en:5,mac:5
- research mt:9,ms:9,met:9,con:9,en:9,med:9
- research ag:9,lu:9,mas:9,mi:9,lo:9
- research mt:10,ir:10,com:10,med:10
- research lo:10,con:10,en:10
- research st:9
- research pr:10
- // beware!!
- // will automatically use mich scripts to upgrade requisite buildings
- // only enable lvl10 research in a npc10 if you don't have scripts to spare
- // guide:Research
- ///=======================================
- /// fortification build sequence
- ///=======================================
- config fortsusereserved:0
- // percentage of resource reserves (1 = 100%, 0.5 = 50%, etc.) to be used for wall builds
- // warning this can send you into refuge if you allow full reserved food to be used carelessly!
- // guide:FortsUseReserved
- config wallqueuetime:0.5
- // queue 30 minute wall builds
- // guide:WallQueueTime
- fortification trap:1,ab:1
- fortification trap:27,ab:9
- fortification trap:30,ab:10,at:1
- fortification trap:45,ab:15,at:2,r:1
- fortification trap:60,ab:20,at:3
- fortification trap:120,ab:40,at:5
- fortification trap:150,ab:50,at:10,tre:1
- fortification trap:300,ab:100,at:50,tre:10
- fortification trap:700,ab:300,at:200,tre:30
- fortification trap:800,ab:800,at:300,tre:40
- fortification trap:1000,ab:1000,at:1000,tre:100
- fortification trap:1200,ab:1600,at:8000,tre:300
- fortification tre:5000
- // guide:Fortification
- ///=======================================
- /// resource & troop transfers
- ///=======================================
- #requestroops xx1,yy1 cav 100 500 10
- #requestroops xx2,yy2 cata 100 500 10
- #requestroops xx3,yy3 pike 100 2000 100
- #requestroops xx4,yy4 sword 100 1000 100
- // {target coords/cityname} {troop type} {min this city} {min target city} {min send amount} {max send amount}
- // can use * to denote 'any amount'
- // guide:RequestTroops
- #sendtroops xx1,yy1 a 15000 -1 10000
- // {target coords/cityname} {troop type} {min this city} {min target city} {min send amount} {max send amount}
- // can use * to denote 'any amount'
- // guide:SendTroops
- #keeptroops xx1,yy1 a:150000,warr:40000 10000
- // {target coords/cityname} {troop string to keep here in this city} {minimum qty to send per trip of everything over min}
- // guide:KeepTroops
- sendresources any food 100k 50k 10k *
- sendresources any wood 100k 50k 10k *
- sendresources any stone 100k 50k 10k *
- sendresources any iron 100k 50k 10k *
- sendresources any gold 100k 50k 10k *
- sendresources any food 100m 50m 10m *
- sendresources any wood 2m 1m 100k *
- sendresources any stone 2m 1m 100k *
- sendresources any iron 2m 1m 100k *
- sendresources any gold 2m 1m 100k *
- //{target coords/city name} {resource type} {min this city} {min target city} {min send amount} {max send amount} {troop to send with}
- // can use * to denote 'any amount'
- // guide:SendResources
- #requestresources xx1,yy1 food 100m 400m 50m
- #requestresources xx2,yy2 gold 4m 10m 1m
- //{target coords/city name} {resource type} {min this city} {min target city} {min send amount} {max send amount} {troop to send with}
- // can use * to denote 'any amount'
- // guide:RequestResources
- #keepresources xx1,yy1 f:1b,w:20m,i:20m,s:1b,g:10m 1m
- // {target coords/city name} {resource string to keep here in this city} {minimum qty to send per trip of everything over min}
- // guide:KeepResource
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement