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
7 months ago
0.13 - 1.1
113K
Enemies

g Access overdamage and distant attacks resistance values via API

2 months ago

Hello. How can I get overdamage and distant attacks resistance values in console/api? What are the names of these properties?

2 months ago

There are definitely no such resistances in this mod. That's why you see only standard resistances in biters stats

2 months ago

There are definitely no such resistances in this mod. That's why you see only standard resistances in biters stats

Any way to access them in Rampant fixed then?)

2 months ago
(updated 2 months ago)

There they are shown along with other resistances. The first number is the limit of damage or distance, the second is the percentage of damage reduction
The damage reduction percentage can be changed in the mod settings

2 months ago

There they are shown along with other resistances. The first number is the limit of damage or distance, the second is the percentage of damage reduction
The damage reduction percentage can be changed in the mod settings

I mean is there any way to get them via API (like the default .resistances property)?

2 months ago

Yes exactly. Together with other resistances these are also read
If you need an example then:

for resistance, values in pairs(entity.prototype.resistances) do
if resistance == "rampant-longRangeImmunity" then
elseif resistance == "rampant-overdamageProtection" then
end
end

2 months ago

Yes exactly. Together with other resistances these are also read
If you need an example then:

for resistance, values in pairs(entity.prototype.resistances) do
if resistance == "rampant-longRangeImmunity" then
elseif resistance == "rampant-overdamageProtection" then
end
end

That helps, thank you!

New response