Make CarPrototype implement radar_range

pastelstoic
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Feb 04, 2025 7:34 pm
Contact:

Make CarPrototype implement radar_range

Post by pastelstoic »

Spider units can optionally have a built-in radar range, but cars and tanks cannot. Please allow non-spider units to have a radar. If possible, allowing this for trains would also be nice.
Genhis
Factorio Staff
Factorio Staff
Posts: 875
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: Make CarPrototype implement radar_range

Post by Genhis »

This already exists for all vehicles: chunk_exploration_radius
pastelstoic
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Feb 04, 2025 7:34 pm
Contact:

Re: Make CarPrototype implement radar_range

Post by pastelstoic »

I see. In that case, please add to the documentation that this field and radar_range have the same effect.
curiosity
Filter Inserter
Filter Inserter
Posts: 690
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Make CarPrototype implement radar_range

Post by curiosity »

Do note that it's the spider units (e.g. pentapods) that have radar_range. Spider vehicles have one and only chunk_exploration_radius, which is exactly how the vanilla defines it in its prototype code. There is no overlap.
pastelstoic
Burner Inserter
Burner Inserter
Posts: 19
Joined: Tue Feb 04, 2025 7:34 pm
Contact:

Re: Make CarPrototype implement radar_range

Post by pastelstoic »

...I may be stupid.
Bilka
Factorio Staff
Factorio Staff
Posts: 3647
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Make CarPrototype implement radar_range

Post by Bilka »

The descriptions were very lacking anyway, so I've expanded them for 2.0.69.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”