[2.0.72] Beam "random_end_animation_rotation" is treated as always true
Posted: Sun Nov 30, 2025 11:09 pm
Noticed this shortly after 2.0 launched, but after a year of poking around and waiting, the problem has sadly failed to fix itself.
It's possible that I failed to find the right flag or setting to fix this, but I'm utterly at a loss, so the boolean "random_end_animation_rotation" is my best guess for the problem.
Attached minimum reproduction mods and saves for pre-and-post factorio 2.0 to showcase behavior.
Expected, pre-2.0 behavior: The beam ending is aligned with the orientation of the entity that has created the beam when random_end_animation_rotation is false (see orange arrow in below screenshot), and aligned randomly when it is true (green arrow below).
The graphics for the beam are defined in TestTurretBeam.ground_light_animations.ending, and are shaped as arrows in the attached mod
Buggy, post-2.0 behavior: The beam ending is seemingly randomly-oriented every time the beam is created, regardless of how random_end_animation_rotation is set or the orientation of the originating-entity.
The graphics for the beam are now defined in TestTurretBeam.graphics_set.ground.ending
This is causing an ugly effect for my mod SearchlightAssault, where the spot light it casts no longer matches the turret (it looks especially bad in motion):
It's possible that I failed to find the right flag or setting to fix this, but I'm utterly at a loss, so the boolean "random_end_animation_rotation" is my best guess for the problem.
Attached minimum reproduction mods and saves for pre-and-post factorio 2.0 to showcase behavior.
Expected, pre-2.0 behavior: The beam ending is aligned with the orientation of the entity that has created the beam when random_end_animation_rotation is false (see orange arrow in below screenshot), and aligned randomly when it is true (green arrow below).
The graphics for the beam are defined in TestTurretBeam.ground_light_animations.ending, and are shaped as arrows in the attached mod
Buggy, post-2.0 behavior: The beam ending is seemingly randomly-oriented every time the beam is created, regardless of how random_end_animation_rotation is set or the orientation of the originating-entity.
The graphics for the beam are now defined in TestTurretBeam.graphics_set.ground.ending
This is causing an ugly effect for my mod SearchlightAssault, where the spot light it casts no longer matches the turret (it looks especially bad in motion):