Using 2.1.14 game version I see the "reactor-connect-patches.png" or heat pipe original sprite overlap don't properly applied to nuclear reactor. Seems it render after "reactor-pipes.png" layer.
I'm not sure is it bug, or just design.
In game rendering -
My own test -
[2.1.14] Strange order of drawing heat pipe connection patches sprite
Re: [2.1.14] Strange order of drawing heat pipe connection patches sprite
Thanks for the report however I'm not sure what I'm looking at or what's not rendering how you think it should be rendering.
Do you have an example mod, and could you point me at exactly what's not rendering right?
Do you have an example mod, and could you point me at exactly what's not rendering right?
If you want to get ahold of me I'm almost always on Discord.
Re: [2.1.14] Strange order of drawing heat pipe connection patches sprite
There is in base game "nuclear-reactor" entity with different spritesheets parts (layers maybe) like "lower_layer_picture", "connection_patches_connected":
The entity code with layer definitions:
Visually I expect to see connection_patches_disconnected/connection_patches_connected layern to be under lower_layer_picture.
The game current render sequence:
What I expect to see:
Sorry, I don't have idea how to write visual mod to show the difference. Only can show via graphical editor (manually combines layers).
The entity code with layer definitions:
Code: Select all
lower_layer_picture =
{
filename = "__base__/graphics/entity/nuclear-reactor/reactor-pipes.png",
...
},
heat_lower_layer_picture = apply_heat_pipe_glow
{
filename = "__base__/graphics/entity/nuclear-reactor/reactor-pipes-heated.png",
...
},
picture =
{
layers =
{
{
filename = "__base__/graphics/entity/nuclear-reactor/reactor.png",
...
},
{
filename = "__base__/graphics/entity/nuclear-reactor/reactor-shadow.png",
...
}
}
},
working_light_picture =
{
...
},
heat_picture = apply_heat_pipe_glow
{
...
},
connection_patches_connected =
{
sheet =
{
filename = "__base__/graphics/entity/nuclear-reactor/reactor-connect-patches.png",
...
}
},
connection_patches_disconnected =
{
sheet =
{
filename = "__base__/graphics/entity/nuclear-reactor/reactor-connect-patches.png",
...
}
},
heat_connection_patches_connected =
{
sheet = apply_heat_pipe_glow
{
filename = "__base__/graphics/entity/nuclear-reactor/reactor-connect-patches-heated.png",
...
}
},
heat_connection_patches_disconnected =
{
sheet = apply_heat_pipe_glow
{
filename = "__base__/graphics/entity/nuclear-reactor/reactor-connect-patches-heated.png",
...
}
},
The game current render sequence:
What I expect to see:
Sorry, I don't have idea how to write visual mod to show the difference. Only can show via graphical editor (manually combines layers).
- Attachments
-
- 08-22-2026, 13-00-28.png (257.84 KiB) Viewed 309 times

