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
Shared charts and radar behaviors
Re: Shared charts and radar behaviors
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
Re: Shared charts and radar behaviors
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.