Military units and structures: Difference between revisions
Jump to navigation
Jump to search
Add template for flagging for updating |
Added space age entities plus some missing entities, removed logistics bots due to them not being a military target and player port due to being removed from the game, and removed cleanup warning. |
||
| Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
Some units and structures are marked as '''Military units''' or '''Military structures''' and are high priority targets for enemy forces. They will be attacked on sight by: | Some units and structures are marked as '''Military units''' or '''Military structures''' and are high priority targets for enemy forces. They will be attacked on sight by: | ||
| Line 9: | Line 8: | ||
There are a few exceptions: | There are a few exceptions: | ||
* [[Artillery turret]]s and [[artillery wagon]]s will not attack units automatically, they only attack structures automatically. | * [[Artillery turret]]s and [[artillery wagon]]s will not attack units automatically, they only attack structures automatically. | ||
* Enemies are not "distracted" by [[ | * Enemies are not "distracted" by [[construction robot]]s and will not enter combat on sight. However, enemies already in combat will target these robots like any other military unit and structure. | ||
* [[Land mine]]s are only targeted by enemies during the first 2 seconds after placement, as they arm and bury in the ground. Also, enemies do not enter combat when triggering and taking damage from a land mine. | * [[Land mine]]s are only targeted by enemies during the first 2 seconds after placement, as they arm and bury in the ground. Also, enemies do not enter combat when triggering and taking damage from a land mine. | ||
| Line 27: | Line 26: | ||
| player | | player | ||
| [https://lua-api.factorio.com/latest/prototypes/CharacterPrototype.html character] | | [https://lua-api.factorio.com/latest/prototypes/CharacterPrototype.html character] | ||
|- | |||
| [[File:Car.png|center|32px]] | |||
| [[Car]] | |||
| player | |||
| [https://lua-api.factorio.com/latest/prototypes/CarPrototype.html car] | |||
|- | |||
| [[File:Tank.png|center|32px]] | |||
| [[Tank]] | |||
| player | |||
| [https://lua-api.factorio.com/latest/prototypes/CarPrototype.html car] | |||
|- | |||
| [[File:Spidertron.png|center|32px]] | |||
| [[Spidertron]] | |||
| player | |||
| [https://lua-api.factorio.com/latest/prototypes/SpiderVehiclePrototype.html spider-vehicle] | |||
|- | |- | ||
| [[File:Defender_capsule.png|center|32px]] | | [[File:Defender_capsule.png|center|32px]] | ||
| [[Defender capsule]] | | [[Defender capsule|Defender]] | ||
| player | | player | ||
| [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | | [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | ||
|- | |- | ||
| [[File:Distractor_capsule.png|center|32px]] | | [[File:Distractor_capsule.png|center|32px]] | ||
| [[Distractor capsule]] | | [[Distractor capsule|Distractor]] | ||
| player | | player | ||
| [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | | [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | ||
|- | |- | ||
| [[File:Destroyer_capsule.png|center|32px]] | | [[File:Destroyer_capsule.png|center|32px]] | ||
| [[Destroyer capsule]] | | [[Destroyer capsule|Destroyer]] | ||
| player | | player | ||
| [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | | [https://lua-api.factorio.com/latest/prototypes/CombatRobotPrototype.html combat-robot] | ||
| Line 47: | Line 61: | ||
| player | | player | ||
| [https://lua-api.factorio.com/latest/prototypes/ConstructionRobotPrototype.html construction-robot] | | [https://lua-api.factorio.com/latest/prototypes/ConstructionRobotPrototype.html construction-robot] | ||
|- | |- | ||
| [[File:Land_mine.png|center|32px]] | | [[File:Land_mine.png|center|32px]] | ||
| Line 88: | Line 97: | ||
| [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | | [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | ||
|- | |- | ||
| [[File:behemoth_biter.png|64px]] | | [[File:behemoth_biter.png|center|64px]] | ||
| [[Enemies#Biters|Behemoth biter]] | | [[Enemies#Biters|Behemoth biter]] | ||
| enemy | | enemy | ||
| Line 97: | Line 106: | ||
| enemy | | enemy | ||
| [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | | [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | ||
|- | |||
| [[File:demolisher_small.png|center|72px]] | |||
| [[Enemies#|Small demolisher]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SegmentedUnitPrototype.html segmented-unit] | |||
|- | |||
| [[File:demolisher_medium.png|center|72px]] | |||
| [[Enemies#|Medium demolisher]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SegmentedUnitPrototype.html segmented-unit] | |||
|- | |||
| [[File:demolisher_big.png|center|72px]] | |||
| [[Enemies#|Big demolisher]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SegmentedUnitPrototype.html segmented-unit] | |||
|- | |||
| [[File:wriggler_small.png|center|72px]] | |||
| [[Enemies#Wrigglers|Small wriggler]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | |||
|- | |||
| [[File:wriggler_medium.png|center|72px]] | |||
| [[Enemies#Wrigglers|Medium wriggler]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | |||
|- | |||
| [[File:wriggler_big.png|center|72px]] | |||
| [[Enemies#Wrigglers|Big wriggler]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | |||
|- | |||
| [[File:wriggler_small.png|center|72px]] | |||
| [[Enemies#Wrigglers|Small premature wriggler]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | |||
|- | |||
| [[File:wriggler_medium.png|center|72px]] | |||
| [[Enemies#Wrigglers|Medium premature wriggler]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | |||
|- | |||
| [[File:wriggler_big.png|center|72px]] | |||
| [[Enemies#Wrigglers|Big premature wriggler]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/UnitPrototype.html unit] | |||
|- | |||
| [[File:strafer_small.png|center|72px]] | |||
| [[Enemies#Strafers|Small strafer]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SpiderUnitPrototype.html spider-unit] | |||
|- | |||
| [[File:strafer_medium.png|center|72px]] | |||
| [[Enemies#Strafers|Medium strafer]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SpiderUnitPrototype.html spider-unit] | |||
|- | |||
| [[File:strafer_big.png|center|72px]] | |||
| [[Enemies#Strafers|Big strafer]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SpiderUnitPrototype.html spider-unit] | |||
|- | |||
| [[File:stomper_small.png|center|72px]] | |||
| [[Enemies#Stompers|Small stomper]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SpiderUnitPrototype.html spider-unit] | |||
|- | |||
| [[File:stomper_medium.png|center|72px]] | |||
| [[Enemies#Stompers|Medium stomper]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SpiderUnitPrototype.html spider-unit] | |||
|- | |||
| [[File:stomper_big.png|center|72px]] | |||
| [[Enemies#Stompers|Big stomper]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/SpiderUnitPrototype.html spider-unit] | |||
|- | |- | ||
|} | |} | ||
| Line 124: | Line 208: | ||
| player | | player | ||
| [https://lua-api.factorio.com/latest/prototypes/ArtilleryTurretPrototype.html artillery-turret] | | [https://lua-api.factorio.com/latest/prototypes/ArtilleryTurretPrototype.html artillery-turret] | ||
|- | |||
| [[File:Rocket_turret.png|center|32px]] | |||
| [[Rocket turret]] | |||
| player | |||
| [https://lua-api.factorio.com/latest/prototypes/AmmoTurretPrototype.html ammo-turret] | |||
|- | |||
| [[File:Tesla_turret.png|center|32px]] | |||
| [[Tesla turret]] | |||
| player | |||
| [https://lua-api.factorio.com/latest/prototypes/ElectricTurretPrototype.html electric-turret] | |||
|- | |||
| [[File:Railgun_turret.png|center|32px]] | |||
| [[Railgun turret]] | |||
| player | |||
| [https://lua-api.factorio.com/latest/prototypes/AmmoTurretPrototype.html ammo-turret] | |||
|- | |- | ||
| [[File:Small_worm.png|center|50px]] | | [[File:Small_worm.png|center|50px]] | ||
| Line 155: | Line 254: | ||
| [https://lua-api.factorio.com/latest/prototypes/EnemySpawnerPrototype.html unit-spawner] | | [https://lua-api.factorio.com/latest/prototypes/EnemySpawnerPrototype.html unit-spawner] | ||
|- | |- | ||
| | | [[File:Egg_raft.png|center|50px]] | ||
| [https://lua-api.factorio.com/latest/prototypes/ | | [[Enemies#Nests|Egg raft]] | ||
| | | enemy | ||
| [https://lua-api.factorio.com/latest/prototypes/ | | [https://lua-api.factorio.com/latest/prototypes/EnemySpawnerPrototype.html unit-spawner] | ||
|- | |||
| [[File:Egg_raft_small.png|center|50px]] | |||
| [[Enemies#Nests|Small egg raft]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/EnemySpawnerPrototype.html unit-spawner] | |||
|- | |- | ||
| | | | ||
Revision as of 15:35, 15 November 2026
Some units and structures are marked as Military units or Military structures and are high priority targets for enemy forces. They will be attacked on sight by:
- Biters, spitters, and worms.
- Turrets, combat robots, and personal laser defense.
- The player, when holding down "shoot enemy" SPACE.
There are a few exceptions:
- Artillery turrets and artillery wagons will not attack units automatically, they only attack structures automatically.
- Enemies are not "distracted" by construction robots and will not enter combat on sight. However, enemies already in combat will target these robots like any other military unit and structure.
- Land mines are only targeted by enemies during the first 2 seconds after placement, as they arm and bury in the ground. Also, enemies do not enter combat when triggering and taking damage from a land mine.
Modding
Military units and structures are identified by a flag on EntityWithOwnerPrototype. This can be changed by modding, except for units and unit spawners. The default military prototypes are listed in the table below.
Military units
| Icon | Name | Default force |
Prototype |
|---|---|---|---|
| Player | player | character | |
| Car | player | car | |
| Tank | player | car | |
| Spidertron | player | spider-vehicle | |
| Defender | player | combat-robot | |
| Distractor | player | combat-robot | |
| Destroyer | player | combat-robot | |
| Construction robot | player | construction-robot | |
| Land mine | player | land-mine | |
| Small biter | enemy | unit | |
| Small spitter | enemy | unit | |
| Medium biter | enemy | unit | |
| Medium spitter | enemy | unit | |
| Big biter | enemy | unit | |
| Big spitter | enemy | unit | |
| Behemoth biter | enemy | unit | |
| Behemoth spitter | enemy | unit | |
| Small demolisher | enemy | segmented-unit | |
| Medium demolisher | enemy | segmented-unit | |
| Big demolisher | enemy | segmented-unit | |
| Small wriggler | enemy | unit | |
| Medium wriggler | enemy | unit | |
| Big wriggler | enemy | unit | |
| Small premature wriggler | enemy | unit | |
| Medium premature wriggler | enemy | unit | |
| Big premature wriggler | enemy | unit | |
| Small strafer | enemy | spider-unit | |
| Medium strafer | enemy | spider-unit | |
| Big strafer | enemy | spider-unit | |
| Small stomper | enemy | spider-unit | |
| Medium stomper | enemy | spider-unit | |
| Big stomper | enemy | spider-unit |
Military structures
| Icon | Name | Default force |
Prototype |
|---|---|---|---|
| Gun turret | player | ammo-turret | |
| Flamethrower turret | player | fluid-turret | |
| Laser turret | player | electric-turret | |
| Artillery turret | player | artillery-turret | |
| Rocket turret | player | ammo-turret | |
| Tesla turret | player | electric-turret | |
| Railgun turret | player | ammo-turret | |
| Small worm | enemy | turret | |
| Medium worm | enemy | turret | |
| Big worm | enemy | turret | |
| Behemoth worm | enemy | turret | |
| Biter spawner | enemy | unit-spawner | |
| Spitter spawner | enemy | unit-spawner | |
| Egg raft | enemy | unit-spawner | |
| Small egg raft | enemy | unit-spawner | |
| SimpleEntityWithForce | simple-entity-with-force |
History
- 0.18.0:
- Construction and logistic robots are no longer prioritized by enemies.











































