Shared charts and radar behaviors

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
RedRafe
Inserter
Inserter
Posts: 33
Joined: Thu Nov 11, 2021 12:21 pm
Contact:

Shared charts and radar behaviors

Post by RedRafe »

Hello, I have a few questions about shared charts and built-in radar behaviors in 2.0.

My issue is: when dealing with multiple forces, that have LuaForce::share_chart set to true, some entities share their charting area, while others dont. Here's my tests.

Case A: same force.

- These entities WILL chart their area: Player, Character, Spidertron, Radar, Roboport, Cargo landing pad

Case B: different forces
..with friendly relation, and share_charts = true

- These entities WILL chart their area: Player, Spidertron
- These entities WILL NOT chart their area: Character, Radar, Roboport, Cargo landing pad

So my question is, is this intentional? Has it to do with the built-ins radar range? I would expect Radar, Roboport, and Cargo landing pads to share their chartings as well to other forces when share charts is enabled.

Ty for your support
RedRafe
Inserter
Inserter
Posts: 33
Joined: Thu Nov 11, 2021 12:21 pm
Contact:

Re: Shared charts and radar behaviors

Post by RedRafe »

I'm attaching a save of Factorio v2.0.35 with the test example of this, as well as a screenshot: https://imgur.com/a/pQaTfqd
Attachments
forces_radars.zip
(601.27 KiB) Downloaded 27 times
RedRafe
Inserter
Inserter
Posts: 33
Joined: Thu Nov 11, 2021 12:21 pm
Contact:

Re: Shared charts and radar behaviors

Post by RedRafe »

Forwarding a reply by Rseding just FYI on this topic: the engine skips charting if a force has no players, which explains why on my single player tests all those entities didnt chart any:
The chunks are still marked as to-be-charted but the actual chart is not scanned if there are no players on the force.
Post Reply

Return to “Gameplay Help”