Page 1 of 1

Make player passive radar distance configurable

Posted: Sat Feb 23, 2019 8:08 am
by blankdiploma
It would be great if the player entity prototype supported something like the max_distance_of_nearby_sector_revealed property - or, even better, if this was modifiable on the LuaEntity at runtime.

Increasing the player's passive radar distance via event hooks is easy - decreasing it, however, seems to be impossible. (Please correct me if I'm wrong!)

I'm implementing smallish caverns and I would love to reduce the player's underground radar distance to something that doesn't instantly reveal the entire surface when you enter.