Attack

**Attack** is one of the main gamemodes in Mindustry, and the more common of the two on Erekir. Maps can be played with this gamemode if there is a non-player Core, where the objective is to take down all enemy Cores while protecting your own. A careful balance of offensive and defensive procedures is vital to success.

In the campaign, launching into a sector with an enemy base will initiate an Attack game. The sector is captured once all enemy Cores are eliminated.

## Gameplay

At the start of an attack map, the player is greeted with resources, Core, and any of the map's starting blocks. However, the area outside will often be filled with defenses belonging to the enemy team, which must be destroyed to progress up to the enemy Core. These defenses can be taken down, either through outranging with turrets such as Ripple or by using units. Units are available once Silicon is produced and can be commanded via command mode to move and attack, letting you damage the enemy base.

In enemy base sectors, waves spawn from each enemy Core active on the map. Upon all enemy Cores' demise, the remaining blocks belonging to the enemy turn into Derelict blocks, with some randomly being destroyed. The sector no longer becomes an enemy base and if it is lost in future waves, it turns into a survival sector. If the player fails to destroy all Cores and loses their own, the enemy base fully regenerates and re-builds any lost blocks, including Cores. Guardian enemies can also be avoided completely if the base is destroyed fast enough. Other units can be produced by enemy bases with unit production of their own, which is the way that bases on Erekir put pressure on the player.

## Campaign Attack Sectors

### Serpulo

* Salt Flats
* Overgrowth
* Fungal Pass
* Extraction Outpost
* Planetary Launch Terminal

### Erekir

* The Onset
* Aegis
* Lake
* Intersect
* Atlas
* Split
* Basin
* Marsh
* Peaks
* Caldera
* Stronghold
* Siege
* Crossroads
* Origin

## Strategies

When producing a unit, it will not move without being commanded. To make a bigger army to attack with you can command your unit spawners to automatically command their units to a certain location, or Logic Processors to automate units for specific attacking tasks.

### Serpulo

* You can control groups of air or boosted units to selectively target vulnerable parts of the enemy base, such as flying Nova to an unguarded Core.
* It is not viable to chip away at the enemy base with a Core ship as its building damage is only 1% of its usual damage.
* Certain units are very strong in Attack maps:
	+ Fortress, Corvus, and Omura have massive ranges needed to safely snipe dangerous turrets.
	+ Horizons and Quads inflict very high damage onto builds and are fast.
	+ Toxopid and Oct can help manage counterattack waves. Oct is also very durable and can cover against Foreshadows.
* Packing flammable and explosive items, such as Blast Compound into the inventories of your units increases their death explosion damage. This is the best way to make use of Flares and Zeniths.
* The Ripple allows you to safely take out any dangerous defense without retaliation, as long as they do not have Foreshadows or Segments. Turret projectiles often extend slightly outside their detection range, so try to operate a turret manually or use a logic schematic to make all of their fire with you. Pyratite ammo knocks out conveyor supply lines, especially if there are flammables there - launch plenty so you can burn enemy defenses down. Many Ripples on focus fire can also overwhelm Segments.

### Erekir

A vast majority of the sectors you can access in Erekir host an enemy base. The fog of war conceals the enemy base and must be uncovered with non-Core units, turrets, or Radars. The enemy uses a feature known as "RTS AI" that allows them to attack in groups and send units on defense, as well as rebuild destroyed blocks. Enemy bases consist of multiple Cores, which cover a Core Zone that Cores can be built on. Logic is off-limits and turrets have significantly reduced building damage. World Processors are used to make the maps more dynamic. The starting loadout is fixed for each map and no Erekir variant of the Launch Pad exists. Enemy units generally come from unit production buildings. Starting from Stronghold, enemy production escalates on a timer, requiring the improvement of defenses. It is recommended that you do the following:

* Neutralize enemy spawners by attacking their respective base **before** the production escalation of the unit begins.
* Ship units are recommended for attacking vulnerable parts of enemy defenses and scouting.
* If the enemy has turrets such as Afflict, Titan, or Scathe, spread your units out to minimize the splash damage.
* Tanks except for the Locus are generally outclassed by other units of their tier. However, their high health allows them to deal with defenses that would otherwise counter ships and mechs.
* Units such as the Anthicus and the Quell utilize missile units, which turrets can shoot down to detonate them early. In large numbers, they can negate enemy fire. Quell in particular has a low cost compared to other T4 units and is flying, allowing large amounts to fly behind enemy walls where they will be greeted by mostly Disperse.
	+ However, the Disperse has the fire rate to shoot down many missiles. You can distract using your Core unit and a payload, or attack the Disperse from two directions.
* The Core unit has a 2x2 payload capacity, but can only hold blocks. This allows you to drop a Reinforced Liquid Container with Ozone into defenses, or drop walls in to drain ammo. The enemy Core no-build radius will stop this from happening inside of a base, however.
* Despite the reduced building damage, using turrets to snipe enemy turrets can still be effective against a defense without too many Regen Projectors and/or Shockwave Towers, although it is far slower than attacking with units.
* Build more Cores to increase your unit cap, and to prevent the enemy from rebuilding there. However, you will need an adequate defense for your new Core as to not allow enemy units to retake the Core Zone.
* Knocking out blocks feeding the enemy turrets will help, but watch out for any Build Towers, as they will not hesitate to put those blocks back.
	+ When on attack using flying units, prioritize any vulnerable Tungsten-carrying blocks, to disable Disperses.
	+ Arkycite supply lines are also important targets, as every power generator besides the Turbine Condenser needs Arkycite in some form.

## Other Game Modes

* Survival
* Sandbox
* PvP