Military units and structures: Difference between revisions
Jump to navigation
Jump to search
(→Modding: Clarified prototype flags) |
(1.1.51: Prototype/EntityWithOwner added) |
||
(21 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Languages}} | {{Languages}} | ||
Some units and | 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: | ||
* [[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). | ||
There are a few exceptions: | |||
* [[Artillery turret]] | * [[Artillery turret]]s and [[Artillery wagon]]s will not attack units automatically, they only attack structures automatically. | ||
* [[ | * Biters and spitters do ''not'' prioritize [[construction robot]]s or [[logistic robot]]s over other targets. | ||
__TOC__ | |||
== Modding == | == Modding == | ||
Military units and | 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 == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Icon !! Name !! Default<br>force !! Prototype | ||
|- | |- | ||
| [[File:Player.png|center]] | | [[File:Player.png|center|32px]] | ||
| Player | | [[Player]] | ||
| [[Prototype/Character| | | player | ||
| [[Prototype/Character|character]] | |||
|- | |- | ||
| [[File:Defender_capsule.png|center]] | | [[File:Defender_capsule.png|center|32px]] | ||
| Defender capsule | | [[Defender capsule]] | ||
| [[Prototype/ | | player | ||
| [[Prototype/CombatRobot|combat-robot]] | |||
|- | |- | ||
| [[File:Distractor_capsule.png|center]] | | [[File:Distractor_capsule.png|center|32px]] | ||
| Distractor capsule | | [[Distractor capsule]] | ||
| [[Prototype/ | | player | ||
| [[Prototype/CombatRobot|combat-robot]] | |||
|- | |- | ||
| [[File:Destroyer_capsule.png|center]] | | [[File:Destroyer_capsule.png|center|32px]] | ||
| Destroyer capsule | | [[Destroyer capsule]] | ||
| [[Prototype/ | | player | ||
| [[Prototype/CombatRobot|combat-robot]] | |||
|- | |- | ||
| [[File:Construction_robot.png|center]] | | [[File:Construction_robot.png|center|32px]] | ||
| Construction robot | | [[Construction robot]] | ||
| [[Prototype/ | | player | ||
| [[Prototype/ConstructionRobot|construction-robot]] | |||
|- | |- | ||
| [[File:Logistic_robot.png|center]] | | [[File:Logistic_robot.png|center|32px]] | ||
| Logistic robot | | [[Logistic robot]] | ||
| [[Prototype/ | | player | ||
| [[Prototype/LogisticRobot|logistic-robot]] | |||
|- | |- | ||
| [[File:Land_mine.png|center]] | | [[File:Land_mine.png|center|32px]] | ||
| Land mine | | [[Land mine]] | ||
| [[Prototype/LandMine| | | player | ||
| [[Prototype/LandMine|land-mine]] | |||
|- | |- | ||
| [[File:small_biter.png|center|64px]] | | [[File:small_biter.png|center|64px]] | ||
| Small biter | | [[Enemies#Biters|Small biter]] | ||
| [[Prototype/Unit| | | enemy | ||
| [[Prototype/Unit|unit]] | |||
|- | |- | ||
| [[File:small_spitter.png|center|72px]] | | [[File:small_spitter.png|center|72px]] | ||
| Small spitter | | [[Enemies#Spitters|Small spitter]] | ||
| [[Prototype/Unit| | | enemy | ||
| [[Prototype/Unit|unit]] | |||
|- | |- | ||
| [[File:medium_biter.png|center|64px]] | | [[File:medium_biter.png|center|64px]] | ||
| Medium biter | | [[Enemies#Biters|Medium biter]] | ||
| [[Prototype/Unit| | | enemy | ||
| [[Prototype/Unit|unit]] | |||
|- | |- | ||
| [[File:medium_spitter.png|center|72px]] | | [[File:medium_spitter.png|center|72px]] | ||
| Medium spitter | | [[Enemies#Spitters|Medium spitter]] | ||
| [[Prototype/Unit| | | enemy | ||
| [[Prototype/Unit|unit]] | |||
|- | |- | ||
| [[File:big_biter.png|center|64px]] | | [[File:big_biter.png|center|64px]] | ||
| Big | | [[Enemies#Biters|Big biter]] | ||
| [[Prototype/Unit| | | enemy | ||
| [[Prototype/Unit|unit]] | |||
|- | |- | ||
| [[File:big_spitter.png|center|72px]] | | [[File:big_spitter.png|center|72px]] | ||
| Big spitter | | [[Enemies#Spitters|Big spitter]] | ||
| [[Prototype/Unit| | | enemy | ||
| [[Prototype/Unit|unit]] | |||
|- | |- | ||
| [[File:behemoth_biter.png|64px]] | | [[File:behemoth_biter.png|64px]] | ||
| Behemoth biter | | [[Enemies#Biters|Behemoth biter]] | ||
| [[Prototype/Unit| | | enemy | ||
| [[Prototype/Unit|unit]] | |||
|- | |- | ||
| [[File:behemoth_spitter.png|center|72px]] | | [[File:behemoth_spitter.png|center|72px]] | ||
| Behemoth spitter | | [[Enemies#Spitters|Behemoth spitter]] | ||
| [[Prototype/Unit|Unit]] | | enemy | ||
| [[Prototype/Unit|unit]] | |||
|- | |||
| [[File:Compilatron.png|center|32px]] | |||
| Compilatron | |||
| enemy | |||
| [[Prototype/Unit|unit]] | |||
|} | |} | ||
== Military | == Military structures == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! | ! Icon !! Name !! Default<br>force !! Prototype | ||
|- | |||
| [[File:Gun_turret.png|center|32px]] | |||
| [[Gun turret]] | |||
| player | |||
| [[Prototype/AmmoTurret|ammo-turret]] | |||
|- | |||
| [[File:Flamethrower_turret.png|center|32px]] | |||
| [[Flamethrower turret]] | |||
| player | |||
| [[Prototype/FluidTurret|fluid-turret]] | |||
|- | |||
| [[File:Laser_turret.png|center|32px]] | |||
| [[Laser turret]] | |||
| player | |||
| [[Prototype/ElectricTurret|electric-turret]] | |||
|- | |||
| [[File:Artillery_turret.png|center|32px]] | |||
| [[Artillery turret]] | |||
| player | |||
| [[Prototype/ArtilleryTurret|artillery-turret]] | |||
|- | |- | ||
| [[File: | | [[File:Radar.png|center|32px]] | ||
| | | [[Radar]] | ||
| [[Prototype/ | | player | ||
| [[Prototype/Radar|radar]] | |||
|- | |- | ||
| [[File: | | [[File:Small_worm.png|center|50px]] | ||
| | | [[Enemies#Worms|Small worm]] | ||
| [[Prototype/Turret| | | enemy | ||
| [[Prototype/Turret|turret]] | |||
|- | |- | ||
| [[File: | | [[File:Medium_worm.png|center|50px]] | ||
| | | [[Enemies#Worms|Medium worm]] | ||
| [[Prototype/Turret| | | enemy | ||
| [[Prototype/Turret|turret]] | |||
|- | |- | ||
| [[File: | | [[File:Big_worm.png|center|50px]] | ||
| | | [[Enemies#Worms|Big worm]] | ||
| [[Prototype/ | | enemy | ||
| [[Prototype/Turret|turret]] | |||
|- | |- | ||
| [[File: | | [[File:Behemoth_worm.png|center|50px]] | ||
| | | [[Enemies#Worms|Behemoth worm]] | ||
| [[Prototype/ | | enemy | ||
| [[Prototype/Turret|turret]] | |||
|- | |- | ||
| [[File:Biter_nest.png|center|50px]] | | [[File:Biter_nest.png|center|50px]] | ||
| Biter spawner | | [[Enemies#Nests|Biter spawner]] | ||
| [[Prototype/EnemySpawner| | | enemy | ||
| [[Prototype/EnemySpawner|unit-spawner]] | |||
|- | |- | ||
| [[File:Spitter_nest.png|center|50px]] | | [[File:Spitter_nest.png|center|50px]] | ||
| Spitter spawner | | [[Enemies#Nests|Spitter spawner]] | ||
| [[Prototype/EnemySpawner| | | enemy | ||
| [[Prototype/EnemySpawner|unit-spawner]] | |||
|- | |- | ||
| | | | ||
| Player port | | [[Prototype/PlayerPort|Player port]] | ||
| [[Prototype/PlayerPort| | | | ||
| [[Prototype/PlayerPort|player-port]] | |||
|- | |- | ||
| | | | ||
| [[Prototype/SimpleEntityWithForce|SimpleEntityWithForce]] | | [[Prototype/SimpleEntityWithForce|SimpleEntityWithForce]] | ||
| | |||
| [[Prototype/SimpleEntityWithForce|simple-entity-with-force]] | |||
|} | |} |
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 |