data.raw["unit-spawner"]["biter-spawner"].result_units = (function()
local res = {}
res[1] = {"behemoth-biter", {{0.85, 0.0}, {0.90, 0.1}, {1.0, 0.25}}} end
return res
end)()
and i know what i should put it in data-final-fixes.lua
but code is incorrect + i want to change this parameters for all 8 types of enemies (4 biters 4 spitters)
I am illiterate, my abilities is very basic, all i want is shift appearance of tier3 from 0.5 to 0.6 evo and behemoths from 0.9 to 0.85 evo + remore tier2 aliens from spawn table after ~0.9
what should i do with all this stuff what you suggest, i am not even able to scroll base tables in your post because i too dumb.
Actually, moderator move my post from mod suggestion topic to mod help, i am just realise it...
I am illiterate, my abilities is very basic, all i want is shift appearance of tier3 from 0.5 to 0.6 evo and behemoths from 0.9 to 0.85 evo + remore tier2 aliens from spawn table after ~0.9
The code that you need:
2019-06-03T17_49_56-Window.png (26.38 KiB) Viewed 1740 times
It's not easy to use it as list.
The same can be get as table with
biter_spawner_result_units = {
{"small-biter", {{0, 0.3}, {0.6, 0}}},
{"medium-biter", {{0.2, 0}, {0.6, 0.3}, {0.7, 0.1}, {0.9, 0}}}, -- by 90% evolution will be 0% chance of medium biter spawning
{"big-biter", {{0.6, 0}, {1, 0.4}}}, -- first argument is now 0.6
{"behemoth-biter", {{0.85, 0}, {1, 0.3}}} -- first argument is now 0.85
}
data.raw["unit-spawner"]["biter-spawner"].result_units = biter_spawner_result_units
Just set this code to data.lua and it's ready.
2019-06-03T18_12_35-Window.png (7.89 KiB) Viewed 1732 times
2019-06-03T18_09_34-Window.png (6.82 KiB) Viewed 1733 times