Page 1 of 1

A few specific problems

Posted: Sat Feb 10, 2018 12:00 am
by qqwg123
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)

Re: A few specific problems

Posted: Sat Feb 10, 2018 3:22 pm
by eradicator
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.