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, 1 month ago
0.13 - 1.1
123K
Enemies

g Error while running event Rampant::on_entity_died (ID 4)

1 year, 1 month ago

Мод Rampant (3.3.3) вызвал неустранимую ошибку.
Пожалуйста, сообщите об этой ошибке автору мода.

Error while running event Rampant::on_entity_died (ID 4)
Attack target has no health.
stack traceback:
[C]: in function 'set_multi_command'
Rampant/libs/Squad.lua:931: in function 'retreatUnits'
Rampant/control.lua:519: in function <Rampant/control.lua:422>

1 year, 1 month ago
(updated 1 year, 1 month ago)

what causes this? I dont understand the code in the link at all...

1 year, 1 month ago
(updated 1 year, 1 month ago)

When bitters were attacking, sometimes a smoke exists, smoke doesn't have health, so It throws the error.

The code checks if there's health, a requisite to send commands to AI, so it can attack, flee, etc

1 year, 1 month ago

Weird, how do I put that code into rampant?

1 year, 1 month ago

I'm trying to merge the fix in the mod..
It's being reviewed.

You may follow the link
https://github.com/veden/Rampant/pull/178/files#diff-12b76a5b1d63b6a1a18620c4fd67f98aa90ae107b0265c6f772614b87b540af0R494

-Open your mod folder
-extract your current rampant zip.
-Delete the zip
- open control.lua and write the fix in the link above,

That should fix for you

1 year, 1 month ago

Thanks!

New response