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
1 year, 2 months ago
0.13 - 1.1
124K
Enemies

b Crash on startup

2 years ago

I updated Rampant to 3.1.0 and now I'm getting this error on startup:

Failed to load mod "Rampant": Rampant/libs/MathUtils.lua:56: attempt to perform arithmetic on local 'num' (a nil value)
stack traceback:
Rampant/libs/MathUtils.lua:56: in function 'distort'
Rampant/prototypes/SwarmUtils.lua:650: in function 'fillEntityTemplate'
Rampant/prototypes/SwarmUtils.lua:1012: in function 'buildEntitySpawner'
Rampant/prototypes/SwarmUtils.lua:1726: in function 'processFactions'
Rampant/data-final-fixes.lua:24: in main chunk

It happens even when Rampant is the only enabled mod.

Looks like spawningCooldownEnd for hives is missing one value. While I was looking at the arrays I also noticed the unitsToSpawn has a very suspicious 300 at tier 3 when all the other values are 3000.

2 years ago

Should be fixed in the latest

New response