Military units and structures: Difference between revisions
Jump to navigation
Jump to search
(Clarified exceptions, icon sizes) |
(1.1.51: Prototype/EntityWithOwner added) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
* [[Enemies#Biters|Biters]], [[Enemies#Spitters|spitters]], and [[Enemies#Worms|worms]]. | * [[Enemies#Biters|Biters]], [[Enemies#Spitters|spitters]], and [[Enemies#Worms|worms]]. | ||
* [[Gun_turret|Turrets]], [[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" (spacebar). | ||
Line 14: | Line 14: | ||
== Modding == | == Modding == | ||
Military units and structures are identified by a | Military units and structures are identified by [[Prototype/EntityWithOwner#is_military_target|a flag]] on [[Prototype/EntityWithOwner]]. 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 units == | ||
Line 21: | Line 21: | ||
! Icon !! Name !! Default<br>force !! Prototype | ! Icon !! Name !! Default<br>force !! Prototype | ||
|- | |- | ||
| [[File:Player.png|center]] | | [[File:Player.png|center|32px]] | ||
| [[Player]] | | [[Player]] | ||
| player | | player | ||
Line 55: | Line 55: | ||
| player | | player | ||
| [[Prototype/LandMine|land-mine]] | | [[Prototype/LandMine|land-mine]] | ||
|- | |- | ||
| [[File:small_biter.png|center|64px]] | | [[File:small_biter.png|center|64px]] | ||
Line 98: | Line 93: | ||
| [[File:behemoth_spitter.png|center|72px]] | | [[File:behemoth_spitter.png|center|72px]] | ||
| [[Enemies#Spitters|Behemoth spitter]] | | [[Enemies#Spitters|Behemoth spitter]] | ||
| enemy | |||
| [[Prototype/Unit|unit]] | |||
|- | |||
| [[File:Compilatron.png|center|32px]] | |||
| Compilatron | |||
| enemy | | enemy | ||
| [[Prototype/Unit|unit]] | | [[Prototype/Unit|unit]] | ||
Line 120: | Line 120: | ||
| [[Laser turret]] | | [[Laser turret]] | ||
| player | | player | ||
| [[Prototype/ElectricTurret|electric-turret | | [[Prototype/ElectricTurret|electric-turret]] | ||
|- | |- | ||
| [[File:Artillery_turret.png|center|32px]] | | [[File:Artillery_turret.png|center|32px]] | ||
Line 155: | Line 155: | ||
| [[Enemies#Nests|Biter spawner]] | | [[Enemies#Nests|Biter spawner]] | ||
| enemy | | enemy | ||
| [[Prototype/EnemySpawner| | | [[Prototype/EnemySpawner|unit-spawner]] | ||
|- | |- | ||
| [[File:Spitter_nest.png|center|50px]] | | [[File:Spitter_nest.png|center|50px]] | ||
| [[Enemies#Nests|Spitter spawner]] | | [[Enemies#Nests|Spitter spawner]] | ||
| enemy | | enemy | ||
| [[Prototype/EnemySpawner| | | [[Prototype/EnemySpawner|unit-spawner]] | ||
|- | |- | ||
| | | |
Latest revision as of 19:25, 21 January 2022
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" (spacebar).
There are a few exceptions:
- Artillery turrets and Artillery wagons will not attack units automatically, they only attack structures automatically.
- Biters and spitters do not prioritize construction robots or logistic robots over other targets.
Modding
Military units and structures are identified by a flag on Prototype/EntityWithOwner. 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 | |
Radar | player | radar | |
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 |