Solar Array Wings


Solar Array Wings for your space stations! Save on foundations, and use S.A.W.s for your Nauvis Science factory today! (Delicate when hit by asteroids, we take no liability to placement choices by user)

Content
2 months ago
2.0
1.98K
Power

b Weird Shadow

a month ago
(updated a month ago)

Hello!

I've noticed there is a strange shadow under the solar array;
https://drive.google.com/file/d/1pjK7wExqgMWoQh1sAaqcwubpVCGLC-5I/view?usp=sharing

Also, really like the mod :)

a month ago

wish the picture had loaded, any other ways I can see it?

This is likely a my fault thing in that I forgot to ensure the shadow didn't exist or something...

a month ago

I've un-embedded the link, so you can click the link :) It looks to me like it is a solar panel shadow that is being displayed.

a month ago
(updated a month ago)

I've looked at the code, and I think I see the issue.
When looking at the game's data.raw file, the solar panel has this property set:

overlay = {layers = {
{filename = "__base__/graphics/entity/solar-panel/solar-panel-shadow-overlay.png",
height = 180,priority = "high",scale = 0.5,shift = {0.328125,0.1875},width = 214
}}},

And as 'overlay' is optional, I think if you add 'panel.overlay = nil' to your create_directional_panel(cdir) function, it should just work :)

a month ago

Haha yeap, that sounds about right, I'll do an update, thanks =)

New response