[0.17.17] selection_box on biters corpses is wrong

Things that we don't consider worth fixing at this moment.
Post Reply
User avatar
lovely_santa
Filter Inserter
Filter Inserter
Posts: 502
Joined: Sat Feb 18, 2017 9:41 pm
Contact:

[0.17.17] selection_box on biters corpses is wrong

Post by lovely_santa »

Hi,

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.
Naamloos.png
Naamloos.png (1.91 MiB) Viewed 842 times
Kind regards
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}},
}
You can find all my mods on the mod portal. Also helping on Arch666Angel's mods.
Image

Bilka
Factorio Staff
Factorio Staff
Posts: 3133
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.17] selection_box on biters corpses is wrong

Post by Bilka »

The corpses have many different variations with very different dimensions. Considering that the only time a player will ever select a corpse is in the map editor, I don't consider it worth our time to try to find a selection box with fits all variations.

Just for the laughs, here is a very extreme example of the different dimension:
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Won't fix.”