In other languages: Čeština Deutsch Español Français 日本語 Nederlands Polski Русский Українська 简体中文

Enemies: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(→‎Evolution: commented on EF behavior near value of 1; moved note on spawn interval to top of section; noted /evolution doesn't disable achievements)
(gave non-achievement disabling behaviour of command less importance in the text, removed assumption about evo factor in long games)
Line 207: Line 207:
[[File:Evolution Spitters.png|thumb|right|400px|Spawn chances of spitters from spitter spawners by evolution factor.]]
[[File:Evolution Spitters.png|thumb|right|400px|Spawn chances of spitters from spitter spawners by evolution factor.]]
[[File:Evolution Weights.png|thumb|right|400px|Weight graph of both spawners by evolution factor. The values shown are primarily for indicating when certain types start and stop spawning, for actual chances refer to the tables or other charts.]]
[[File:Evolution Weights.png|thumb|right|400px|Weight graph of both spawners by evolution factor. The values shown are primarily for indicating when certain types start and stop spawning, for actual chances refer to the tables or other charts.]]
The evolution factor is a global variable that determines what kind of biters will be spawned. You can check the variable in the dev console via the following command:
The evolution factor is a global variable that determines what kind of biters will be spawned. You can check the variable in the dev console via the following command (does not disable achievements):


   /evolution
   /evolution
Note that using this command does '''not''' disable achievements. (Generally, only commands prefixed with <code>c.</code> disable achievements.)


The evolution factor goes from 0 (not evolved at all) to 1 (maximal evolution). At the moment the evolution factor can only increase.
The evolution factor goes from 0 (not evolved at all) to 1 (maximal evolution). At the moment the evolution factor can only increase.


Besides choosing what kind of biter will be spawned the evolution factor also influences the spawning interval. This interval (<code>spawning_cooldown</code> in the <code>enemy-spawner</code> definition) is interpolated between 360 (0 evolution) and 150 (1 evolution) game ticks (= 6 to 2.5 seconds).
Besides choosing what kind of biter will be spawned, the evolution factor also influences the spawning interval. This interval (<code>spawning_cooldown</code> in the <code>enemy-spawner</code> definition) is interpolated between 360 (0 evolution) and 150 (1 evolution) game ticks (= 6 to 2.5 seconds).


=== Methods of increasing ===
=== Methods of increasing ===
Line 246: Line 244:
The percentages are applied on the base of <code>1 - current_evolution_factor</code>. So for instance destroying enemy spawners in the beginning of the game results in increase of evolution factor by 0.005 (half a percent) while doing this when the evolution factor is 0.5 the increase is only 0.0025 (quarter a percent).
The percentages are applied on the base of <code>1 - current_evolution_factor</code>. So for instance destroying enemy spawners in the beginning of the game results in increase of evolution factor by 0.005 (half a percent) while doing this when the evolution factor is 0.5 the increase is only 0.0025 (quarter a percent).


This also means that the evolution factor approaches 1 asymptotically - generally, increases past 0.9 or so are ''very'' slow and the number never actually reaches 1.0. However, values around 0.99 are perfectly possible in long games (assuming default settings for the governing parameters), especially if the player expands or pollutes a lot. At such values, enemy spawning behavior is effectively the same as it would be at a factor of 1.0.
This also means that the evolution factor approaches 1 asymptotically - generally, increases past 0.9 or so are ''very'' slow and the number never actually reaches 1.0.


=== Spawn chances by evolution factor ===
=== Spawn chances by evolution factor ===

Revision as of 19:38, 28 August 2018

Enemies (also commonly called biters) are creatures that want to harm the player. They are the native inhabitants of the extraterrestrial world in the form of arthropods living in organic nests, coexisting with each other peacefully. They are encountered in three species: Biters, Spitters and Worms. The species are further distinguished in four (or three in case of Worms) stages of growth and thus strength.

Achievements

Enemies are directly connected to the following achievements:

It-stinks-and-they-dont-like-it-achievement.png It stinks and they don't like it

Trigger an alien attack by pollution.

Steamrolled-achievement.png Steamrolled

Destroy 10 spawners by impact.

Creatures

Biters

Biters are one of two main antagonists in the game. They come in four sizes: small, medium, big and behemoth. In the beginning of a game, there will only be the small ones. With increasing pollution, they will become bigger, related to the enemy's evolution. As common sense may suggest, their method of attack is a straightforward charge to "bite" things.

Picture Name Info
File:SmallBiter-anim.gif Small Biter Weakest of biters, can be easily killed with a pistol.
  • Health: 15
  • Damage: 7
  • Attack Speed: 1.7 /s
  • Damage Type: Physical
  • Range: 0.5
File:MediumBiter-anim.gif Medium Biter Stronger and slower than the small biter. Can pose a problem for and even kill weaker players.
  • Health: 75
  • Damage: 15
  • Attack Speed: 1.7 /s
  • Damage Type: Physical
  • Range: 1.0

Resistances:

  • Explosion: 0/10%
  • Physical: 4/10%
File:BigBiter-anim.gif Big Biter Dangerous, resistant to small arms. Can attack through walls, hitting objects directly behind them.
  • Health: 375
  • Damage: 30
  • Attack Speed: 1.7 /s
  • Damage Type: Physical
  • Range: 1.5

Resistances:

  • Explosion: 0/10%
  • Physical: 8/10%
File:BehemothBiter-anim.gif Behemoth Biter Extremely durable and nearly immune to small arms, except for the strongest ordnance. Can attack through walls, hitting objects directly behind them.
  • Health: 3000
  • Damage: 90
  • Attack Speed: 1.2 /s
  • Damage Type: Physical
  • Range: 1.5

Resistances:

  • Explosion: 12/10%
  • Physical: 12/10%

Spitters

Spitters are much like Biters and only appear slightly later on in the game as the evolution factor increases. Their main difference from Biters is their ranged attack. The attack is unavoidable and always hits the intended target. It is also acid-based, and because most entities of the game have a much lower resistance to acid than other damage types (including turrets and armor), Spitters are effectively more potent against the player and his factories. Their behaviour and size classification are the same as with Biters, but their health is universally lower and they are resistant exclusively against explosives, with no physical resistance.

Picture Name Info
File:SmallSpitter.png Small Spitter Weakest of spitters. Easy to kill with any weapon, but attacks at range.
  • Health: 10
  • Damage: 10
  • Attack Speed: 0.46 /s
  • Damage Type: Acid
  • Range: 13
File:MediumSpitter.jpg Medium Spitter Stronger and slower than the smaller version. Can pose a problem for and even kill weaker players.
  • Health: 50
  • Damage: 20
  • Attack Speed: 0.46 /s
  • Damage Type: Acid
  • Range: 14

Resistances:

  • Explosion: 0/10%
File:BigSpitter.png Big Spitter An even bulkier spitter and so can take more damage.
  • Health: 200
  • Damage: 30
  • Attack Speed: 0.46 /s
  • Damage Type: Acid
  • Range: 15

Resistances:

  • Explosion: 0/15%
File:BehemothSpitter.jpg Behemoth Spitter The bulkiest of the spitters and so can take even more damage.
  • Health: 1500
  • Damage: 50
  • Attack Speed: 0.46 /s
  • Damage Type: Acid
  • Range: 16

Resistances:

  • Explosion: 0/30%

Worms

The Worms are natural allies of Biters and Spitters and will attack the player if they get close enough with an attack similar to Spitters'. They act like static turrets and will not follow attackers. They rely on high damage and great range to keep the player away from the Worms and the nests they protect, but either one of these advantages can be overcome. Unlike other enemies, they are also highly resistant to fire.

Worms come in 3 sizes, their power increasing with size. Unlike Biters and Spitters, Big and Medium Worms are not influenced by the evolution factor, they can spawn at any size right from the beginning. They are not restricted to spawning close to nests, either. The number and size of Worms spawning is instead influenced by the distance from the player's initial spawn point. The further away the player goes from the starting area, the more numerous and stronger the Worms become.

Picture Name Description
File:SmallWorm.png Small Worm A weak worm. It is still capable of killing the player unless it is targeted as priority.
  • Health: 200
  • Damage: 25
  • Attack Speed: 0.91 /s
  • Damage Type: Acid
  • Range: 21
File:MediumWorm.png Medium Worm Medium worms are dangerous to even more advanced players. They should be handled with care.
  • Health: 400
  • Damage: 40
  • Attack Speed: 0.65 /s
  • Damage Type: Acid
  • Range: 25

Resistances:

  • Explosion: 5/15%
  • Physical: 5/0%
  • Fire: 2/50%
File:BigWorm.png Big Worm Big worms are not as much more dangerous as resilient. They are almost immune to common gunfire of any sort.
  • Health: 750
  • Damage: 50
  • Attack Speed: 0.65 /s
  • Damage Type: Acid
  • Range: 26

Resistances:

  • Explosion: 10/30%
  • Physical: 10/0%
  • Fire: 3/70%
Picture Name
Worm.gif Worm's animation

Nests

The spawn points of Biters and Spitters. While nests themselves are generally defenseless, the enemies they release over time effectively serve as a form of guards to distract the player and any nearby turrets, and are often accompanied by Worms. Nests exposed to pollution will use it to evolve the enemies they spawn, which may also result in an attack.

The Nests are highly resistant to fire and otherwise generally more resilient than a Medium Worm.

Picture Name
File:Biternest-anim.gif Biter's Nest
  • Health: 350

Resistances:

  • Explosion: 5/15%
  • Physical: 2/15%
  • Fire: 3/60%
File:Spitternest.gif Spitter's Nest
  • Health: 350

Resistances:

  • Explosion: 5/15%
  • Physical: 2/15%
  • Fire: 3/60%

Expansions

Every 4-60 minutes, a group of 5-20 biters will leave their base to create a new base. This group will search for a suitable spot that's 3-7 chunks away from existing bases. Once they have found a suitable spot, the group dies and forms a new base. This new base will at first be very small (about one nest and a few worms), but will grow as time passes.

Defense

Biters will only aggressively engage the player's factory if the pollution cloud of the factory reaches a nest. The Nests consume pollution to develop the biters and produce additional ones before sending them to destroy the nearest source of pollution that they consume. The biters then proceed to their target over the shortest path possible, accounting for terrain, but not for player entities that could pose an obstacle (like walls).

If there is a clear path somewhere around those obstacles, the biters will attempt to go around. If there is no clear passage or a clear passage would mean deviating too far from the original course, the biters will attack whatever is in their way to go through. This can be exploited to an extent; creating mazes at regular intervals along a barrier can direct the biters through a gauntlet not dissimilar to Tower Defense.

However, if a biter comes in proximity of the player, turrets or radars, it will prioritize these and attempt to immediately attack them instead, again trying to reach the new target over the shortest possible path with no too great detours, if possible.

Evolution

Spawn chances of biters from biter spawners by evolution factor.
Spawn chances of spitters from spitter spawners by evolution factor.
Weight graph of both spawners by evolution factor. The values shown are primarily for indicating when certain types start and stop spawning, for actual chances refer to the tables or other charts.

The evolution factor is a global variable that determines what kind of biters will be spawned. You can check the variable in the dev console via the following command (does not disable achievements):

 /evolution

The evolution factor goes from 0 (not evolved at all) to 1 (maximal evolution). At the moment the evolution factor can only increase.

Besides choosing what kind of biter will be spawned, the evolution factor also influences the spawning interval. This interval (spawning_cooldown in the enemy-spawner definition) is interpolated between 360 (0 evolution) and 150 (1 evolution) game ticks (= 6 to 2.5 seconds).

Methods of increasing

The evolution factor is increased by three kinds of events:

  • The passage of time very slightly increases the evolution factor.
  • The global pollution production increases the evolution factor.
  • Destroying nests significantly increases the evolution factor.

All these values are set in game.map_settings.enemy_evolution. From there they can be changed or modded.

The default settings are:

Source per Variable in enemy_evolution Percent increase
Second time_factor 0.0004%
1000 Pollution Units pollution_factor 0.0015%
Destroyed enemy spawner destroy_factor 0.2%

Pollution production is the total pollution produced by buildings per tick, not the pollution spreading on the map, so it is not reduced by trees or other absorbers. e.g. : 15 burner mining drills produce 150 pollution per second, raising the evolution factor by 0.00000225 per tick.

The percentages are applied on the base of 1 - current_evolution_factor. So for instance destroying enemy spawners in the beginning of the game results in increase of evolution factor by 0.005 (half a percent) while doing this when the evolution factor is 0.5 the increase is only 0.0025 (quarter a percent).

This also means that the evolution factor approaches 1 asymptotically - generally, increases past 0.9 or so are very slow and the number never actually reaches 1.0.

Spawn chances by evolution factor

The probability charts show the chances of each type of biter/spitter for each spawner at all evolution levels.

History

  • 0.15.0:
    • Increased the damage, range, and health of worms.
    • Decreased health and resist of Behemoth biters.
  • 0.13.10:
    • Biters and other units won't become aggressive as a result of friendly-fire.
  • 0.13.0:
    • Big and behemoth enemies now spawn 50% slower.
  • 0.12.26:
    • Running biters over with a vehicle will now anger them in peaceful mode.
  • 0.12.0:
    • Updated sounds for enemies.
  • 0.11.17:
    • Items dropped by enemies(*) are now collected automatically and from longer distances.
  • 0.11.6:
    • Range of spitters is now 15, less than turrets.
  • 0.11.0:
    • Spitters added.
    • Drawing of enemies optimised, so adding new colors does not impact VRAM.
    • Blood splashes on death are now procedural.
  • 0.9.0:
    • Turrets no longer search for enemies when none are near.
    • Biters can no longer destroy the shipwreck in the 3rd new hope campaign.
  • 0.8.1:
    • Further improvement to enemy AI.
  • 0.7.2:
    • Biter AI improved.
  • 0.7.1:
    • Peaceful mode added for freeplay.
  • 0.7.0:
    • Enemy creepers were replaced by small, medium and big biters.
    • Enemy turrets were replaced by small, medium and big shooting worms.
    • Enemies move and attack in groups.
    • Enemies wander around their base when they have nothing to do.
    • Enemies call for help when attacked.
    • Enemies can create new bases.
    • Enemies can now destroy all player creations they find.
  • 0.1.0:
    • Introduced, called 'creepers'

See also