So I created a smaller solar panel but used the base file picture and changed how big it was.
picture =
{
filename = "__base__/graphics/icons/solar-panel.png",
width = 71,
height = 66
},
My problem is that it is directly in the middle of 4 tiles and I want to move it so that it's only in one tile, I didn't copy the solar panel using deep copy and it's all written out. What would I do to make it only be taking up one tile and also what would I do to make it so that the error message only goes on that one tile? (Right now the error message saying it's not hooked up is on all 4 tiles and idk if fixing the other problem will fix this one too)
A few specific problems
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: A few specific problems
a) You should add scale = 0.33 to the picture instaed of changing width/height, that way you don't cut the picture in the middle.
b) For placement just edit the collision_box and selection_box, look at smaller entities like the steel-chest if you don't know the proper values.
b) For placement just edit the collision_box and selection_box, look at smaller entities like the steel-chest if you don't know the proper values.