[2.0.58] Beacon radius visualisation displays incorrectly when supply_area_distance is 0

This subforum contains all the issues which we already resolved.
Osmo
Long Handed Inserter
Long Handed Inserter
Posts: 86
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

[2.0.58] Beacon radius visualisation displays incorrectly when supply_area_distance is 0

Post by Osmo »

I have a a mod with a beacon defined like this:

Code: Select all

data:extend{{
    type = 'beacon',
    name = 'beacon2',

    selection_priority = 80,
    selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
    collision_box = {{-0.4, -0.4}, {0.4, 0.4}},
    collision_mask = {layers = {}},
    supply_area_distance = 0,
    
    module_slots = 1,
    allowed_effects = {'productivity'},
    distribution_effectivity = 1,
    energy_source = { type = 'void' },
    energy_usage = '1W',
    
    radius_visualisation_picture = {
        filename = '__base__/graphics/entity/beacon/beacon-radius-visualization.png',
        priority = 'extra-high-no-scale',
        width = 10,
        height = 10
    },
}}
Beacon supply radius is defined as distance from collision box
When supply_area_distance is 1, the visualisation (yellow rectangle) looks correctly.
изображение.png
изображение.png (232.3 KiB) Viewed 379 times
When supply_area_distance is 0, the visualisation is not visible
изображение.png
изображение.png (240.09 KiB) Viewed 379 times
Yet the actual area of effect transmission is the same size as the collision box, and machines are affected by the beacon correctly
изображение.png
изображение.png (378.22 KiB) Viewed 379 times
Attachments
factorio-current.log
(7.33 KiB) Downloaded 5 times
Genhis
Factorio Staff
Factorio Staff
Posts: 852
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [2.0.58] Beacon radius visualisation displays incorrectly when supply_area_distance is 0

Post by Genhis »

Thanks for the report, this is not a bug.
Genhis
Factorio Staff
Factorio Staff
Posts: 852
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [2.0.58] Beacon radius visualisation displays incorrectly when supply_area_distance is 0

Post by Genhis »

Apparently it is a bug, it used to work 6 years ago. Fixed for 2.0.59.
Post Reply

Return to “Resolved Problems and Bugs”