Military units and structures: Difference between revisions
Jump to navigation
Jump to search
Add template for flagging for updating |
m →Military units: Changed icons of the combat bots from their capsules to the robots themselves |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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 28: | Line 27: | ||
| [https://lua-api.factorio.com/latest/prototypes/CharacterPrototype.html character] | | [https://lua-api.factorio.com/latest/prototypes/CharacterPrototype.html character] | ||
|- | |- | ||
| [[File: | | [[File:Car.png|center|32px]] | ||
| [[Defender capsule]] | | [[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.png|center|32px]] | |||
| [[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: | | [[File:Distractor.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: | | [[File:Destroyer.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] | |||
|- | |||
| [[File:small_metallic_asteroid.png|center|32px]] | |||
| [[Asteroid|Small metallic asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:medium_metallic_asteroid.png|center|32px]] | |||
| [[Asteroid|Medium metallic asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:big_metallic_asteroid.png|center|32px]] | |||
| [[Asteroid|Big metallic asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:huge_metallic_asteroid.png|center|32px]] | |||
| [[Asteroid|Huge metallic asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:small_carbonic_asteroid.png|center|32px]] | |||
| [[Asteroid|Small carbonic asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:medium_carbonic_asteroid.png|center|32px]] | |||
| [[Asteroid|Medium carbonic asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:big_carbonic_asteroid.png|center|32px]] | |||
| [[Asteroid|Big carbonic asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:huge_carbonic_asteroid.png|center|32px]] | |||
| [[Asteroid|Huge carbonic asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:small_oxide_asteroid.png|center|32px]] | |||
| [[Asteroid|Small oxide asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:medium_oxide_asteroid.png|center|32px]] | |||
| [[Asteroid|Medium oxide asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:big_oxide_asteroid.png|center|32px]] | |||
| [[Asteroid|Big oxide asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:huge_oxide_asteroid.png|center|32px]] | |||
| [[Asteroid|Huge oxide asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:small_promethium_asteroid.png|center|32px]] | |||
| [[Asteroid|Small promethium asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:medium_promethium_asteroid.png|center|32px]] | |||
| [[Asteroid|Medium promethium asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:big_promethium_asteroid.png|center|32px]] | |||
| [[Asteroid|Big promethium asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |||
| [[File:huge_promethium_asteroid.png|center|32px]] | |||
| [[Asteroid|Huge promethium asteroid]] | |||
| enemy | |||
| [https://lua-api.factorio.com/latest/prototypes/AsteroidPrototype.html asteroid] | |||
|- | |- | ||
|} | |} | ||
| Line 124: | Line 288: | ||
| 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 334: | ||
| [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] | |||
|- | |- | ||
| | | | ||
Latest revision as of 17:30, 16 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
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.



























































