public override void InitializeTasks() { base.InitializeTasks(); QueenInjectTask.Enable(); QueenDefenseTask.Enable(); DefenseTask.Enable(); TimingAttackTask.Enable(); SafeZerglingsFromReapersTask.Enable(); }
public override void InitializeTasks() { base.InitializeTasks(); TimingAttackTask.Enable(); WorkerScoutTask.Enable(); QueenInjectTask.Enable(); QueenDefenseTask.Enable(); ArmyOverseerTask.Enable(); QueenTumorTask.Enable(); DefenseTask.Enable(); }
public override void InitializeTasks() { base.InitializeTasks(); TimingAttackTask.Enable(); WorkerScoutTask.Enable(); QueenInjectTask.Enable(); QueenDefenseTask.Enable(); ArmyOverseerTask.Enable(); QueenTumorTask.Enable(); DefenseTask.Enable(); DefenseSquadTask.Enable(true, UnitTypes.HYDRALISK); }
public override void InitializeTasks() { base.InitializeTasks(); TimingAttackTask.Enable(); WorkerScoutTask.Enable(); QueenInjectTask.Enable(); QueenDefenseTask.Enable(); ArmyOverseerTask.Enable(); QueenTumorTask.Enable(); DefenseTask.Enable(); WorkerRushDefenseTask.Enable(); OverlordSuicideTask.Enable(); SafeZerglingsFromReapersTask.Enable(); BaseLocation enemyNatural = Tyr.Bot.MapAnalyzer.GetEnemyNatural(); if (enemyNatural != null) { Base enemyNaturalBase = null; foreach (Base b in Tyr.Bot.BaseManager.Bases) { if (SC2Util.DistanceSq(b.BaseLocation.Pos, enemyNatural.Pos) <= 2 * 2) { enemyNaturalBase = b; break; } } DefendEnemyNaturalTask = new DefenseSquadTask(enemyNaturalBase, UnitTypes.ZERGLING); DefendEnemyNaturalTask.MaxDefenders = 100; DefendEnemyNaturalTask.AlwaysNeeded = true; DefendEnemyNaturalTask.DraftFromFarAway = true; DefendEnemyNaturalTask.DefendRange = 12; DefendEnemyNaturalTask.RetreatMoveCommand = true; PotentialHelper potential = new PotentialHelper(enemyNatural.Pos); potential.Magnitude = 10; potential.From(Tyr.Bot.MapAnalyzer.GetEnemyRamp()); DefendEnemyNaturalTask.OverrideIdleLocation = potential.Get(); potential = new PotentialHelper(enemyNatural.Pos); potential.Magnitude = 5; potential.From(Tyr.Bot.MapAnalyzer.GetEnemyRamp()); DefendEnemyNaturalTask.OverrideDefenseLocation = potential.Get(); DefenseSquadTask.Enable(DefendEnemyNaturalTask); } }
public override void InitializeTasks() { base.InitializeTasks(); GroupedAttackTask.Enable(); WorkerScoutTask.Enable(); QueenInjectTask.Enable(); DefenseTask.Enable(); QueenDefenseTask.Enable(); ArmyOverseerTask.Enable(); DefendingOverseerTask.Enable(); QueenTumorTask.Enable(); OverlordScoutTask.Enable(); CreeperLordTask.Enable(); OverlordAtNaturalTask.Enable(); ParasitedBCTask.Enable(); DefenseSquadTask.Enable(false, UnitTypes.QUEEN); MechDestroyExpandsTask.Enable(); }
public override void OnStart(Tyr tyr) { MicroControllers.Add(new StutterController()); MicroControllers.Add(new TargetFireController(GetPriorities())); TimingAttackTask.Enable(); WorkerScoutTask.Enable(); QueenInjectTask.Enable(); DefenseTask.Enable(); QueenDefenseTask.Enable(); ArmyOverseerTask.Enable(); Set += ZergBuildUtil.Overlords(); Set += Spores(); Set += Zerglings(); Set += Ultras(); Set += MainBuild(); Set += AntiLifting(); }