In other languages: Deutsch 日本語 Українська 简体中文

Military units and structures: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Updated links to point to new prototype docs
radar is no longer marked as military target
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
* [[Enemies#Biters|Biters]], [[Enemies#Spitters|spitters]], and [[Enemies#Worms|worms]].
* [[Enemies#Biters|Biters]], [[Enemies#Spitters|spitters]], and [[Enemies#Worms|worms]].
* [[Gun_turret|Turrets]], [[Combat_robot_capsules|combat robots]], and [[personal laser defense]].
* [[Gun_turret|Turrets]], [[Combat_robot_capsules|combat robots]], and [[personal laser defense]].
* The [[player]], when holding down "shoot enemy" (spacebar).
* The [[player]], when holding down "shoot enemy" {{Keybinding|space}}.


There are a few exceptions:
There are a few exceptions:
Line 126: Line 126:
| 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:Radar.png|center|32px]]
| [[Radar]]
| player
| [https://lua-api.factorio.com/latest/prototypes/RadarPrototype.html radar]
|-
|-
| [[File:Small_worm.png|center|50px]]
| [[File:Small_worm.png|center|50px]]

Latest revision as of 12:01, 5 February 2025

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:

There are a few exceptions:


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
Defender capsule player combat-robot
Distractor capsule player combat-robot
Destroyer capsule player combat-robot
Construction robot player construction-robot
Logistic robot player logistic-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
Compilatron enemy 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
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
Player port player-port
SimpleEntityWithForce simple-entity-with-force