Code
max_distance_of_nearby_sector_revealed = 0 As you set this value to 0 the radar will reveal the chunk it stands in. Because I did not want that, I changed it to " -1 " and the fog of war was there.
Unexpected but it worked. Unfortunately that this leads to an error for mac user:
error on mac only
I am not a pro or even average in LUA but I tried all I could imagine.null, none, nan, nil (it is nil in lua i guess xD ) comment it out entirely. Nothing worked.
My questions:
- Is there a way to achieve the same result for mac users (fow in the chunk in that the radar stands)
- something like: If [usersystem] == [mac] do [..] else max_distance_of_nearby_sector_revealed = -1
- Is the part how the radar itself behave hardcoded in c++ ?
Where could I change e.g. to scan chunks anticlockwise or just straight up?