// Experimenting with stock aip
// from scioninst3.aip
// Dll spawns 8 fbspirz @ spire1-8
// Dll spawns 4 fvturr  @ hold1-4 
// Dll spawns 5 jmine   @ j1-5

// 03:04am 4 March 2001 -Mopar- 

// Scout, sentry archer rush strategy

[Start]
scrapCount = 80 // was 40
scavClass = "fvscav"
consClass = "fvcons"

// all I have for sure are sentries and archers
[IdleDispatcher]
ScavIdleSeconds = 25
UnitIdleSeconds = 120
MinAttackForce = 3 // min # of idle units before dispatch
MaxAttackForce = 5
MinMissionSeconds = 600 // give the player 10 minutes before idle units are sent

[Match]
targetType1= "ivscout"
attackType1_1 = "fvsent"
attackType1_2 = "fvsent"

targetType2= "ivtank"
attackType2_1 = "fvarch"
attackType2_2 = "fvarch"

targetType3 = "ivatank"
attackType3_1 = "fvsent"
attackType3_2 = "fvsent"
attackType3_3 = "fvsent"

targetType4 = "ivmisl"
attackType4_1 = "fvsent"

targetType5 = "ivmbike"
attackType5_1 = "fvarch"

targetType6 = "ivrckt"
attackType6_1 = "fvsent"
attackType6_2 = "fvsent"
attackType6_3 = "fvsent"

targetType7 = "ivturr"
attackType7_1 = "fvarch"
attackType7_1 = "fvarch"
attackType7_1 = "fvarch"

targetType8 = "ivtank"
attackType8_1 = "fvarch"

targetType9 = "ivtank"
attackType9_1 = "fvsent"
attackType9_2 = "fvsent"

targetType10 = "ivmbike"
attackType10_1 = "fvsent"

targetType11 = "ivrckt"
attackType11_1 = "fvwalk"
attackType11_2 = "fvwalk"
attackType11_3 = "fvwalk"

targetType12 = "ivrckt"
attackType12_1 = "fvsent"
attackType12_2 = "fvsent"
attackType12_3 = "fvsent" 

[Plan1]
planType = "CollectField"
planPriority = 500
buildIfNoIdle = 1

[Plan2]
planType = "CollectPool"
planPriority = 490
buildIfNoIdle = 1

[Plan3]
planType = "CollectPool"
planPriority = 480
maxTries = 4
buildIfNoIdle = 1

[Plan4]
planType = "CollectField"
planPriority = 470
maxTries = 3
buildIfNoIdle=1 
// I seem to have plenty mucking about

[Plan5]
planType = "DefendArea"
planPriority = 460
targetType = "fbscav"
ContinueEvenIfFail = true

[Plan6]
planType = "Hold"
planPriority = 450
holdType1 = "fvturr"
holdCount1 = 1
holdPoint = "hold3"
buildIfNoIdle = 1

[Plan7]
planType = "Hold"
planPriority = 440
holdType1 = "fvturr"
holdCount1 = 1
holdPoint = "hold4"
buildIfNoIdle = 1

[Plan8]
planCondition="NotExists"
planConditionClass="fbkiln"
planConditionCount=1
planType = "Attacker"
planPriority = 430
targetType = "ivcons"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
buildIfNoIdle=1 

[Plan9]
planType = "BuildMinimums"
planPriority = 420
buildType1 = "fvcons"
buildCount1 = 1

[Plan10]
planCondition="NotExists"
planConditionClass="fbforg"
planConditionCount=1
planType = "BaseBuildMinimums"
planPriority = 410
buildType1= "fbkiln"
buildCount1=1

[Plan11]
planType = "BuildMinimums"
planPriority = 400
buildType1 = "fvsent"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan12]
planType = "Attacker"
planPriority = 390
maxAttacks = 3
targetType = "ivturr"
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"

// here is the rush

[Plan13]
planCondition="NotHisExists"
planConditionClass="ibgtow"
planConditionCount=1
planType = "Attacker"
maxAttacks = 5
targetType = "ivcons"
planPriority = 380
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"

[Plan14]
planType = "BuildMinimums"
planPriority = 370
buildType1 = "fvsent"
buildCount1 = 6
ContinueEvenIfFail = true

[Plan15]
planCondition="NotHisExists"
planConditionClass="ibgtow"
planConditionCount=1
planType = "Attacker"
maxAttacks = 2
targetType = "ibrecy"
planPriority = 360
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"
attackType4 = "fvsent"
attackType5 = "fvsent"

[Plan16]
planType = "Attacker"
planPriority = 350
maxAttacks = 3
targetType = "ibscav"
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"
attackType4 = "fvsent"

[Plan17]
planType = "CollectPool"
planPriority = 340
defendType1 = "fvsent"
defendCount1 = 2
buildIfNoIdle = 1

[Plan18]
planType = "Attacker"
planPriority = 330
targetType = "ibrecy"
attackType1 = "fvscout"
attackType2 = "fvscout"
attackType3 = "fvscout"
buildIfNoIdle = 1

[Plan19]
planType = "Attacker"
planPriority = 320
maxAttacks = 3
targetType = "ibscup"
attackType1 = "fvsent"
attackType2 = "fvsent"
attackType3 = "fvsent"
ContinueEvenIfFail = true

[Plan20]
planType = "CollectPool"
planPriority = 310
maxTries = 2
buildIfNoIdle = 1

[Plan21]
planCondition="NotExists"
planConditionClass="fbover"
planConditionCount=1
planType = "BaseBuildMinimums"
planPriority = 300
buildType1= "fbantm"
buildCount1=1
buildType2= "fbdowe"
buildCount2=1
buildType3= "fbstro"
buildCount3=1

[Plan22]
planType = "BuildMinimums"
planPriority = 300
buildType1 = "fvarch"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan23]
planCondition="NotExists"
planConditionClass="fbforg"
planConditionCount=1
planType = "Upgrade"
planPriority = 290
unitType = "fbkiln"
ContinueEvenIfFail = true

[Plan24]
planCondition="NotExists"
planConditionClass="fbover"
planConditionCount=1
planType = "Upgrade"
planPriority = 280
unitType = "fbantm"

[Plan25]
planType = "BuildMinimums"
planPriority = 270
buildType1 = "fvartl"
buildCount1 = 3
ContinueEvenIfFail = true

[Plan26]
planType = "DefendArea"
planPriority = 260
targetType = "fvartl"
doNextonFail=1

[Plan27]
planType = "Attacker"
planPriority = 250
targetType = "ivatank"
attackType1 = "fvartl"
attackType2 = "fvartl"
attackType3 = "fvartl"
ContinueEvenIfFail = true
buildIfNoIdle=1

[Plan28]
planType = "Attacker"
planPriority = 240
targetType = "ibpgen"
attackType1 = "fvartl"
attackType2 = "fvartl"
attackType3 = "fvartl"
doNextonFail=1
buildIfNoIdle= 1

[Plan29]
planType = "Attacker"
planPriority =230
targetType = "ivcons"
attackType1 = "fvarch"
attackType2 = "fvarch"
attackType3 = "fvarch"
attackType4 = "fvsent"
attackType5 = "fvsent"
attackType6 = "fvsent"

[Plan30]
planType = "Attacker"
planPriority= 220
targetType = "ibscav"
attackType1 = "fvarch"
attackType2 = "fvarch"
attackType3 = "fvarch"
attackType4 = "fvsent"
attackType5 = "fvsent"
attackType6 = "fvsent"

[Plan31]
planType = "Attacker"
planPriority= 210
targetType = "ibrecy"
attackType1 = "fvarch"
attackType2 = "fvarch"
attackType3 = "fvarch"
attackType4 = "fvsent"
attackType5 = "fvsent"
attackType6 = "fvsent"

[Plan32]
planType = "Attacker"
planPriority = 200
targetType = "ibfact"
attackType1 = "fvwalk"
attackType2 = "fvwalk"
attackType3 = "fvwalk"
buildIfNoIdle = 1

[Plan33]
planType = "DistributeUnits"
planPriority = 10 