Units
UnitTypes
Unit Types
Terran Ground Units
Terran Air Units
Terran Buildings
-
Units are the BWAPI base class for getting information from in-game Units (movable units (e.g. SCVs, marines), buildings, and resources).
-
The UnitType class is used to get information about a specific Unit type (e.g. velocity, size, damage).
-
UnitCommands are issued to Units via the Unit::IssueCommand function to control the unit.
Each Unit in the game has a UnitType, and a UnitType takes on a value from the UnitTypes enum.
Synopsis: Used to mine minerals (2 per cluster), collect gas, build, repair, scout
primaryPurpose: gatherMinerals(Mineral), gatherGas(Gas), create(Building), repair(Building)
secondaryPurpose: attack(Unit), scout
Synopsis: Basic attack/defense unit. Can be put into bunkers for defense. Attack both air and ground.
primaryPurpose: attack(Enemy), defend(Friendly)
secondaryPurpose: null
Synopsis: Close-range, splash damage unit. Can hurt teammates. Concussive damage: only hurts "Small" units
primaryPurpose: attack(Enemy), defend(Friendly)
secondaryPurpose: null
Synopsis: Useful against small units. Ability lockdown can halt mechanical enemies (e.g. freeze a dropship, siege tank, battlecruiser, or carrier). Can cloak for limited periods to prevent detection.
Used to guide Nukes to "ground zero" (assuming Nuke Silo && Nuke).
primaryPurpose: attack(Enemy), defend(Friendly)
secondaryPurpose: guideNuke(Nuke)
Synopsis: base Factory unit. Only costs minerals. Grenade launcher => good against small units and some medium range. No air attacks. Can lay spider mines. Has 3 mines that can be set anywhere and do 125 splash damage.
primaryPurpose: attack(Enemy)
secondaryPurpose: layMine(Position)
Synopsis: Heavy support (mobile), Artillary (siege). No air attack. Explosive damage.
primaryPurpose: attack(Enemy), siegeAttack(Enemy)
secondaryPurpose: null
Synopsis: Strong against ground and air.
primaryPurpose: attack(Enemy)
secondaryPurpose:
Synopsis: Has 8 slots for carrying units to a strategic location. Marines, Firebats, Medics, Ghosts, and SCVs take up one, Vultures and Goliaths take up two, and Tanks take up four.
primaryPurpose: transport(Set, Position)
secondaryPurpose:
Synopsis: Fast air/ground attack. Cloaks. Used to "pester" enemy forces.
primaryPurpose: attack(Enemy)
secondaryPurpose:
Synopsis: Most powerful air unit. Long cooldown.
primaryPurpose: attack(Enemy)
secondaryPurpose:
Synopsis: "Spell-casting unit". Increase friendly units hp, damage enemy "living" organisms, take away energy from other units/shields.
primaryPurpose: attack(Enemy), defend(Friendly)
secondaryPurpose: detect()
Synopsis: Heals all biological troops for Terran. Casts Heal automatically on nearby units.
primaryPurpose: heal() secondaryPurpose: opticalFlare()
Synopsis: Air-to-air unit with splash damage.
primaryPurpose: attack(Enemy), defend(Friendly) secondaryPurpose: