;;Script team 3 : Machine3 hellfire (north) : Team 3 ;;C.Holtorf StartState t3load ;;initialize for play State t3load { AIFunction Defensive Build Archers HF Exact loading 10 10 .5 TriggerProcessor GoNamedState GroupsWatchingEnemy Archers FoundEnemyFunction RepelAttack WaypointPath Archers defensivet3 loop } ;;gather State rally { AIFunction Defensive TriggerProcessor GoNamedState Build Archers HF Exact defense 10 10 .5 GroupsWatchingEnemy Archers GroupsHelpingRepelEnemy none FoundEnemyFunction RepelAttack WaypointPath Archers defensivet3 loop } ;;gather near home, if they are still around, one group may go to fountain State help { AIFunction Defensive TriggerProcessor GoNamedState Build Archers HF Exact loading 10 10 .5 GroupsWatchingEnemy Archers GroupsHelpingRepelEnemy none FoundEnemyFunction RepelAttack WaypointPath Archers help loop WaypointPath hellfire defensivet3 noloop WaypointPath hellfire2 fountain noloop } ;; Fountain Defense/takeback routine State fount { AIFunction Defensive TriggerProcessor GoNamedState Build Archers HF Exact fount2 9 9 .5 GroupsWatchingEnemy Archers GroupsHelpingRepelEnemy Archers FoundEnemyFunction RepelAttack WaypointPath Archers fountain noloop WaypointPath hellfire defensivet3 noloop WaypointPath hellfire2 fountain noloop } ;; spawned group will go to the fountain, rest go home State attack1 { AIFunction Defensive TriggerProcessor GoNamedState Build Archers HF Exact defense 10 10 .5 GroupsWatchingEnemy Archers GroupsHelpingRepelEnemy Archers FoundEnemyFunction RepelAttack WaypointPath Archers fountain noloop WaypointPath hellfire help noloop WaypointPath hellfire2 defensivet3 noloop } ;; defend state (triggered by the collision) State encroach { AIFunction Defensive TriggerProcessor GoNamedState GroupsWatchingEnemy Archers hellfire hellfire2 GroupsHelpingRepelEnemy Archers hellfire hellfire2 FoundEnemyFunction RepelAttack WaypointPath Archers defensivet3 noloop WaypointPath hellfire defensivet3 noloop WaypointPath hellfire2 help noloop } Buildlist loading { Archer Archer Archer Lumberjack Lumberjack Hunter } Buildlist fount { Speed Archer Archer Hunter Lumberjack Lumberjack Bombardier Inventor } Buildlist fount2 { Lumberjack Bombardier Lumberjack Hunter Bombardier Hunter Damage } Buildlist defense { Speed Hunter Bombardier Lumberjack Lumberjack Bombardier Hunter } ;;rally at the fountain Path fountain { -225.093857 37.647003 199.807129 -209.011917 35.573284 168.061325 -194.130875 35.419403 132.381332 -192.708282 36.018124 111.671585 -206.954269 35.292103 116.436684 } ;;back up toward the north HF base Path defensivet3 { -235.933426 39.101692 220.625641 } ;;helpful (heads down toward neighbor base) Path help { -255.632355 36.776234 192.851273 -268.812897 36.590614 142.762680 -249.592773 36.369137 117.733742 -206.607697 35.251759 112.290627 -221.326706 36.145119 68.881210 -226.134720 38.551678 39.601994 }