Rampant

by Veden

Improves the enemies tactics by using potential fields (pheromones) allowing probing of defenses, retreats, reinforcements, counterattacking, breaching, raids, rallying death cry, and player hunting. Uses blockable biter projectiles. Adds new Enemies which can be disabled in mod settings. Difficulty setting in mod options menu.

Content
6 months ago
0.13 - 1.1
112K
Enemies

b Worm awareness range isn't increased

1 year, 9 months ago
(updated 1 year, 9 months ago)

When setting up Modifier: Worm Range Scaler to 1.2 (example for real hardcore, but with 1.1 it still misbehaves), then worms start to shoot without preparation range unfolding and without warning roar, because range becomes bigger than preparationRange.

can be fixed adding a line in SwarmUtils.lua
entity["range"] = entity["range"] * settings.startup["rampant--unitWormRangeScaler"].value
entity["prepareRange"] = entity["prepareRange"] * settings.startup["rampant--unitWormRangeScaler"].value


There is also a problem that autoplaced worms have nil prepareRange which is replaced by 30. Increasing this default value to 60 for tier-10 endgame leads to weird situation in early game. I set 40, but that won't help when exploring and conquering new terra after evo exceeds 85%.
Requires some code refactoring in enemies template and so on.


And there is an issue in factorio engine, that if prepareRange minus Range is more than 2..3 tiles then in some situation it leads to magic increasing of Range by 1 more tile (unfolded worm has a larger size -> increases range by 1 tile?) - another wontfix in factorio forums I'm afraid...
As workaround prepareRange should never be more than 3 tiles bigger, than Range. I changed constants a little to reduce 5-tiles difference.
Yes, I know it's a minor problem, especially in mid and late game.

1 year, 4 months ago

This should be fixed in the next update.

New response