Page 1 of 1

Make CarPrototype implement radar_range

Posted: Sun Sep 21, 2025 2:32 pm
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.

Re: Make CarPrototype implement radar_range

Posted: Mon Sep 22, 2025 9:26 am
by Genhis
This already exists for all vehicles: chunk_exploration_radius

Re: Make CarPrototype implement radar_range

Posted: Mon Sep 22, 2025 3:49 pm
by pastelstoic
I see. In that case, please add to the documentation that this field and radar_range have the same effect.

Re: Make CarPrototype implement radar_range

Posted: Tue Sep 23, 2025 7:17 am
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.

Re: Make CarPrototype implement radar_range

Posted: Tue Sep 23, 2025 7:01 pm
by pastelstoic
...I may be stupid.

Re: Make CarPrototype implement radar_range

Posted: Thu Sep 25, 2025 1:29 pm
by Bilka
The descriptions were very lacking anyway, so I've expanded them for 2.0.69.