[0.17.17] selection_box on biters corpses is wrong
Posted: Sun Mar 24, 2019 4:11 pm
Hi,
while modding I came across this issue, the selection_box of the biters-corpses are not set correctly.
lovely_santa
EDIT: I temporary overwrite the selection box from the base game, these values for the selection_box are working for me:
EDIT2: The spitters are all wrong as well
while modding I came across this issue, the selection_box of the biters-corpses are not set correctly.
- For the demo biter (small-biter-corpse) the selection box is too high up, shifting it down by 0.37 fixes this as shown in the picture.
- For the full game biters (medium, big and behemoth-biter-corpse) the selection_box is too small, in fact, they are all set to the same value, and also needs some sort of shift correction.
lovely_santa
EDIT: I temporary overwrite the selection box from the base game, these values for the selection_box are working for me:
EDIT2: The spitters are all wrong as well
Code: Select all
local new_selection_box = {
["small-biter" ] = {{-0.80, -0.43}, {0.80, 1.17}},
["medium-biter" ] = {{-1.10, -0.65}, {1.10, 1.55}},
["big-biter" ] = {{-1.50, -0.80}, {1.50, 2.20}},
["behemoth-biter" ] = {{-1.88, -1.00}, {1.88, 2.75}},
["small-spitter" ] = {{-0.80, -0.90}, {0.80, 0.70}},
["medium-spitter" ] = {{-1.10, -1.25}, {1.10, 0.95}},
["big-spitter" ] = {{-1.50, -1.80}, {1.50, 1.20}},
["behemoth-spitter"] = {{-1.88, -2.13}, {1.88, 1.63}},
}